[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - How to align the menu to the right
Page 1 of 1

How to align the menu to the right

PostPosted: Fri Feb 10, 2006 8:42 pm
by bakaith

PostPosted: Fri Feb 10, 2006 8:46 pm
by Batalf

PostPosted: Fri Feb 10, 2006 9:11 pm
by bakaith

PostPosted: Wed Feb 15, 2006 9:05 pm
by bakaith

PostPosted: Wed Feb 15, 2006 9:59 pm
by Batalf

PostPosted: Sat Mar 11, 2006 11:12 pm
by yoni
Hi,

Same question for the XP tabs with a twist.

I also need to right align the tabs, so I changed the value of the startPos variable. It works great for static tab names. However, my tab names are dynamic.

so this:
___________________________________menu 1 | menu 2 | menu 3___
becomes this:
___________________menu 1' | menu 2' | menu 3'__________________

Is there a way to calculate at run time the total widths of the tab names?
If so, I can set the startPos to total_width - tab_names_width and the problem is solved.

Any ideas?