CSS: Overflow:hidden and position:relative

While writing an Ajax app that was supposed to collapse rows I came across this age old IE bug where the text on the cells I was laying out had relative positioning but were not cropped by the overflow hidden on their containing div.

I found this page useful

http://www.brunildo.org/test/OverflowR.html

But what actually fixed it was simply adding position:relative onto the div that had the overflow:hidden.

Advertisements