|
Yup. All you need to do is learn how to write CSS rules properly. The basics are:
div { }
Applies to all HTML DIV tags
#Navigation { }
Applies to the single element with id="Navigation". (You can't give 2 elements the same ID)
.SomeStyle { }
Applies to all elements with class="SomeStyle" - You can give any number of elements the same class. You can give one element multiple classes by seperating them with spaces, i.e. class="Style1 Style2"
You can combine the selectors too:
div.MyStyle { }
will apply to only DIVs that have a calss of MyStyle i.e.
<div class="MyStyle"></div>
But not:
<p class="MyStyle"></p>
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|