|
|
 |
RE: FN-FORUM: FW: Could be a CSS thing?
date posted 17th May 2006 16:17
What are you talking about, I don't use Dreamweaver, never have never =
will.
My suggestion to using absolute positioning was intended as general =
advice
on page layouts.
I think you need to learn what you are talking about before you write
anything, I hand code all my CSS and am fully certified to do so.
As you said yourself "divs do not have to be "inside" each other -
semantically they just mark out sections on the page..." I never said =
that
divs should be inside each other, but if you position anything inside a =
div
it should be with a SPAN, as I said before a span is an empty unknown =
object
to the browser, a div by default is known and with inherit properties =
from
it's parent.=20
Div's are page elements and not just for marking out the page, that is =
what
the use of z-index and float, clear and such are used for, as DIV are =
known
to people like myself "who know what they are talking about" as layers. =
In
English they are the layers of the DOM on the page, and no I am not =
going to
tell you what the DOM is, if you don't know, well...
I have to say you comment " That's not terribly good advice..." is way
outside the realms of good forum behaviour.
We are all playing in the same game hear, the forum is meant to be an =
aid
for us all to help each other and make this life of development a little
more acceptable. Each time I come across a know it all like you I just =
think
why are you even on this planet!!!!!!!!!!!!
Online Document Management - http://www.file-manager.co.uk =20
Web Application Development - http://www.potissimus.co.uk
CONFIDENTIALITY NOTICE
This Email is confidential and may also be privileged. If you are not =
the
intended recipient, please notify the sender IMMEDIATELY and DELETE all
traces of this mail from any related computers; you should not Copy the
email or use it for any purpose or disclose its contents to any other
person. Any statements made, or intentions expressed in this =
communication
may not necessarily reflect the view of Potissimus Limited. .E&EO. This
Email has been fully checked for all known viruses prior to delivery,
although it is recommended that addressees check this E-mail for =
viruses.=20
=20
=20
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Tony
Crockford
Sent: 17 May 2006 16:58
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: FW: Could be a CSS thing?
Sean J Connolly wrote:
> You need to put the layers inside each other particularly the BoxTop =
and
> BoxMid classed layers, also a note when using layers you should really =
use
> SPAN's inside DIV's not DIV's inside DIV's, as span have not inherent
> formatting where as divs do.
>=20
> The alternative is to position everything absolutely and set a z-index =
for
> each item.
That's not terribly good advice...
I suspect it's from a dreamweaver user's perspective?
divs do not have to be "inside" each other - semantically they just=20
mark out sections on the page...
spans are inline elements and div's are block level elements, and if=20
the have "inherent" formatting it's coming from that fact alone...
positioning everything absolutely is a very unfriendly way of doing=20
things and almost certain to break...
I think your advice is probably more confusing than helpful, but fair=20
play for trying.
;o)
--=20
Join me: http://wiki.workalone.co.uk/
Thank me: http://www.amazon.co.uk/gp/registry/1VK42TQL7VD2F
Engage me: http://www.boldfish.co.uk/portfolio/
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|