How to right justify TOP menu

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"
Locked
n20capri

How to right justify TOP menu

Post by n20capri »

http://test.empx.net/cmsms/

So I want to right justify my top menu.  So I edited the CSS (Navigation ShadowMenu - Horizontal) and I changed float: left to float:right

Code: Select all

/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: right;
Now, this right justifies the menu but all the menu items are now in reverse order...How do I correctly right justify the top menu or correct the order they are now in??  If I just change their order under content > pages then they are in the wrong order in the footer!

Thanks,
Mike
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to right justify TOP menu

Post by Dr.CSS »

Notice the line above it says left to right comes from float:left, since it's a li float it starts at the top of the li, list, and floats it left to right, well it stands to reason if it's float:right the li/list will start at the top and float the items right to left...

Maybe you need to float something else to the right and not the li/list?...

My Alma Mater...

http://www.w3schools.com/default.asp
Locked

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