HTML <font> Tag

dwarfdude77

In Runtime
Messages
270
Location
USA
How can I do the same thing in CSS without using the <font> tag?

Code:
<td> <a class="topBar" href=""> <font onmouseover="this.color='#000000'"onmouseout="this.color='#ffffff'"> Home </font</a></td>
 
Use the hover attribute

Code:
.topbar:hover { color:#000000; }
.topbar { color:#ffffff; }
 
Pffff who codes for IE these days.... :tongue:
I'm so thankful I'm not a full time web dev
 
Pffff who codes for IE these days.... :tongue:
I'm so thankful I'm not a full time web dev

I have to code for IE still :(.

It's our official browser at work - plus the general public still uses IE a lot. So I have to do a lot of cross-browser checking. Good thing we have access to BrowserStack, so I can test in all the popular browsers (and all their versions). PC, Mac, Mobile (Android/iOS).
 
Oh I know... It felt weird that my old job moved to Chrome. Government is like.. ran on IE :tongue:
My current job uses Chrome.. as expected :tongue:
 
Oh I know... It felt weird that my old job moved to Chrome. Government is like.. ran on IE :tongue:
My current job uses Chrome.. as expected :tongue:

Lol yeah, we're primarily a M$ place (.NET for development, SQL Server, IIS, etc.).
 
Back
Top Bottom