Re: [WSG] CSS Validation query
I to have been getting the same error even though I have been providing a generic alternative. After looking through my CSS over and over I noticed that I had 'mono' instead of 'monospace'. Once fixed the CSS validated without warnings. I then noticed that Dreamweaver MX 2004 (I only use it for source coding - honest) has 'mono' in it's pre-set font lists. Users beware (I'll raise the issue with Macromedia). - Original Message - From: "Lennart Fylling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 13, 2004 6:38 PM Subject: Re: [WSG] CSS Validation query | Jackie Reid wrote: | > Hi everyone | > | > im a bit confused here - trying to validate my css and i get this | > warning | > | > "Line : 0 font-family: You are encouraged to offer a generic family | > as a last alternative" | > | > what do they mean... | | sans-serif, serif , monospace , cursive or Fantasy . | You put the font you prefer to be displayed first in the cue, if the users | doesn't have that font, then the users will see the second choice...if the | users doesn't have that, the third choice, and so on, if the users has none | of the fonts, then they will see their browser default sans-serif, serif or | whatever font. | | | -- | Lennart Fylling | [creative] | Norway | |
Re: [WSG] CSS Validation query
Thank, thank, thank you everyone...it works now... i must have scoured through that code for hours yesterday... a severe case of not seeing the wood for the trees. All fixed with your help thanks again Jackie ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] CSS Validation query
Just a heads up, always look for No errors or warnings. You can get the congrats but still have warnings if you scroll down. Jackie's concern was a warning even though it was valid css. P > Congratulations! > > Valid CSS!This document validates as CSS! > > Is what I get when I validate the CSS directly, or through the site!! > Dunno what's going on. I quickly checked and you've got a generic font > on the 3 font-families. I'd just say it's the validator being stupid. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] CSS Validation query
G'day > "Line : 0 font-family: You are encouraged to offer a generic family as a last alternative" Look at the last rule in your CSS where you have "Sans Serif" instead of the generic "sans-serif". Chances are that's what the validator was looking at ("Line : 0" obviously doesn't tell us anything). Regards -- Bert Doorn, Better Web Design http://www.bwdzine.com/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] CSS Validation query
Jackie Reid wrote: > Hi everyone > > im a bit confused here - trying to validate my css and i get this > warning > > "Line : 0 font-family: You are encouraged to offer a generic family > as a last alternative" > > what do they mean... sans-serif, serif , monospace , cursive or Fantasy . You put the font you prefer to be displayed first in the cue, if the users doesn't have that font, then the users will see the second choice...if the users doesn't have that, the third choice, and so on, if the users has none of the fonts, then they will see their browser default sans-serif, serif or whatever font. -- Lennart Fylling [creative] Norway > > ** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] CSS Validation query
Jackie http://www.google.com/search?hl=en&lr=&c2coff=1&q=css+generic+font+family&btnG=Search lead to http://www.htmlhelp.com/reference/css/font/font-family.html Neerav Bhatt http://www.bhatt.id.au Web Development & IT consultancy http://www.bhatt.id.au/blog/ - Ramblings Thoughts http://www.bookcrossing.com/mybookshelf/neerav Jackie Reid wrote: Hi everyone im a bit confused here - trying to validate my css and i get this warning "Line : 0 font-family: You are encouraged to offer a generic family as a last alternative" what do they mean... i always do that and get the no errors or warnings reply... whats going on.. ? Jackie www.jobfitsystem.com/about.asp www.jobfitsystem.com/styles/jobfit2.css ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] CSS Validation query
Congratulations! Valid CSS!This document validates as CSS! Is what I get when I validate the CSS directly, or through the site!! Dunno what's going on. I quickly checked and you've got a generic font on the 3 font-families. I'd just say it's the validator being stupid. On Wed, 13 Oct 2004 18:13:20 +1000, Jackie Reid <[EMAIL PROTECTED]> wrote: > Hi everyone > > im a bit confused here - trying to validate my css and i get this warning > > "Line : 0 font-family: You are encouraged to offer a generic family as a > last alternative" > > what do they mean... i always do that and get the no errors or warnings > reply... > > whats going on.. ? > > Jackie > > www.jobfitsystem.com/about.asp > www.jobfitsystem.com/styles/jobfit2.css > > ** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ** > > -- http://www.trovster.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] CSS Validation query
On 10/13/04 1:13 AM "Jackie Reid" <[EMAIL PROTECTED]> sent this out: > "Line : 0 font-family: You are encouraged to offer a generic family as a > last alternative" > > what do they mean... i always do that and get the no errors or warnings > reply... Do a "sans-serif" or "serif" as the last specified font. Those are "generic family" font specs. p { font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif } HTH Rick Faaberg ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] CSS Validation query
On 13 Oct 2004, at 6:13 PM, Jackie Reid wrote: Hi everyone im a bit confused here - trying to validate my css and i get this warning "Line : 0 font-family: You are encouraged to offer a generic family as a last alternative" what do they mean... i always do that and get the no errors or warnings reply... whats going on.. ? Jackie www.jobfitsystem.com/about.asp www.jobfitsystem.com/styles/jobfit2.css Don't know about Line 0 - but I found this in your CSS: #info ul {font-family: verdana ,Arial,Helvetica,Sans Serif; font-size: 0.9em; line-height: 1.1em;} Try sans-serif instead of two words, and see how you go... N ___ Omnivision. Websight. http://www.omnivision.com.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] CSS Validation query
Interesting, You may have flummoxed it with the double color reference background-color : #05695c; color : #000; font-family : Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size : 80%; color : #02486c; Try removing the black one (color : #000;) and see if it fixes it. P > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Reid > Sent: Wednesday, October 13, 2004 6:13 PM > To: [EMAIL PROTECTED] > Subject: [WSG] CSS Validation query > > Hi everyone > > im a bit confused here - trying to validate my css and i get > this warning > > "Line : 0 font-family: You are encouraged to offer a generic > family as a > last alternative" > > what do they mean... i always do that and get the no errors > or warnings > reply... > > whats going on.. ? > > Jackie > > www.jobfitsystem.com/about.asp > www.jobfitsystem.com/styles/jobfit2.css > > ** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ** > ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **