Hi,
Thanks to an earlier thread my website has been validated re the
html content - yiiiiiiiiipppppppppeeeeeeee
However I have just tried to validate the
CSS, and it all passed bar the first line. The error message is:
Quote:
|
Parse Error - html, body { margin: 0; padding: 0; background-color: white; color: black; font-size: 100.01%; font-family: sans-serif; }
|
My
CSS coding is below.
Any ideas greatly appreciated. So near yet so far.............
Thanks, Ruby
- Code: Select all
/* Universal Style */
html, body { margin: 0; padding: 0; background-color: white; color: black; font-size: 100.01%; font-family: sans-serif; }
#outer { height: 470px; width: 675px; background-color: white; }
#outer { position: absolute; top: 50%; margin-top: -235px; left: 50%; margin-left: -337.5px; }
#sidebar { height:470px; width: 145px; float: left; padding-right: 20px; } /*padding to get text away from edge of sidebar*/
#sidebar { background-color: white; border-right: solid black; font-size: 0.8em;}
ul {text-align: right; list-style: none; line-height: 1.5em; }
a:link {color: black; font-weight: bold; text-decoration: none; }
a:visited {color: black; font-weight: bold; text-decoration: none; }
a:active {color: black; font-weight: bold; text-decoration: none; }
a:hover {color: #9A803B; font-weight: bold; text-decoration: none; }
#sidebarh1 { text-align: left; color: #9A803B; font-size: 1.2em; font-weight: bold; font-family: sans-serif;}
#sidebarh1 {position:absolute; bottom:0px; left:0px;}
h1 {text-align: center; color: #9A803B;font-size: 1.2em; margin-top: 10px; padding-bottom: 1em; }
p { text-align: justify; font-size: 0.8em; line-height: 1.5em; margin-left: 20px; margin-right: 20px;}
ol {padding: 1.5em; font-size: 0.8em; line-height: 1.5em; list-style: none; width: 50%;}
li {margin-bottom: 1em; }
img {border: 0; display: block; margin-left: auto; margin-right: auto; }
#panel {width: 475px; border: 0; position:absolute; left: 182.5px; bottom :0px; }
/* Diff backgrounds for page */
#content { background-color: white; height: 470px; margin-left: 165px; }
#contentex { background: url(angel.gif) no-repeat right; background-color: white; height: 470px; margin-left: 165px; }
#contentco { background: url(conbck.jpg) no-repeat right; position:absolute; top:0px; left: 167px; background-color: white; height: 470px; }
/* Gallery */
.thumbnailboxes { width: 75px; height: 75px; float: left; padding: 5px; margin: 0px;}
#galleryinfo {position:absolute; bottom:0px; left:165px; }
#thumbnailboxes1 { width: 255px; margin: 0 auto; }
#thumbnailboxes2 { width: 255px; margin: 0 auto; }
#thumbnailboxes3 { width: 255px; margin: 0 auto; }
#thumbnailboxes4 { width: 340px; margin: 0 auto; }
#thumbnailboxes5 { width: 340px; margin: 0 auto; }
#thumbnailboxes6 { width: 340px; margin: 0 auto; }
#thumbnailboxes7 { width: 255px; margin: 0 auto; }
#thumbnailboxes8 { width: 255px; margin: 0 auto; }
#thumbnailboxes9 { width: 255px; margin: 0 auto; }
#thumbnailboxes10 { width: 255px; margin: 0 auto; }
#thumbnailboxes11 { width: 255px; margin: 0 auto; }
#thumbnailboxes12 { width: 255px; margin: 0 auto; }
/* Form */
#wrapper {margin-left: 20px; margin-right: 20px;}
fieldset {margin: 0px; padding: 0px; border: 0px; }
fieldset p {padding: 0em; text-align: justify; font-size: 0.8em; line-height: 1.5em; margin-left: 20px; margin-right: 20px;}
legend {display: none;}
input, textarea {margin: 0px; padding: 1px; border: 1px solid #999999; background-color: white;}
span.cursor { cursor: pointer; }
p#Error_msg { color: red; }
.submit {width: 65px; background-color: white; border: ridge black; margin-top: 10px; margin-right: 10px;}