Re: FN-FORUM: CSS Madness
date posted 20th February 2008 10:36
On 20 Feb 2008, at 11:30, dean wrote:
>
>
> Is there anyway to fix the bugs you've mentioned? I know you've got
> lots of
> resource links for these things, so if you have one handy, that
> would be
> much appreciated.
I took a look in IE6 and I can't even see the skyscraper....
;)
however you probably have a width problem - try adding display:inline
to any floated div that has a defined width.
I see div centre has that too...
IE has an issue with width defined floated divs, sometimes doubling
margins, sometimes adding 3px to the width of the div.
if all your div widths are tight, then there won't be room for floats
to sit alongside each other...
my usual curing float drops link is broken, but you might find
something here:
(new sitepoint CSS reference)
http://reference.sitepoint.com/css
or here:
http://crowstoburnaby.com/index.php/2005/02/07/fixing_the_pc_ie_float_drop_bug
but before you try hacking, try display:inline and check widths of
everything - make them all a bit narrower to test, add borders to
visualise...
hth