![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Development Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Validating css.
Hi.
I've been trying to validate my css but am not sure about the following. Line : 16 font-family: You are encouraged to offer a generic family as a last alternative Line : 18 (Level : 2) Redefinition of font-family : table Line : 41 font-family: You are encouraged to offer a generic family as a last alternative Line : 43 (Level : 2) Redefinition of font-family : p Here is my css. What am i doing wrong? h1, h2 { color : #66cccc; background-color : #000000; } h3 { color : #66cc22; background-color : #000000; } h4 { color : #66cccc; background-color : #000000; } table { color : #ffffff; border-collapse : collapse; font : 15px Tahoma; background-color : #000000; font-family: Tahoma, Arial, Helvetica, sans-serif; } th { color : #993333; padding : 0.25em; background-color : #000000; } td { color : #ffffff; padding : 1em; background-color : #000000; } div { color : #ffffff; border : 1px solid #c0620e; background-color : #000000; } body { color : #ffffff; background-color : #000000; } p { color : #ffffff; font : 15px Tahoma; background-color : #000000; font-family: Tahoma, Arial, Helvetica, sans-serif; } a:link { color : #c0620e; text-decoration : underline; background-color : #000000; } a:active { color : #c0620e; text-decoration : underline; background-color : #000000; } a:visited { color : #ffffff; text-decoration : underline; background-color : #000000; } a:hover { color : #66cccc; text-decoration : none; background-color : #000000; } |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Manager Emeritus
|
Hi,
Get rid of both of these lines, revalidate, and let me know how it goes: font : 15px Tahoma; replace it with font-size: 15px; if you want to keep your font size at 15px. In general, try to stick with font-family instead of font for proper css.
__________________
mysql> --i-am-a-dummy
Last edited by v-six; 10-11-2006 at 01:08 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|