Why is it so?

Jan 25, 2008 15:25


Is this a bug in Firefox? A simple page with a float: left div followed by another div meant to line up with it - i.e. a CSS alternate to a table.  The float: left div has some mysterious padding added to the top and bottom which you can see if you add a border.  It all works normally in IE.  Very peculiar and time-wasting.  Especially since I ( Read more... )

Leave a comment

Comments 2

zinear January 25 2008, 04:31:59 UTC
It's because the
tags automatically have a margin added to them in Firefox. Safari also does the same thing. I thought IE did it as well, but apparently not in this case. Weird.

Yahoo's design pattern library has a stylesheet that standardizes all these little quirks that occur when browsers render tags differently by default.

Reply

zinear January 25 2008, 04:32:19 UTC
Rather, that should read:
'It's because the
tags...'

Reply


Leave a comment

Up