Problem with IE... I know, surprise, surprise...

Permalink
Hi,

I'm building a site in Concrete5 and I'm having a problem with IE displaying the page slightly different from other browsers. I've found the culprit and it's in my css. It's the following line:

div.spacer,div.ccm-spacer{ clear:both; font-size:1px; line-height:1px }

The problem is of course the "clear:both" bug in IE.
Does anyone have a good way around this?? It's messing with my design because when viewed in IE it leaves out the space caused by the spacer and it's not cool...

Any help would be greatly appreciated!

 
shadowcomputers replied on at Permalink Reply
shadowcomputers
Can you provide a URL so we can see the HTML and CSS?
mkly replied on at Permalink Reply
mkly
I'm sure an actual web designer will chime in, but if I remember right this was either setting the parent div to
parent: relative
or
height: 100%
or set the space div to
display: inline-block;

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.