Reputation: 125
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
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
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
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