PDA

View Full Version : Tab Content Script Help



webmistressk
12-11-2006, 05:42 AM
1) Script Title: Tab Content Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem: I need the tabs and the box itself to be right aligned. Can someone help me with this ??

The URL where I have them placed is: http://www.jarodsafehouse.com/_testsite/ (http://www.jarodsafehouse.com/_testsite)

jsh

ddadmin
12-11-2006, 11:47 AM
Inside tabcontent.css, just change the line:


text-align: left; /*set to left, center, or right to align the menu as desired*/

to:


text-align: right;

webmistressk
12-11-2006, 12:51 PM
Thank you.

I tried that after posting but didn't get the desired effect (it went too far to the right). Any other suggestions?

jscheuer1
12-11-2006, 01:10 PM
Thank you.

I tried that after posting but didn't get the desired effect (it went too far to the right). Any other suggestions?

Using text-align:right; will put it 'all the way' to the right of an element that is (by default) width:100%. If you were to add a width value, that would modify it, ex:


text-align:right;
width:475px;