llamafier Posted December 31, 2006 Share Posted December 31, 2006 This is my first time working with CSS and I'm having some troubles with IE.http://www.llamaz.com/The main problem is the navigation area. I almost have it how I want it in Firefox but in IE it is completely different. Any ideas why it appears so much differently in IE? How can I fix this? Link to comment Share on other sites More sharing options...
vchris Posted December 31, 2006 Share Posted December 31, 2006 IE doesn't understand display: table-cell;What I would do is set a fixed size for each a tag. If your wrapper is 800 wide then make each nav link 200px wide. Link to comment Share on other sites More sharing options...
llamafier Posted December 31, 2006 Author Share Posted December 31, 2006 I removed table-cell and added this:#nav a { width: 175px;But its not even effecting it at all. What is wrong with that? Link to comment Share on other sites More sharing options...
jesh Posted January 2, 2007 Share Posted January 2, 2007 Typically, "a" elements are inline elements and you cannot specify a width for inline elements. More percisely, I suppose, you can specify a width but the browser will ignore it. You may have to set your a elements to block rather than inline: #nav a { disply: block; width: 175px;} Link to comment Share on other sites More sharing options...
vchris Posted January 2, 2007 Share Posted January 2, 2007 I guess the other option is to have your navigation in a list and then you could set widths. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now