Menu help with css horiz?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Menu help with css horiz?

Post by duplay »

My menu covers the side black page border in firefox, but not in explorer. is their any way to adjust this, so the black vertical line of the page shows to the left like it does to the right of the menu?



[attachment deleted by admin]
Last edited by duplay on Thu Jul 27, 2006 3:26 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: How do I move my CSS Horiz menu to the right a bit?

Post by tsw »

without checking your code I would say

Code: Select all

ul#primary-nav {
margin-left:10px;
}
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Side of menu overlaps page in firefox.

Post by duplay »

I have made the changes stated above, and all looks good. However, I have a small space added to the top of the horiz menu (you can see it right above the darker grey rollover color of the page you are currently on. Is their a adjustment to get rid of this? Make the grey rollover bigger perhaps?

[attachment deleted by admin]
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Menu help with css horiz?

Post by tsw »

would be better to give url so we can check what your code has (or lacks ;)
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Menu help with css horiz?

Post by duplay »

tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Menu help with css horiz?

Post by tsw »

You have:

Code: Select all

#primary-nav, #primary-nav ul { 
	list-style: none; 
        margin: 1px; 
	padding: 0px; 
	}
change it to:

Code: Select all

#primary-nav, #primary-nav ul { 
	list-style: none; 
        margin:0;
        margin-left: 1px; 
	padding: 0px; 
	}
hope this helps
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: Menu help with css horiz?

Post by duplay »

SWEET! that did it! thanks for the help!
Post Reply

Return to “Layout and Design (CSS & HTML)”