Align simple horizontal navbar right instead of left?
Posted: Sun Oct 29, 2006 5:42 pm
Hi there,
I'm running CMSMS 1.02 on Apache 2.0.54, PHP 4.3.10 and MySQL 4.1.11.
I'm trying to modify the Navigation: Simple - Horizontal stylesheet, så the entire navbar is aligned with the right side of the #pagewrapper div. I was thinking of using float:right. However, adding float:right to the div#menu_horiz does nothing in IE and Firefox. Adding it to div#menu_horiz ul works fine in IE, but the bar disappears in Firefox. Changing the float value in div#menu_horiz li from left to right works, but the menu items are listed in reverse order, so that's also a no go. I also tried using a div around various elements, but to no avail.
Do I have to change the simple_navigation.tpl? I was hoping I wouldn't have to.
Anyone?
I'm running CMSMS 1.02 on Apache 2.0.54, PHP 4.3.10 and MySQL 4.1.11.
I'm trying to modify the Navigation: Simple - Horizontal stylesheet, så the entire navbar is aligned with the right side of the #pagewrapper div. I was thinking of using float:right. However, adding float:right to the div#menu_horiz does nothing in IE and Firefox. Adding it to div#menu_horiz ul works fine in IE, but the bar disappears in Firefox. Changing the float value in div#menu_horiz li from left to right works, but the menu items are listed in reverse order, so that's also a no go. I also tried using a div around various elements, but to no avail.
Do I have to change the simple_navigation.tpl? I was hoping I wouldn't have to.
Anyone?