This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2004 > Opera 7.5/Safari float bug or my lack of Float understanding?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Opera 7.5/Safari float bug or my lack of Float understanding?
The Master

2004-07-19, 7:16 pm

Ok I went through and deleted code until I discovered the culprit. I
then went back to my original style sheet and removed the CSS
declaration that caused the floating to brake in safari 1.2. Once I
removed it, the floating worked as expected in safari, but broke it in
opera 7.5. The interesting part is the style declaration that causes
safari to brake is the declaration I had used to fix the bug in Opera
7.5 originally.

As far as I can tell its a bug since it seems to work as intended in,
Win IE 5.0-6.0, Firefox, Opera 4.0-6.0, mac IE 5.2, mozilla 1.0,
mozilla 1.4, and Netscape 6. And it doesn't matter if I have this css
declaration or not:

head:first-child+body #bc ul { width:72%; }

Granted some of that has to do with the notion that a couple of those
browsers don't support the sudo-class :first-child, which is why I
used it to fix the bug in opera 7.5. If I had just used #bc ul
{width:72%} it would cause it to brake in opera 4.0-6.0.

So does this have to do with my lack of understanding of how floats
are supposed to work or did I find a bug in both Safari 1.2 and Opera
7.5?


Here is the test page:
http://www.goldhilmedia.com/showbug/showbug.html
http://www.goldhilmedia.com/showbug/css/showbug.css

Sincerely,
The Master
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews