/    Sign up×
Community /Pin to ProfileBookmark

valid css font warnings

Can anyone tell me what they mean by these line warnings?
Thanks!

Warnings: URI : mystylesheet.css

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

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

Valid CSS information
BODY {
font-size : 10pt;
color : #000099;
font-family : Sans-Serif, Arial, Verdana, Helvetica;
}
.hiddenPic {
display : none;
}
.table10pt {
font-family : sans-serif, Arial, Verdana, Helvetica;
font-size : 10pt;
}
.table8pt {
font-family : Arial, Sans-Serif, Verdana, Helvetica;
font-size : 8pt;
}
.hovered {
text-align : center;
background-color : #0000a0;
border-style : solid;
border-width : 0;
border-color : #ffffff;
width : 80px;
height : 13px;
color : #ffffff;
font-family : arial, sans serif;
font-size : 13px;
cursor : default;
}
.normal {
text-align : center;
background-color : #c0c0c0;
border-style : solid;
border-width : 0;
width : 80px;
height : 13px;
border-color : #c0c0c0;
color : #000000;
font-family : arial, sans serif;
font-size : 13px;
cursor : default;
}

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ShrineDesignsJul 01.2005 — it means put a generic font family at the end of the listfont-family: Arial, Verdana, Helvetica, sans-serif;
Copy linkTweet thisAlerts:
@NogDogJul 01.2005 — Just to clarify, the user agent will use the first font in the list that it "knows", from left to right. So you want the generic font at the end of the list to be used as the default if the user agent does not have any of the other specific fonts.
×

Success!

Help @ranosb 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...