Basically I am encountering a positioning issue in IE with the upper nav div that in fine in all other browsers except IE. The upper nav is the same width as the bottom header image but in IE the last nav button wraps around underneath the nav div.
Also having trouble figuring out why some of the textual elements on the page float outside their respective divs in IE -ugh.
Someone had mentioned implementing a browser detection css file, I have never really used one before – any ideas on a fix would be greatly appreciated.
I am not seeing a problem in IE8, except that that nav doesn’t line up on the right side, with the slider below. It does however line up in compatibility mode (does not line up in Chrome so I’m not sure what you intended). Also the slider has a png transparency problem on the “Home is where the heart is” slide in IE.
First things first!
I see that you have applied set of 2 stylesheets containing same code. It’s just that 1 is minified. Just keep 1 stylesheet reference – preferably the minfied version.
I also observed that you have not applied CSS-Reset code. If you’re not aware of CSS-Reset, just google it. You’ll get many flavours of CSS-Reset. Simply put that code in the starting part of your main stylesheet. CSS-Reset will solve more than half of your IE problems and you’ll get cross-browser consistency for most of the part.
Please note that you might need to re-style few or many elements after putting the CSS-Reset style.
Various browsers render text a little different. In this case, the text in the buttons is shown larger in IE than in other browsers, even though it’s both set at 15px. However, the fact that the font family is set to “serif” isn’t helping (not a standard font so will revert to the very basic Times New Roman).
I’d say there’s 2 ways of fixing this.
1. Use a conditional style sheet for IE, where the font is set to 13 pixels.
2. Give each button a specific fixed width in pixels.
I personally prefer the second one, as it will eliminate the whole browser incompatibility thing (not just IE) and so the buttons will always be the exact same width in every browser.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".