user176657
user176657

Reputation: 125

IE7 Bug where text gets cut off inside a child div

I have been struggling with this issue for a while. I have a problem with text inside a child div being cut off in IE7 or 8. Works fine in other browsers.

parent div - float left child div - no height, text gets cut off

I have tried a few hacks and methods I found googling but nothing works, please help!

Thanks

Upvotes: 0

Views: 3113

Answers (3)

James Munroe
James Munroe

Reputation: 31

Set the position style attribute of the parent div to relative in your IE style sheet and you should be home free.

Upvotes: 3

Solidariti
Solidariti

Reputation: 475

I had the same problem I found that a combination of clear:both and min-height:[whatever height you need]; worked for me.

Upvotes: 1

Richard
Richard

Reputation: 61

I ran into the same type of issue. My solution was to set a width on the parent div. Since I wanted it fluid I just set it to 100% and this caused the inner content to show back up.

Hope this helps.

Upvotes: 0

Related Questions