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!
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!
Can you provide a URL so we can see the HTML and CSS?
I'm sure an actual web designer will chime in, but if I remember right this was either setting the parent div to or or set the space div to
parent: relative
height: 100%
display: inline-block;