FIRSTLY - MAJOR issue - horizontal navigation with a logo in the center looks okay in all browsers, except IE 9 - I have tried everything and I can't seem to fix it. I need it to be centered and horizontally aligned. Ideally manage to even the white space between li's as it renders in Chrome. It's killing me and I really need to finish the website asap.
SECONDLY All content in IE 9 appears in italics????? I have not specified font-style in body, only for certain elements. Does anyone know how to fix it?
I fired up a clean instance of IE9 in a virtual machine running a clean install on Windows 7, and it looks identical to what I see in the latest versions of Chrome and Firefox on Mac OS X (Mountain Lion).
To fix the white-space, you can do one of two things—add HTML comments between your li elements, like so:
I took the liberty of redoing the page. You've used far too many ids and classes. My markup could use even further refining, but I just wanted to quickly show how this could be done.
you've got a few errors - you're missing the closing div tag for the #sidebar, which then places the footer within it. The .testimonial div is missing a bracket, and a break tag in the header is malformed.
Hey guys,
This is the website I'm working on at the moment ( & obiviously my first ) :
Gardening Website
FIRSTLY - MAJOR issue - horizontal navigation with a logo in the center looks okay in all browsers, except IE 9 - I have tried everything and I can't seem to fix it. I need it to be centered and horizontally aligned. Ideally manage to even the white space between li's as it renders in Chrome. It's killing me and I really need to finish the website asap.
This is the CSS for it:
SECONDLY All content in IE 9 appears in italics????? I have not specified font-style in body, only for certain elements. Does anyone know how to fix it?
I would really appreciate some help!
Thank you
I fired up a clean instance of IE9 in a virtual machine running a clean install on Windows 7, and it looks identical to what I see in the latest versions of Chrome and Firefox on Mac OS X (Mountain Lion).
To fix the white-space, you can do one of two things—add HTML comments between your li elements, like so:
Or you can set
font-size:0;on theuland then add it back on theli.or use floats... http://codepen.io/wolfcry911/full/lFLvH
I took the liberty of redoing the page. You've used far too many ids and classes. My markup could use even further refining, but I just wanted to quickly show how this could be done.
Thank you @wolfcry911, much appreciated. I'll try it out.
Hey @wolfcry911 , everything looks great but I don't really get how this code :
actually aligns the footer on the left. I tried doing it but it doesn't come out like yours?
you've got a few errors - you're missing the closing div tag for the #sidebar, which then places the footer within it. The .testimonial div is missing a bracket, and a break tag in the header is malformed.