On 2008-03-30, Michael R. Copeland <mrc2323@cox.net> wrote:
> How do I override the usage of a CSS declaration that's used in a
> different way? That is, I want to use the <a..../a> in 2 ways:
> initially as horizontal (menu) links, but later as a link to a document
> (Word, PDF, etc.). Following is code that illustrates what I'm trying
> to do:
Use classes.
a.foo { color: black }
a.bar { color: red }
<a class="foo">...
<a class="bar">...
>
><style type="text/css">
> a {width:9em; text-decoration:none; color:black;
> background-color
range; padding:0.2em 0.6em;}
No point setting width on an inline element-- it;s ignored.