What is that error means:
Warnings
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
body {
background-color: #d5d5d3;
margin-top: 30px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif; < This is the line
}
Thanks!Validating that snippet of code you posted reveals no errors or warnings. And it listing the line number as 0 for the error when that line of code is obviously not line 0 is also curious. My guess is that there is some other syntax error earlier in the script.yea, no error in the code that u provided. Provide all your code so we can seeif you've ever taken a tour at the W3 building you know that there's always a slim chance that one of the Validator Operators may have dropped a bit of chocolate into the HTML/CSS Validator machinery, causing snafus like this from time to time. It's a shame when it happens. They have to shut the whole thing down and it takes hours to clean...Originally posted by TimeBandit
if you've ever taken a tour at the W3 building you know that there's always a slim chance that one of the Validator Operators may have dropped a bit of chocolate into the HTML/CSS Validator machinery, causing snafus like this from time to time. It's a shame when it happens. They have to shut the whole thing down and it takes hours to clean... WTF???body {
background-color: #d5d5d3;
margin-top: 0px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif;
}
.header {
background: #000 url('../imgs/logo.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.menuHolder {
background: #777572 url('../imgs/menuBG.jpg') repeat-x bottom left;
height: 24px;
text-align: right;
}
.body {
background: #fff;
width: 700px;
padding: 40px;
direction: rtl;
}
.date {
font-size: 10px;
color: #fff;
font-weight: 700;
}I just entered that into the CSS Validator's textarea and got "No error or warning found".Here's the full one:
/* General CSS */
body {
background-color: #d5d5d3;
margin-top: 0px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif;
}
.header {
background: #000 url('../imgs/logo.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.menuHolder {
background: #777572 url('../imgs/menuBG.jpg') repeat-x bottom left;
height: 24px;
text-align: right;
}
.body {
background: #fff;
width: 700px;
padding: 40px;
direction: rtl;
}
.date {
font-size: 10px;
color: #fff;
font-weight: 700;
}
/* Clips CSS */
#clipsInfo {
float: left;
width: 152px;
text-align: right;
}
#clipsInfo h4 {
margin:0;
}
#clipsInfo ul {
list-style: none;
margin:0;
padding:0;
font-size: 11px;
}
#clipsInfo li {
margin:0;
padding:0;
line-height:
1.2em;
direction: rtl;
}
div#clipsDesc {
margin-left: 130px;
width: 360px;
padding-top: 6px;
}
#clipsDesc img {
margin: 0 5px;
}
#clipsDesc p {
display: none;
margin: 0px 0px 0px 8px;
padding-top: 6px;
text-align: justify;
width: 340px;
direction: rtl;
font-size: 11px;
color: #000;
}
.clipsHeader {
background: #000 url('../imgs/logoClips.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.clipImg {
margin-left: 10px;
}
.clipTxt {
font-size: 11px;
}
.clipHeader {
font-size: 16px;
font-weight: 700;
}
a.menuLinks:link {
text-decoration: none;
font-size: 12px;
color: #fff;
font-weight: 700;
}
a.menuLinks:visited {
text-decoration: none;
font-size: 12px;
color: #fff;
font-weight: 700;
}
a.menuLinks:hover {
text-decoration: underline;
font-size: 12px;
color: #485C51;
font-weight: 700;
}
a:link {
text-decoration: none;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
a:visited {
text-decoration: none;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
a:hover {
text-decoration: underline;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
.visitedLink {color: #d70000; font-size: 12px; font-weight: 700;}
a.specials:link {text-decoration: none; color: #11216c; font-size: 14px;}
a.specials:visited {text-decoration: none; color: #11216c; font-size: 14px;}
a.specials:hover {text-decoration: underline; color: #11216c; font-size: 14px;}
a.products:link {text-decoration: none; color: #d70000; font-size: 12px;}
a.products:visited {text-decoration: none; color: #d70000; font-size: 12px;}
a.products:hover {text-decoration: underline; color: #d70000; font-size: 12px;}
.specials {color: #11216c; font-size: 14px;}
.MenuTableBorder {width: 760px; height: 24px; border-width: 0px 0px 0px 0px;}
.menuTd {border-width: 1px 1px 1px 1px;}
img {border: 0px;}
.saperatorMenuLines {font-size: 11px; font-weight: 700; color: #ffffff; padding-left: 8px; padding-right: 8px;}
.menuLines {font-size: 12px; font-weight: 700; color: #ffffff;}
h4 {margin: 0px;}
h3 {margin: 0px;}
hr {color: #e6006c; width: 100%;}
.mainTable {background-color: #6d6db7; width: 764px; border-right: 2px solid #ffffff; border-left: 2px solid #ffffff;}
.MenuBg {background-color: #87d96d;}
.copyright {font-size: 10px; color: #ffffff; text-align: center;}
a.copyrightLink:link {text-decoration: underline; color: #ffffff; font-size: 10px;}
a.copyrightLink:visited {text-decoration: underline; color: #ffffff; font-size: 10px;}
a.copyrightLink:hover {text-decoration: underline; color: #ffffff; font-size: 10px;}
.MenuLine {color: #ffffff; font-size: 12px;}
form {margin: 0px;}
input {font-size: 12px; border: 1px solid #11216c; width: 160px; direction: ltr;}
select {font-size: 12px; border: 1px solid #11216c; width: 160px; direction: ltr;}
textarea {font-size: 12px; border: 1px solid #11216c; width: 400px;}
.btn {color: #000000; font-family: Arial; font-weight: 700; width: 100px; background-color: #fed; border: 1px solid #000000;}.btn{
color : #000000;
font-family : Arial;
font-weight : 700;
width : 100px;
background-color : #fed;
border : 1px solid #000000;
}No errors in the document but I'm not getting the message for the successful CSS document with the links and all that... like here:
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.markwyner.com%2F&usermedium=all">http://jigsaw.w3.org/css-validator/vali ... medium=all</a><!-- m -->
Thanks man.Validating that code now revealed one warning (which is not the same as an error), though not the error message that you are getting. Is it possible you could upload the entire HTML document (i.e., don't paste it into a post, use the attach file feature).
Warnings
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
body {
background-color: #d5d5d3;
margin-top: 30px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif; < This is the line
}
Thanks!Validating that snippet of code you posted reveals no errors or warnings. And it listing the line number as 0 for the error when that line of code is obviously not line 0 is also curious. My guess is that there is some other syntax error earlier in the script.yea, no error in the code that u provided. Provide all your code so we can seeif you've ever taken a tour at the W3 building you know that there's always a slim chance that one of the Validator Operators may have dropped a bit of chocolate into the HTML/CSS Validator machinery, causing snafus like this from time to time. It's a shame when it happens. They have to shut the whole thing down and it takes hours to clean...Originally posted by TimeBandit
if you've ever taken a tour at the W3 building you know that there's always a slim chance that one of the Validator Operators may have dropped a bit of chocolate into the HTML/CSS Validator machinery, causing snafus like this from time to time. It's a shame when it happens. They have to shut the whole thing down and it takes hours to clean... WTF???body {
background-color: #d5d5d3;
margin-top: 0px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif;
}
.header {
background: #000 url('../imgs/logo.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.menuHolder {
background: #777572 url('../imgs/menuBG.jpg') repeat-x bottom left;
height: 24px;
text-align: right;
}
.body {
background: #fff;
width: 700px;
padding: 40px;
direction: rtl;
}
.date {
font-size: 10px;
color: #fff;
font-weight: 700;
}I just entered that into the CSS Validator's textarea and got "No error or warning found".Here's the full one:
/* General CSS */
body {
background-color: #d5d5d3;
margin-top: 0px;
font-family : Arial, Verdana, Helvetica, Geneva, Swiss, sans-serif;
}
.header {
background: #000 url('../imgs/logo.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.menuHolder {
background: #777572 url('../imgs/menuBG.jpg') repeat-x bottom left;
height: 24px;
text-align: right;
}
.body {
background: #fff;
width: 700px;
padding: 40px;
direction: rtl;
}
.date {
font-size: 10px;
color: #fff;
font-weight: 700;
}
/* Clips CSS */
#clipsInfo {
float: left;
width: 152px;
text-align: right;
}
#clipsInfo h4 {
margin:0;
}
#clipsInfo ul {
list-style: none;
margin:0;
padding:0;
font-size: 11px;
}
#clipsInfo li {
margin:0;
padding:0;
line-height:
1.2em;
direction: rtl;
}
div#clipsDesc {
margin-left: 130px;
width: 360px;
padding-top: 6px;
}
#clipsDesc img {
margin: 0 5px;
}
#clipsDesc p {
display: none;
margin: 0px 0px 0px 8px;
padding-top: 6px;
text-align: justify;
width: 340px;
direction: rtl;
font-size: 11px;
color: #000;
}
.clipsHeader {
background: #000 url('../imgs/logoClips.jpg') no-repeat 32 50px;
width: 700px;
height: 100px;
}
.clipImg {
margin-left: 10px;
}
.clipTxt {
font-size: 11px;
}
.clipHeader {
font-size: 16px;
font-weight: 700;
}
a.menuLinks:link {
text-decoration: none;
font-size: 12px;
color: #fff;
font-weight: 700;
}
a.menuLinks:visited {
text-decoration: none;
font-size: 12px;
color: #fff;
font-weight: 700;
}
a.menuLinks:hover {
text-decoration: underline;
font-size: 12px;
color: #485C51;
font-weight: 700;
}
a:link {
text-decoration: none;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
a:visited {
text-decoration: none;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
a:hover {
text-decoration: underline;
font-size: 11px;
color: #E6006C;
font-weight: 700;
}
.visitedLink {color: #d70000; font-size: 12px; font-weight: 700;}
a.specials:link {text-decoration: none; color: #11216c; font-size: 14px;}
a.specials:visited {text-decoration: none; color: #11216c; font-size: 14px;}
a.specials:hover {text-decoration: underline; color: #11216c; font-size: 14px;}
a.products:link {text-decoration: none; color: #d70000; font-size: 12px;}
a.products:visited {text-decoration: none; color: #d70000; font-size: 12px;}
a.products:hover {text-decoration: underline; color: #d70000; font-size: 12px;}
.specials {color: #11216c; font-size: 14px;}
.MenuTableBorder {width: 760px; height: 24px; border-width: 0px 0px 0px 0px;}
.menuTd {border-width: 1px 1px 1px 1px;}
img {border: 0px;}
.saperatorMenuLines {font-size: 11px; font-weight: 700; color: #ffffff; padding-left: 8px; padding-right: 8px;}
.menuLines {font-size: 12px; font-weight: 700; color: #ffffff;}
h4 {margin: 0px;}
h3 {margin: 0px;}
hr {color: #e6006c; width: 100%;}
.mainTable {background-color: #6d6db7; width: 764px; border-right: 2px solid #ffffff; border-left: 2px solid #ffffff;}
.MenuBg {background-color: #87d96d;}
.copyright {font-size: 10px; color: #ffffff; text-align: center;}
a.copyrightLink:link {text-decoration: underline; color: #ffffff; font-size: 10px;}
a.copyrightLink:visited {text-decoration: underline; color: #ffffff; font-size: 10px;}
a.copyrightLink:hover {text-decoration: underline; color: #ffffff; font-size: 10px;}
.MenuLine {color: #ffffff; font-size: 12px;}
form {margin: 0px;}
input {font-size: 12px; border: 1px solid #11216c; width: 160px; direction: ltr;}
select {font-size: 12px; border: 1px solid #11216c; width: 160px; direction: ltr;}
textarea {font-size: 12px; border: 1px solid #11216c; width: 400px;}
.btn {color: #000000; font-family: Arial; font-weight: 700; width: 100px; background-color: #fed; border: 1px solid #000000;}.btn{
color : #000000;
font-family : Arial;
font-weight : 700;
width : 100px;
background-color : #fed;
border : 1px solid #000000;
}No errors in the document but I'm not getting the message for the successful CSS document with the links and all that... like here:
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.markwyner.com%2F&usermedium=all">http://jigsaw.w3.org/css-validator/vali ... medium=all</a><!-- m -->
Thanks man.Validating that code now revealed one warning (which is not the same as an error), though not the error message that you are getting. Is it possible you could upload the entire HTML document (i.e., don't paste it into a post, use the attach file feature).