Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-12-2005, 02:04 PM Weird CSS
Junior Talker

Posts: 2
Trades: 0
Hello here,

I have a problem with my style sheet and after trying during 2 days I’m now begging one of you to help me.

Thanks a lot.
Below are List of error (always the same) and after my .CSS file:


W3C CSS Validator Results for http://www.asia-handicrafts.com
To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.
Errors
URI : http://www.asia-handicrafts.com/style1.css
Line: 75 Context : .tableliensgauche-general
Invalid number : font Parse Error - family:Verdana, Arial, Helvetica, sans-serif
Line: 113 Context : .tableproduits-details
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 137 Context : .tablenews-details
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 149 Context : .td-texte
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 156 Context : .titre1
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 163 Context : .titre2
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 170 Context : .titre3
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 177 Context : .titre4
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Line: 196 Context : .copyright
Invalid number : font Parse Error - family:Georgia, "Times New Roman", Times, serif
Warnings
URI : http://www.asia-handicrafts.com
Line : 109 font-family: You are encouraged to offer a generic family as a last alternative


Here is my style sheet:
body {
background-color: #FF9900;
border:none;
margin:0px;
}



.tablehaut {
border:none;
width: 100%;
}

.td-tablehaut-gauche {
font-family:Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
font-size: 14px;
border:none;
margin:0px;
text-align:center;
vertical-align:middle;
background-image: url("asset/pics/H90G.jpg");
background-repeat:repeat-x;
width: 272px;
}

.td-tablehaut-centre {
border:none;
margin:0px;
text-align:center;
vertical-align:middle;
background-image: url("asset/pics/H90C.jpg");
background-repeat:repeat-x;
}

.td-tablehaut-droite {
font-family:Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
font-size: 14px;
border:none;
margin:0px;
text-align:center;
vertical-align:middle;
background-image: url("asset/pics/H90D.jpg");
background-repeat:repeat-x;
width: 272px;
}



.tableliens-general {
border:none;
margin:0px;
width: 100%;
background-color:#FF6600;
vertical-align:text-top;

}

.td-liens-general {
border:none;
text-align:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}

.tableliensgauche-general {
border:none;
margin:0px;
width: 100%;
background-color:#999900;
font family:Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color: #ffffff;
text-align:center;
}

.tableliensgauche-details {
border:none;
margin:0px;
width: 100%;
background-color:#FFCC00;
font-family:Georgia, "Times New Roman", Times, serif;
font-size: 10px;
color: #000000;
}




.tableproduits-general {
border:none;
margin:0px;
width: 100%;
background-color:#999900;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color: #ffffff;
text-align:center;
}

.tableproduits-details {
border:none;
margin:0px;
padding:20px;
width: 100%;
background-color:#FFFF33;
font family:Georgia, "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}



.tablenews-general {
border:none;
margin:0px;
width: 100%;
background-color:#000000;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color: #ffffff;
text-align:center;
}

.tablenews-details {
border:none;
margin:0px;
width: 100%;
background-color:#FFCC00;
font family:Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #000000;
}




.td-texte {
border:none;
margin:0px;
text-align:center;
font family:Georgia, "Times New Roman", Times, serif;
font-size: 15px;
background-color: #FF9900;

}

.titre1 {
font family:Georgia, "Times New Roman", Times, serif;
font-size: 22px;
font-weight: bold;

}

.titre2 {
font family:Georgia, "Times New Roman", Times, serif;
font-size: 17px;
font-weight: bold;

}

.titre3 {
font family:Georgia, "Times New Roman", Times, serif;
font-size: 15px;
font-weight: bold;

}

.titre4 {
font family:Georgia, "Times New Roman", Times, serif;
font-size: 12px;
font-weight: bold;

}

/* LIENS BAS */

.liens-bas {
text-align:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}



.copyright {
text-align:center;
font family:Georgia, "Times New Roman", Times, serif;
font-size: 11px;
}

A:link {text-decoration: underline; color: #0033FF;}
A:visited {text-decoration: underline; color: #993300;}
A:hover {text-decoration: underline; color: #CC0000;}
A:active {text-decoration: blink; color: #9900CC;}
A.external:visited {text-decoration: none; color: #993300;}
laodude1134 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-12-2005, 02:43 PM
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
in some places you have
font family

which should be
font-family

fix those and see what you have left

you might find this free css editor useful
http://www.bradsoft.com/download/index.asp (topstyle lite)
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 03-13-2005, 03:11 PM Your great guys
Junior Talker

Posts: 2
Trades: 0
Hi Dave Mies,
Thanks a lot for your advice, everythings fine now:


W3C CSS Validator Results for http://www.asia-handicrafts.com/style3.css
No error or warning found
Congratulations!
This document validates as CSS!


Here is a great CSS site, a place to find good CSS advice.

Laodude
laodude1134 is offline
Reply With Quote
View Public Profile
 
Old 03-13-2005, 05:21 PM
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
glad you got it sorted!
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Reply     « Reply to Weird CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55773 seconds with 12 queries