crowheart Posted October 12, 2007 Share Posted October 12, 2007 I keep getting this message from the css validator 113 div Value Error : border-color Invalid number#oo7e7e Here is the code from my external css sheet... ody { background-color: #eaf3da; font-size: medium; font-family: sans-serif; font-weight: normal; }h1 { border-bottom: 3px solid black; font-size: 170%; } h2 { color:maroon; font-size: 130%; text-decoration: underline;} .arecent {border-color: black;border-width: 2px;border-style: dashed;border-color: #eaf3da;background-color: #a7cece; padding: 25px;padding-left: 80px;margin: 30px; margin-right: 250px;line-height: 1.6em;font-style: italic;font-weight: bold;color: maroon;font-family: Georgia, "Times New Roman", Times, serif; background-image: url(images/background.gif); background-repeat: no-repeat;background-position: top left;font-size: small; } .conservation a:link {color: #007e7e;}.conservation a:visited {color: #333333; } .conservation a:hover {background: #f88396;color: #0d5353; }.getaway a:link {color: #007e7e;}.getaway a:visited {color: #333333; } .getaway a:hover {background: #f88396;color: #0d5353; } .fund a:link {color: #007e7e;}.fund a:visited {color: #333333; } .fund a:hover {background: #f88396;color: #0d5353; }.wilderness a:link {color: #007e7e;}.wilderness a:visited {color: #333333; } .wilderness a:hover {background: #f88396;color: #0d5353; }.nrdc a:link {color: #007e7e;}.nrdc a:visited {color: #333333; } .nrdc a:hover {background: #f88396;color: #0d5353; }.sierra a:link {color: #007e7e;}.sierra a:visited {color: #333333; } .sierra a:hover {background: #f88396;color: #0d5353; }.eilperin { font-size: 60%;font-style: normal;font-weight: bold;color: black; }div {border-width: thin;border-style: solid;width: 200px;line-height: 1;float: right;padding-right: 20px;padding-left: 20px;padding-bottom: 20px;padding-top: 20px;text-align: center;}p object {float: right; background-color: #eaf3da;}.traphills a:link {color: #007e7e;}.traphills a:visited {color: #333333; } .traphills a:hover {background: #f88396;color: #0d5353; }Any help would be greatly appreciated, Peace... Link to comment Share on other sites More sharing options...
Jerry62704 Posted October 12, 2007 Share Posted October 12, 2007 I think the format you want is:a.class1:link {some stuff}a.class1:visited {some other stuff}a.class1:hover {the rest of the stuff}a.class2:link {xxxx}and so on.HTH Link to comment Share on other sites More sharing options...
crowheart Posted October 12, 2007 Author Share Posted October 12, 2007 I don't think that is the problem. Thanks for your help though, I am using the same style for links in another external style sheet and the link colors and the code is the same; and it is validated. Link to comment Share on other sites More sharing options...
jlhaslip Posted October 13, 2007 Share Posted October 13, 2007 works for me...http://jigsaw.w3.org/css-validator/validat...;usermedium=all Link to comment Share on other sites More sharing options...
crowheart Posted October 13, 2007 Author Share Posted October 13, 2007 Still getting this error..... Sorry! We found the following errorsURI : http://www.sparrow-rapids.com/conservation.css113 div Value Error : border-color Invalid number#oo7e7e Any ideas? I am stumped. the site views fine. the xhtml code to the page validates as well. I just keep getting the 1 error.Any help would be appreciated.thanks Link to comment Share on other sites More sharing options...
crowheart Posted October 13, 2007 Author Share Posted October 13, 2007 Still getting this error..... Sorry! We found the following errorsURI : http://www.sparrow-rapids.com/conservation.css113 div Value Error : border-color Invalid number#oo7e7e Any ideas? I am stumped. the site views fine. the xhtml code to the page validates as well. I just keep getting the 1 error.Any help would be appreciated.thanks body { background-color: #eaf3da; font-size: medium; font-family: sans-serif; font-weight: normal; }h1 { border-bottom: 3px solid black; font-size: 170%; } h2 { color:maroon; font-size: 130%; text-decoration: underline;} .arecent {border-color: black;border-width: 2px;border-style: dashed;border-color: #eaf3da;background-color: #a7cece; padding: 25px;padding-left: 80px;margin: 30px; margin-right: 250px;line-height: 1.6em;font-style: italic;font-weight: bold;color: maroon;font-family: Georgia, "Times New Roman", Times, serif; background-image: url(images/background.gif); background-repeat: no-repeat;background-position: top left;font-size: small; } .conservation a:link {color: #007e7e;}.conservation a:visited {color: #333333; } .conservation a:hover {background: #f88396;color: #0d5353; }.getaway a:link {color: #007e7e;}.getaway a:visited {color: #333333; } .getaway a:hover {background: #f88396;color: #0d5353; } .fund a:link {color: #007e7e;}.fund a:visited {color: #333333; } .fund a:hover {background: #f88396;color: #0d5353; }.wilderness a:link {color: #007e7e;}.wilderness a:visited {color: #333333; } .wilderness a:hover {background: #f88396;color: #0d5353; }.nrdc a:link {color: #007e7e;}.nrdc a:visited {color: #333333; } .nrdc a:hover {background: #f88396;color: #0d5353; }.sierra a:link {color: #007e7e;}.sierra a:visited {color: #333333; } .sierra a:hover {background: #f88396;color: #0d5353; }.eilperin { font-size: 60%;font-style: normal;font-weight: bold;color: black; }div {border-width: thin;border-style: solid;border-color: #oo7e7e;width: 200px;line-height: 1;float: right;padding-right: 20px;padding-left: 20px;padding-bottom: 20px;padding-top: 20px;text-align: center;}p object {float: right; background-color: #eaf3da;}.traphills a:link {color: #007e7e;}.traphills a:visited {color: #333333; } .traphills a:hover {background: #f88396;color: #0d5353; }Now I am really in space land. I removed the above underlined code which I believe is giving me the 1 error. On my CSS page that code is removed, but when I put the file into the CSS validator I get the old error message with the above(I am pretty sure) file listed as the culprit. How does this turn up again I have removed it from my style sheet. I either need more sleep or I am dwelling in alter universe. Either one at this point could be the case..... Link to comment Share on other sites More sharing options...
crowheart Posted October 13, 2007 Author Share Posted October 13, 2007 Newbie needs sleep I found the problem. Ahhhhhhh. Thanks for the replies..... Link to comment Share on other sites More sharing options...
jlhaslip Posted October 14, 2007 Share Posted October 14, 2007 were you validating the wrong file? Link to comment Share on other sites More sharing options...
Synook Posted October 14, 2007 Share Posted October 14, 2007 "o" isn't a valid hexadecimal digit, is it? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.