PDA

View Full Version : Tab Content Script - changing bg color



Butterfly7483
04-30-2007, 09:12 PM
1) Script Title: Tab Content Script

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

3) Describe problem: How do you change the background color of the content area? I don't want a plain white background and don't see a place in the CSS file to change it. :confused:

Thanks!:)

jscheuer1
04-30-2007, 09:35 PM
In tabcontent.css (near the end) add:


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


You can use any valid css color value.

Butterfly7483
05-01-2007, 12:50 AM
Great thanks it worked!:)