467,161 Members | 1,050 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

Font Style Not Working...

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">
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
  • viewed: 1455
3 Replies
Expert 2GB
"font" is the shot-hand property, change it to "font-family" and see if that helps.
Apr 17 '07 #2
"font" is the shot-hand property, change it to "font-family" and see if that helps.
worked perfectly! thanks!
Apr 17 '07 #3
Expert 2GB
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.

Similar topics

4 posts views Thread by Clive Everett | last post: by
3 posts views Thread by CSS problem | last post: by
13 posts views Thread by al jones | last post: by
10 posts views Thread by Andrew Poulos | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.