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


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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s