468,133 Members | 1,420 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

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

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
Here is the test page:

The Master
Jul 20 '05 #1
0 2110

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by The Master | last post: by
6 posts views Thread by Sander Tekelenburg | last post: by
9 posts views Thread by Henri Sivonen | last post: by
7 posts views Thread by Sander Tekelenburg | last post: by
11 posts views Thread by listerofsmeg01 | last post: by
6 posts views Thread by Wouter | last post: by
6 posts views Thread by BMc | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.