views:

191

answers:

1

hi,

in ie7 if you put a floated element inside a floated element to the same side the inside element just pushed far away outside the container element to the direction of the float.

consider this code

<div style="float: right">
<div style="float: right">
    some text
</div></div>

any solution for this bug??

A: 

I tested with the given code in ie7, the text "some text" went to the right end only. U can try with padding or margin.

joe
i didn't quite understood you'r answer i"m afraid, tho one thing i notes is that the bug only triggered when the HTML tag is set to dir="rtl"
Gilad