|
Posted by Bergamot on 02/15/07 01:42
geoff@iam.unibe.ch wrote:
>> Well you should use <table style="float: right;'> and not deprecated
>> <table align="right">,
>
> Thanks for the replies. Unfortunately the same problem exists when I
> use style-float instead of align-right!
That's because they are handled the same way, especially in quirks mode.
> z-index doesn't have any effect either.
z-index only affects positioned elements. Float isn't positioned by default.
> http://www.iam.unibe.ch/~geoff/minimal.html
Looks like a variation of the peek-a-boo bug to me. IE6 is badly broken
where it comes to floated elements, but 1 of 2 properties can usually
whip it into shape. You just need to trigger standards mode if you want
results comparable to Firefox or Opera. Use the right DOCTYPE,
preferably HTML 4.01 Strict.
Try adding to the floated element's rules:
position: relative;
If that doesn't work, try adding to the float or its parent container:
zoom: 1;
zoom is proprietary to IE. Other browsers will ignore it, which is very
handy.
For more fun with IE6 bugs, see:
http://www.positioniseverything.net/explorer.html
--
Berg
[Back to original message]
|