Xerxes Posted September 14, 2006 Share Posted September 14, 2006 Hello,I am working on a website for walkerracing.com and I can't get this nav to work correctly.http://www.whitedrake.com/spinweb/projects...cing/index.htmlThe black box should be centered and it goes below each link. I am sure you can see what I am talking about. Does anyone know how to fix that problem? Thanks a lot. Link to comment Share on other sites More sharing options...
aspnetguy Posted September 14, 2006 Share Posted September 14, 2006 Hello,I am working on a website for walkerracing.com and I can't get this nav to work correctly.http://www.whitedrake.com/spinweb/projects...cing/index.htmlThe black box should be centered and it goes below each link. I am sure you can see what I am talking about. Does anyone know how to fix that problem? Thanks a lot.the layout is a bit messed up in Firefox too. Link to comment Share on other sites More sharing options...
Xerxes Posted September 14, 2006 Author Share Posted September 14, 2006 the layout is a bit messed up in Firefox too.The layout is messed up in firefox? The layout looks fine to me in firefox, but not in IE yet. I can't get the nav to work correctly in either browser though Link to comment Share on other sites More sharing options...
Err Posted September 14, 2006 Share Posted September 14, 2006 I think he was talking about the navigation. I also see it missed up in Firefox. #smenu1, #smenu2, #smenu3, #smenu4, #smenu5, #smenu6 {font-size:10px;color:#FFFFFF;background-color:#000000;position:absolute;width: 750px;left: 4px;} Try that CSS code. You have your position to absolute and are displaying the content you're using in dd ul and li tags, perhaps that's what is throwing you off. I added left: 4px; to you CSS code above, try it see if that helps out. Link to comment Share on other sites More sharing options...
Xerxes Posted September 14, 2006 Author Share Posted September 14, 2006 I think he was talking about the navigation. I also see it missed up in firefox.#smenu1, #smenu2, #smenu3, #smenu4, #smenu5, #smenu6 {font-size:10px;color:#FFFFFF;background-color:#000000;position:absolute;width: 750px;left: 4px;} Try that CSS code. You have your position to absolute and are displaying the content you're using in dd ul and li tags, perhaps that's what is throwing you off. I added left: 4px; to you CSS code above, try it see if that helps out. That left justified it. (above link updated) Since it is an "absolute" position... I think that is why it didn't left justify it within the div. Still can't figure out how to get it centered though Link to comment Share on other sites More sharing options...
aquatsr Posted September 14, 2006 Share Posted September 14, 2006 Your actual navigation text is centered but the div, or whatever it is, is aligned left... at least in Firefox 1.5 Link to comment Share on other sites More sharing options...
Xerxes Posted September 15, 2006 Author Share Posted September 15, 2006 Your actual navigation text is centered but the div, or whatever it is, is aligned left... at least in Firefox 1.5yeah, the position on it is absolute. I tried to make it a different position, but it just messes up the nav. It is aligned to the left because RahXephon suggested to put the "left: 4px" in there.Is it possible to make the position other than absolute without it getting messed up? Link to comment Share on other sites More sharing options...
aquatsr Posted September 15, 2006 Share Posted September 15, 2006 yeah, the position on it is absolute. I tried to make it a different position, but it just messes up the nav. It is aligned to the left because RahXephon suggested to put the "left: 4px" in there.Is it possible to make the position other than absolute without it getting messed up?I doubt it. I'm guessing you're going to have to adjust the absolute setting and tweak your site accordingly. Link to comment Share on other sites More sharing options...
Xerxes Posted September 15, 2006 Author Share Posted September 15, 2006 I doubt it. I'm guessing you're going to have to adjust the absolute setting and tweak your site accordingly.How would I adjust it to work correctly though? Link to comment Share on other sites More sharing options...
Xerxes Posted September 15, 2006 Author Share Posted September 15, 2006 I got it fixed. A designer at my office helped me out with it. Now, I just need to get everything to display correctly in IE 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