[thelist] Problem with floats and spacers
Jon
jon at daemon.com.au
Thu Aug 22 01:32:01 CDT 2002
> > I'm using some floated divs nested in a container div,
> > with spacers above and below the floated divs. The problem
> > is that the spacer div is taking up space, and messing my
> > design. If i set line-height to 0px, it works well in most
> > browsers, but it breaks apart in IE5/Win. Setting the
> > spacer height to 0 doesnt work, either. Is there a way out?
I found the spacer div techinque to be a bit clumsy, so Im using
a normal div with content to provide the vertical layout control
I need in the background div.
That will only work if you have a good idea of how big it needs
to be ( which in my case I do ).
Jon.
More information about the thelist
mailing list