![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Just curious if people (dis)agree that this code is sound and Safari and Opera are wrong. |
#4
| |||
| |||
|
|
While working on <http://www.lotzofmusic.com/> I ran into some issues with overflow (the decorative fishes). It seems to me the construction is sound, yet Safari ignores the overflow:hidden. At first glance it appeared that this is related to the fact that the SPANs contain only a background image and have a defined width & height, but no: I put up a simplified test-case at http://santek.no-ip.org/~st/tests/CSS/overflow_hidden.php>, where the SPANs *do* contain content and no background image. iCab 3.0, Mozilla 1.7.5 and even Mac IE 5.2.3 and *even* Win IE 5.5! understand it. Defining the SPANs' width appears to be needed only by Opera (7.5.4, Mac). Just curious if people (dis)agree that this code is sound and Safari and Opera are wrong. |
#5
| |||
| |||
|
|
On Sat, 25 Dec 2004 23:10:00 +0100, Sander Tekelenburg user (AT) domain (DOT) invalid> wrote: While working on <http://www.lotzofmusic.com/> I ran into some issues with overflow (the decorative fishes). It seems to me the construction is sound, yet Safari ignores the overflow:hidden. |
Which is the correct behaviour in both|
The test-case behaves exactly like you describe (and like Firefox behaves) in my WinOpera 7.54. Same for the fishes (but they show up randomly, right?). |

|
Opera 7.5x indeed needs defined widths for floats inside floats, a bug that will be fixed in Opera 8. |

#6
| |||
| |||
|
|
Just curious if people (dis)agree that this code is sound and Safari and Opera are wrong. I'll write an article about this bug next week. |
#7
| |||
| |||
|
|
On Sat, 25 Dec 2004 23:10:00 +0100, Sander Tekelenburg user (AT) domain (DOT) invalid> wrote: While working on <http://www.lotzofmusic.com/> I ran into some issues with overflow (the decorative fishes). It seems to me the construction is sound, yet Safari ignores the overflow:hidden. Well, that is to say, I just noticed that when I remove the float:left from the enclosing DIVs, suddenly Safari and even Mac IE 5.2.3 and Win IE5.5 behave they way I hoped for (except for the hover effect, but that's secundary), Mozilla still does too, but then Opera 7.5.4 and iCab 3.0 don't... They only the first DIV, and show white space in the place of subsequent DIVs. See <http://santek.no-ip.org/~st/lom/> (where the only difference is that the SPANs' enclosing DIVs have no float:left.) |

![]() |
| Thread Tools | |
| Display Modes | |
| |