IE issue with my headings

Hi guys,

Here is the link it looks great in Firefox but in IE, the headings are right snug with the navigation, how can I fix this…

http://david-mitchell.ca/about/david-mitchell/

Also in Firefox my blog heading look perfect but in IE it doesnt show the notepad icon next to it, check and see these two pages…

http://david-mitchell.ca/whats-new-in-ward-11/

http://david-mitchell.ca/category/blog/

Thanks,

Mike

I haven’t checked deep in your code yet but it looks like you are relying on the default margins for your h2 title. IE doesn’t apply top margins by default but all other browsers do.


[B].entry h2.title{margin-top:.8em}[/B]

This will apply to other elements such as all headings,p,ol,ul etc.

IE just applies a bottom margin and most browsers apply a top and bottom margin by default. Note that the margin amounts vary wildly by browser so you should set them explicitly to your needs.

For the missing image you will need haslayout on the element.

e.g.


h2.entry-title{min-height:0}/* ie7*/
* html h2.entry-title{zoom:1.0}/* ie6*/

Thanks PAul,

I sent the min-height:0 in my ie7 css but now take a look the g’s, p’s etc are getting cut off in IE7, any reason why?

I just checked all 3 pages in IE7 and compared to FF…I didn’t see anything being cut off? Which page and where are you seeing it exactly?

Yes I can see it and it seems to be that you haven’t allowed enough line-height on the h2.

Try this.


h2.entry-title {line-height:1.1}


Perfect thanks :slight_smile: