PDA

View Full Version : Tab Content Script Help



tiffhannah
07-06-2007, 02:04 PM
1) Script Title: Tab Content Script

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

3) Describe problem:

I would really like to use the Tab Content Script on my site to show important information for my visitors but I would like it to stay the same height whenever they click on a different tab so my site will NOT move around.

How do I change it so it all just one height?

ddadmin
07-06-2007, 07:42 PM
Just modify the CSS for "tabcontentstyle" inside your .css file so it contains a height attribute that accomodates the longest content within your tabs:


.tabcontentstyle{ /*style of tab content oontainer*/
border: 1px solid gray;
width: 450px;
height: 600px;
margin-bottom: 1em;
padding: 10px;
}