PDA

View Full Version : tab content script v2 - tab width



brnmtf
11-22-2007, 08:54 AM
1) Script Title: tab content script v2

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

3) Describe problem: hello all! question: how to make each tab (not tab content box) to be different size (in pixels preferably).

I tried to make it within stylesheet document - it didn't worked. I tried to put css style straight on document - it didn't worked. well, I'm a newbie in coding so not a surprise that it didn't worked for me :o

i tried to put second class here:
HTML:
<li><a href="#" rel="tcontent1" class="selected tab_width">Tab 1</a></li>

CSS:
.tab_width { width: 200px; }


and second thing - if Java and Javascript is turned off on browser - it doesn't show anything. any thoughts how to make show content of all tabs in a list?


any help would be appreciated. thank you!