Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I override a CSS setting?

Status
Not open for further replies.

Ineedjava

Technical User
Apr 14, 2001
21
US
My CSS entries are listed in a single external file named styles.css

In that file, A:Link is given a color, font-size, etc.

In my HTML document, there is a special situation where I need to override the font-size assigned to a link.

I tried placing a <font size=&quot;-2&quot; > command in front of the link I want to change but it always defaults to the A:link value in the CSS.

Does anybody know how I can do an override?
 
<font size=&quot;2&quot;><a></a></font> will not work.

However, <a><font></font></a> will work. &quot;The surest sign that intelligent life exists elsewhere in the universe is that it has never tried to contact us&quot;
Bill Watterson, Calvin & Hobbes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top