Hello All,
This might be a dumb question but I don't really know how to search
correctly in google for my answer.
Is it possible that any anchor inside a DIV will inherit all the properties
from the DIV?
For example
/***
CSS
**/
#idName {
font-family: Verdana;
}
a.idName:link {
color: FFF;
}
a.idName:visited {
color: #FFF;
}
a.idName:hover {
color: #FFF;
}
a.idName:active {
color: #FFF;
}
<!-- HTML -->
I would like to declare all id once and be done with it.
<div id="idName"><a href="index.html" >Home</a><a href="sub1.html"
>Sub1</a></</div>
As it is right now I have to declare the class to each anchor usage:
<div id="idName"><a href="index.html" class="footer">Home</a>"><a
href="sub1.html" class="footer">Sub1</a ></div>
I hope anyone can understand my question and let me know if it is possible.
I believe it is but I just don't know how exactly declare my classes.
Thank you!
...helmut
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************