Page 1 of 1

How to right justify TOP menu

Posted: Fri Jul 24, 2009 2:22 pm
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

Re: How to right justify TOP menu

Posted: Fri Jul 24, 2009 6:22 pm
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