Help - Search - Members - Calendar
Full Version: CSS almost valid
Weborum Webmaster Forum > Web Page Design > CSS
Waleed
http://jigsaw.w3.org/css-validator/validat...com%2Fhome.html


I don't get it.. its saying 10pt isnt valid. what should tha value be then?
Joe
QUOTE
.text {
font-family: Century Gothic,Tahoma,Arial;
font-size: 10pt;
color: #EBB6AF;
}


QUOTE
.p {
        margin-right: 0.5cm;
        margin-left: 0.5cm;
        font-family: Century Gothic,Tahoma,Arial;
        color: #EBB6AF;
        font-size: 8pt;
}


Instead of:

CODE
.table {
       border: solid 1px;
       border-color: #6F1E15;
}


Use

CODE
.table {
       border: solid 1px #6F1E15;
}


All your inline styles are bloated also, you may want to look into this
Waleed
yes i know about the inline styles.

but which value sshould i use instead of '10pt' ? you havnt answered that.

by th way, thanks for the table thing.
karinne
try putting all your Century Gothic in " so

HTML
font-family: "Century Gothic", Tahoma, Arial;


it might fix the error

and why not add a

HTML
body {
font-family: "Century Gothic", Tahoma, Arial;
}


at the very top so you won't have to repeat it everywhere?
Waleed
hmmm. okie.

but you still havnt answered my initial Q..
karinne
QUOTE(karinne @ Oct 25 2004, 01:27 PM)
try putting all your Century Gothic in " so

HTML
font-family: "Century Gothic", Tahoma, Arial;


it might fix the error


Joe
Didn't you see the changes that I made to your CSS ?

You had

font size: 10pt

I had

font-size: 10pt;

Which will fix your error
karinne
HAHA... that's hilareous Joe! I didn't even see that font size!!!! laugh.gif
Waleed
OH! I thought you were just quoting the errors.. so i didnt read it properly.
thanks!
Joe
QUOTE(karinne @ Oct 26 2004, 01:03 AM)
HAHA... that's hilareous Joe! I didn't even see that font size!!!! laugh.gif

biggrin.gif
Waleed
alright, alright. stop making fun of me.
Joe
No-one is making fun of you huh.gif
Waleed
ok, ok. forgive me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.