Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
How could I have a font-family on line zero???I once had the same problem.. I think it has either got to do with a bug in the validator.. Or, you have specified a non-standard font in one of your font-family statements.Hm. I offered sans-serif as a final alternative for every font-family though....Did u write it as 'sans-serif' ?? The dash character may have something to do with your problems..aren't you supposed to?I dont know.. CSS might interpret the - character as being part of an identifier..
Try removing sans-serif and re-validate the page..it's already valid, and sans-serif is a default font.But your first post ststed that it was NOT valid... Remember, i am helping you. If you dont want advice, you should not post here.I know that, I'm just being blunt cuz I don't feel like typing much right now, sorry if i come off as rude. What I mean is the CSS is valid, what I posted is a warning. And the sans-serif is part of W3 specs i think.Its ok... I dont know why it does it then. I suppose its just a bug in the validator.I bet you that we could help you better if we could see the CSS file you are talking about...Originally posted by omega
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
How could I have a font-family on line zero??? Hard to say without seeing the sheet that got the warning but sans-serif IS a generic family. You didn't quote it did you?Of course.
<!-- m --><a class="postlink" href="http://projep.t35.com/bg/default.cssI">http://projep.t35.com/bg/default.cssI</a><!-- m --> don't see a default font-family:
font-family: arial black,"arial black", fantasy;
Also, why do you have "arial black" defined twice? Remove the first one, as you want quotes around the font name, if it has spaces.Ooooo. You're not being truthful with us. You have several font-family lines ending with 'dotum' that have no generic font family specified.
Pyro, isn't 'fantasy' a generic?ok i fixed it. that style rule is back when i used text in the h1. looong time ago.
still get the warning. and i dint no that. i put sans-serif in all the fon-family rules without a genericHm. I offered sans-serif as a final alternative for every font-family though....
Huh? Thats not what your file shows..OK, warning gone. I put in the sans-serif. I'm somewhat of an idiot at times lolDoh. Yep, it is... Must have been a differnet declaration then...Yep. Thanks everyone... heh now all that I have left is valid XHTML Strict. Damn t35, putting <script> after the </html> tag...Originally posted by ray326
isn't 'fantasy' a generic? Should be; I believe it's treated as sans-serif.Originally posted by fredmv
Should be; I believe it's treated as sans-serif.
Nope. On my PC it's cursive on IE, papyrus on Mozilla. But I set it as papyrus, so yeah. sans-serif is tahoma or verdana.
How could I have a font-family on line zero???I once had the same problem.. I think it has either got to do with a bug in the validator.. Or, you have specified a non-standard font in one of your font-family statements.Hm. I offered sans-serif as a final alternative for every font-family though....Did u write it as 'sans-serif' ?? The dash character may have something to do with your problems..aren't you supposed to?I dont know.. CSS might interpret the - character as being part of an identifier..
Try removing sans-serif and re-validate the page..it's already valid, and sans-serif is a default font.But your first post ststed that it was NOT valid... Remember, i am helping you. If you dont want advice, you should not post here.I know that, I'm just being blunt cuz I don't feel like typing much right now, sorry if i come off as rude. What I mean is the CSS is valid, what I posted is a warning. And the sans-serif is part of W3 specs i think.Its ok... I dont know why it does it then. I suppose its just a bug in the validator.I bet you that we could help you better if we could see the CSS file you are talking about...Originally posted by omega
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
How could I have a font-family on line zero??? Hard to say without seeing the sheet that got the warning but sans-serif IS a generic family. You didn't quote it did you?Of course.
<!-- m --><a class="postlink" href="http://projep.t35.com/bg/default.cssI">http://projep.t35.com/bg/default.cssI</a><!-- m --> don't see a default font-family:
font-family: arial black,"arial black", fantasy;
Also, why do you have "arial black" defined twice? Remove the first one, as you want quotes around the font name, if it has spaces.Ooooo. You're not being truthful with us. You have several font-family lines ending with 'dotum' that have no generic font family specified.
Pyro, isn't 'fantasy' a generic?ok i fixed it. that style rule is back when i used text in the h1. looong time ago.
still get the warning. and i dint no that. i put sans-serif in all the fon-family rules without a genericHm. I offered sans-serif as a final alternative for every font-family though....
Huh? Thats not what your file shows..OK, warning gone. I put in the sans-serif. I'm somewhat of an idiot at times lolDoh. Yep, it is... Must have been a differnet declaration then...Yep. Thanks everyone... heh now all that I have left is valid XHTML Strict. Damn t35, putting <script> after the </html> tag...Originally posted by ray326
isn't 'fantasy' a generic? Should be; I believe it's treated as sans-serif.Originally posted by fredmv
Should be; I believe it's treated as sans-serif.
Nope. On my PC it's cursive on IE, papyrus on Mozilla. But I set it as papyrus, so yeah. sans-serif is tahoma or verdana.