By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

Font Style Not Working...

chunk1978
100+
P: 224
hey... i'm trying to write some HTML without using a CSS Style list in the page head... but the font i'm writing in doesn't seem to be working as the web browser will just display the font as the default font for the browser... the color and size works though, but not the font itself... here is my code:

Expand|Select|Wrap|Line Numbers
  1. ... style="font:Verdana; font-size:12px; color:#999999; text-align:justify">
  2.  
i want it to display in verdana font, but it's displaying in Times font (default browser font)... the code begins with a "..." because the style is on lots of tags... like "<TD STYLE..." or "<TABLE STYLE..." or "<DIV STYLE..."... i think you get it...

so any ideas why the browser is ignoring my font and using the default browser font instead?
Apr 17 '07 #1
Share this Question
Share on Google+
3 Replies


KevinADC
Expert 2.5K+
P: 4,059
"font" is the shot-hand property, change it to "font-family" and see if that helps.
Apr 17 '07 #2

chunk1978
100+
P: 224
"font" is the shot-hand property, change it to "font-family" and see if that helps.
worked perfectly! thanks!
Apr 17 '07 #3

KevinADC
Expert 2.5K+
P: 4,059
oops, I meant to say "short-hand" property, not "shot-hand".
Apr 17 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.