simple problem ( I hope)
I have a div:
with css:
.break{position:relative;height:1px;background-color:#555555;margin:5px 10px 10px 10px;}
This div shows up as a line about 10-20px thick in IE 6??? …works fine in any other browser
any tips would be appreciated,..thanks..
Andrew
setting
to .break should solve the problem.
IE just reserves minimal space for content (the space reserved equals line-height or font-size set for this elements – don’t remember exactly). In all other browsers, if there isn’t enough space, the content flows out of the container. IE stretches the container. So, setting the overflow to hidden solves the problem.