otnj2ee
08-16-2007, 10:55 PM
For a test.css file which contains:
[1]
#tabs_1{
color:#333;
}
--Does this mean the said color applies to all the elements within the
<div id="tabs_1">... </div>?
[2]
#tabs_1 .selected_tab {
background-position:0 -100px;
border-width:0;
}
--Does this mean the said properties apply to all the elements within the
<div id="tabs_1"> and the class="selected_tab"
<div id="tabs_1">
<div class="selected_tab">aaaaa</div>
<div class="selected_tab">bbbbb</div>
<div class="selected_tab">ccccc</div>
</div> ?
[3]
tabs_1 .selected_tab a {
background-position:100% -100px;
padding-bottom:10px;
}
--Does this mean the said properties apply to all the <a> within the
<div id="tabs_1"><div class="selected_tab">
<a>1111</a>
<a>2222</a>
<a>2</a>
</div>
</div>
Thanks
Scott
[1]
#tabs_1{
color:#333;
}
--Does this mean the said color applies to all the elements within the
<div id="tabs_1">... </div>?
[2]
#tabs_1 .selected_tab {
background-position:0 -100px;
border-width:0;
}
--Does this mean the said properties apply to all the elements within the
<div id="tabs_1"> and the class="selected_tab"
<div id="tabs_1">
<div class="selected_tab">aaaaa</div>
<div class="selected_tab">bbbbb</div>
<div class="selected_tab">ccccc</div>
</div> ?
[3]
tabs_1 .selected_tab a {
background-position:100% -100px;
padding-bottom:10px;
}
--Does this mean the said properties apply to all the <a> within the
<div id="tabs_1"><div class="selected_tab">
<a>1111</a>
<a>2222</a>
<a>2</a>
</div>
</div>
Thanks
Scott