/    Sign up×
Community /Pin to ProfileBookmark

Font-Family = Bad???

When I validated my CSS by using [URL=http://jigsaw.w3.org/css-validator/validator-uri.html]W3C CSS Validator[/URL], it gave me this:

[QUOTE]

Line : 7 font-family: You are encouraged to offer a generic family as a last alternative

[/QUOTE]

Is it bad to use font-family???

JDM

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@JDM71488authorJul 05.2003 — Thanks for the clarifying that for me ?

JDM
Copy linkTweet thisAlerts:
@CharlesJul 05.2003 — [i]Originally posted by JDM71488 [/i]

[B]Is it bad to use font-family???[/B][/QUOTE]
[font=georgia]No, it's bad to use "font-family" without specifying "a generic family as a last alternative." See http://www.w3.org/TR/REC-CSS2/fonts.html#generic-font-families.[/font]

[font=monospace]font-faimly: 'Century Gothic', Verdana, sans-serif[/font]
×

Success!

Help @JDM71488 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...