Internet Explorer 6 and 7: floated elements expand to 100% width when they contain a child element floated right. Is there a workaround?

后端 未结 8 883
滥情空心
滥情空心 2020-12-13 06:43

I\'ve got a parent div floated left, with two child divs that I need to float right.

The parent div should (if I understand th

8条回答
  •  囚心锁ツ
    2020-12-13 07:05

    What about using a single-cell table instead of the outer div? It may need some more work to have everything aligned properly, but the table doesn't expand.

提交回复
热议问题