Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
css validation warnings- fontovi...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
loodi.sale



Joined: 15 Feb 2006
Posts: 99

PostPosted: 15.11.2006 17:52    Post subject: css validation warnings- fontovi... Add user to your forum ignore list Reply with quote

dakle CSS validan ali izbaci dosta upozorenja koja sam ja skontao ali ne totalno.. dakle dobijem ovo:

# Line : 1 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 1 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h1
# Line : 3 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 3 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h2
# Line : 5 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 5 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h3
# Line : 7 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 7 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h4
# Line : 10 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 10 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h5
# Line : 13 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 13 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : h6
# Line : 15 font-family: You are encouraged to offer a generic family as a last alternative
# Line : 15 (Level : 2) font-family: You are encouraged to offer a generic family as a last alternative : p


CSS fajl za to izgleda ovako:

h1 {font: small-caps 900 13px arial;}

h2 {font: 15px arial}

h3 {font: 17px georgia;}

h4 {font: small-caps 900 15px georgia;
margin-left:100px;}

h5 {font: 18px georgia;
margin-left:100px;}

h6 {font: 12px georgia}

p {font: 15px georgia;
margin-left:0em;
margin-right:0em;}

--------------------------------------------------------

Jeli ima neki bolji način da se ovo sredi... ako neko moze da napise bio bih jako zahvalan!

Skontao sam gore da treba dodati i nazive porodice fontova ono kao da se mogu koristiti mjesto navedenog ako nije pristuan ali nisam skontao kako to da napisem u CSS fajl.. pa ko zna nek me prosvijetli...

unaprijed hvala
Back to top
View user's profile Send private message
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 15.11.2006 19:09    Post subject: Add user to your forum ignore list Reply with quote

nakon arial stavi "sans-serif", nakon georgia "serif"

neće te boljeti ni da pogledaš u specifikacije ako si toliki validation freak Mad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
loodi.sale



Joined: 15 Feb 2006
Posts: 99

PostPosted: 15.11.2006 19:32    Post subject: Add user to your forum ignore list Reply with quote

Sulien wrote:
nakon arial stavi "sans-serif", nakon georgia "serif"

neće te boljeti ni da pogledaš u specifikacije ako si toliki validation freak Mad




ZAHVALJUJEM! ma ja sam stavljao to ali ispred.. a treba nakon Embarassed
Back to top
View user's profile Send private message
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 15.11.2006 22:55    Post subject: Add user to your forum ignore list Reply with quote

user agent čita s lijeva na desno... ako ne pronađe niti jedan font onda trebaš imati fallback na generic family (npr. "serif") da bi onda program izabrao default font za taj family
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group