Drycodez 4 Posted November 7, 2010 Report Share Posted November 7, 2010 I have been trying to change the font of my link, but it refuse to work.here is how i tried it:CSS a{font:12px verdana, arial;} can you guy tell me why it is not working. Quote Link to post Share on other sites
jeffman 86 Posted November 7, 2010 Report Share Posted November 7, 2010 For one thing, font names are case sensitive, and Verdana and Arial both begin with uppercase letters. Quote Link to post Share on other sites
Drycodez 4 Posted November 7, 2010 Author Report Share Posted November 7, 2010 For one thing, font names are case sensitive, and Verdana and Arial both begin with uppercase letters.i just noticed something.... When i remove the html !DOCTYPE, my css code (to change anchor font and size) will work. But when i put the html !DOCTYPE again, the css code will stop working. Is it because i am using XHTML 1.0 transitional !doctype or what? Please i need your help. Thanks in adv. Quote Link to post Share on other sites
niche 133 Posted November 7, 2010 Report Share Posted November 7, 2010 DD, didn't know about case sensitivity in font names. All I have to do with that fact is remember to remember it. Thanks! Quote Link to post Share on other sites
jeffman 86 Posted November 7, 2010 Report Share Posted November 7, 2010 Yeah, it's the doctype that enforces things like case. When you see HTML written all in uppercase, like <TABLE>, you know you're looking at a relic from the 90s (the code or its writer, hard to tell). Quote Link to post Share on other sites
Abby 0 Posted November 8, 2010 Report Share Posted November 8, 2010 Yeah, it's the doctype that enforces things like case. When you see HTML written all in uppercase, like <TABLE>, you know you're looking at a relic from the 90s (the code or its writer, hard to tell).LOL! That says a lot about my ex-boyfriend ... Quote Link to post Share on other sites
Drycodez 4 Posted November 8, 2010 Author Report Share Posted November 8, 2010 What do you guys suggest i do?Because even the font-size also refuse to work. Quote Link to post Share on other sites
Synook 47 Posted November 8, 2010 Report Share Posted November 8, 2010 Post your entire code, there are probably other factors influencing the style. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.