On the page, I use tabstrip with my own style sheets. This tab is written using div and anchors.
I add some other divs to the tabs, but they inherit the stylesheet from the outer tab. This new divs has its own css classes.
Here is my question, is there any way to break this inheritance without changing the css structure?
CSS Tab Styles:
div.tabs { padding: .5em; } div.tabs div.tabs { padding: 0; } div.tabs div.tabs div { clear: left; height: 4em; padding: .5em; border: 1px solid #003366; }
Newly added divs use the following classes:
.graphTextItem{ font-family:sans-serif; font-size:12px; border: solid 1px #78ACFF; text-align:center; width:150px; } .graphImageItem{ border-left: solid 1px #78ACFF; border-right: solid 1px #78ACFF; text-align:center; height:70px; }
html css stylesheet
Canavar Apr 14 '09 at 12:33 2009-04-14 12:33
source share