|
|
 |
Re: FN-FORUM: FW: Could be a CSS thing?
date posted 17th May 2006 15:58
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.
>
> 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
mark out sections on the page...
spans are inline elements and div's are block level elements, and if
the have "inherent" formatting it's coming from that fact alone...
positioning everything absolutely is a very unfriendly way of doing
things and almost certain to break...
I think your advice is probably more confusing than helpful, but fair
play for trying.
;o)
--
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/
|
 |
|