CSS label for tabs affects outer label -
http://jsfiddle.net/ol49dz3p/3/
<label>stuff tab one</label>
in above example, tabs label has style. , want generic label within tab content different style. generic label gets same style tab label. how escape style that
any suggestions?
give label class or id name <label class="innerlabel">stuff tab one</label>
then overwrite undesired css getting .tab, .tabs or .content using .innerlabel class name.
.innerlabel{ position:static; margin:0; color:red; }
the label take on properties of innerlabel class , overwrite properties tabs class. "undo" css tabs, tab, content or other class, overwrite undesired properties , change them whatever you'd like.
Comments
Post a Comment