开发者

Make container overflow its parent without making the parent bigger in IE 6?

I used the three column layout in A List Apart's "In Search of The Holy Grail" article for a store I'm working on that uses Magento. Inside the middle column, at the top, there's a container that I would like to overflow so it extends outside the middle column and goes over the top of the right column. Like below开发者_开发问答.

_______________________________
|     |                       |
|     |  Middle/Top           |
|Left |_______________________|
|     |                 |     |
|     |  Middle/Main    |Right|
|_____|_________________|_____|

The way I've got it works fine in all modern browsers, but in IE 6 the overflowing Middle/Top section causes the width of the Middle/Main section to expand an contain it.

Does anyone know of a way to fix this?


The issue I see in IE6 is that the #sub-content and #sidebar are in the wrong place, horizontally. Try making a minimal test case and compare your structure and styling to the Holy Grail structure and styling. One difference is you've swapped the left and right columns (#sidebar should come before #sub-content). Fix that to start.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜