- From: Mark Sealey <msealey@getty.edu>
- Date: Thu, 25 Sep 2008 07:13:36 -0700
- To: <www-validator-css@w3.org>
When trying to check the validity of the css file below at: <http://jigsaw.w3.org/css-validator/#validate_by_input> I invariably get these spurious errors: 187 .leftboxbody attempt to find a semi-colon before the property name. add it 0 .leftboxbody Property proxy-connection doesn't exist : keep-alive 187 .leftboxbody Property cache-control doesn't exist : max-age 189 .leftboxbody Parse Error max-age=0 adding-right: 0px; 190 padding-bottom Parse Error padding-bottom:5px; 191 padding-left Parse Error padding-left: 0px; 192 font-size Parse Error font-size: 12px; 193 font-style Parse Error font-style: normal; 194 font-weight Parse Error font-weight: bold; 195 font-weight Parse error - Unrecognized } 479 #headertoprightutility Value Error : padding-top -10.0 negative values are not allowed : -10px How can I avoid them? Is this a (series of) bug(s) in the validator? Thanks! html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } :focus { outline: 0; } body { line-height: 1; color: black; font: 13px Arial, Helvetica, sans-serif; background-color: #999999; } a:visited { color: #666666; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } ..image-left { float: left; margin: 4px 10px 2px 1px; } ..image-right { float: right; margin: 4px 10px 2px 1px; } /* ---------- Start, Clearfix for PC IE6 ------------------------------ */ ..clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } ..clearfix { /* display: inline-block;*/ display: inline; } /* Hides from IE-mac \*/ /** html .clearfix {*/ html .clearfix { height: 1%; } ..clearfix { display: block; } /* End hide from IE-mac */ /* ---------- End, Clearfix for PC IE6 ------------------------------ */ #wrapper { margin: 0px auto; width: 956px; background-color: #FFFFFF; } h1, h2, h3 { margin-bottom: 12px; font-family: Arial, Helvetica, sans-serif; } h1 { font-size: 25px; } h2 { font-size: 21px; } h3 { font-size: 17px; } ..subhead { font-size: 10pt; margin: 12px 1px 4px 1px; font-weight: bold; } ..no-background-subhead { font-family: Arial, Helvetica, sans-serif; font-size: 13pt; color: #336799; font-style: italic; margin: 24px 1px 10px 1px; border-top: 1px #999999 solid; } ul.square-bullets li { /* list-style-type: square;*/ list-style-position: outside; margin: 5px 0px 1px 30px; list-style-image: url(../images/central/blue_bullet.jpg); } ..squarebullethref { text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: #3366CC; } /* start left */ #leftcolumn { float: left; display: inline; margin: 0px 12px 0px 4px; width: 228px; } #mygettylinks { background-color: #F2F3F7; padding: 0px 0px 25px 0px; margin-bottom: 10px; } #mygettylinkshead { font-family: Arial, Helvetica, sans-serif; color: #333; border-top: 4px #999 solid; font-size: 13px; font-weight: normal; font-style: italic; background-color: #F2F3F7; padding: 5px 0px 5px 10px; } ..editlinks { float: right; font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; height: 10px; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 0px; position:relative; top: -14px; } ..leftbox { background-color: #EAEAEA; padding: 0px 0px 25px 0px; margin-bottom: 10px; } ..leftboxhead { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 16px; font-weight: normal; text-align: left; background-color: #999999; padding: 3px 0px 2px 10px; border-top: 4px #346699 solid; } ..leftboxbody { font-family: Arial, Helvetica, sans-serif; color: #336799; margin-bottom: 10px; padding-top: 5px; padding-right: 0px; padding-bottom:5px; padding-left: 0px; font-size: 12px; font-style: normal; font-weight: bold; } ul.navlist { font-family: Arial, Helvetica, sans-serif; color: #3366CC; font-size: 10.5px; list-style-position: inside; padding-left: 0px; } li.rightarrowoff0 { list-style-image: url(../images/sidenav/arrow-right.png); padding-left: 10px; } li.rightarrowon0 { list-style-image: url(../images/sidenav/arrow-right.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 10px; list-style-position: inside; } li.downarrowoff0 { list-style-image: url(../images/sidenav/arrow-down.png); padding-left: 10px; } li.downarrowon0 { list-style-image: url(../images/sidenav/arrow-down.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 10px; } li.dashoff0 { padding-left: 10px; list-style-image: url(../images/sidenav/dash.png); } li.dashon0 { list-style-image: url(../images/sidenav/dash.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 10px; } /* li.rightarrowoff1 { list-style-image: url(../images/sidenav/arrow-right.png); padding-left: 25px; } li.rightarrowon1 { list-style-image: url(../images/sidenav/arrow-right.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 25px; list-style-position: inside; } li.downarrowoff1 { list-style-image: url(../images/sidenav/arrow-down.png); padding-left: 25px; } li.downarrowon1 { list-style-image: url(../images/sidenav/arrow-down.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 25px; } li.dashoff1 { padding-left: 25px; list-style-image: url(../images/sidenav/dash.png); } li.dashon1 { list-style-image: url(../images/sidenav/dash.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 25px; } li.rightarrowoff2 { list-style-image: url(../images/sidenav/arrow-right.png); padding-left: 40px; } li.rightarrowon2 { list-style-image: url(../images/sidenav/arrow-right.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 40px; list-style-position: inside; } li.downarrowoff2 { list-style-image: url(../images/sidenav/arrow-down.png); padding-left: 40px; } li.downarrowon2 { list-style-image: url(../images/sidenav/arrow-down.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 40px; } li.dashoff2 { padding-left: 40px; list-style-image: url(../images/sidenav/dash.png); } li.dashon2 { list-style-image: url(../images/sidenav/dash.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 40px; } li.rightarrowoff3 { list-style-image: url(../images/sidenav/arrow-right.png); padding-left: 55px; list-style-type: none; } li.rightarrowon3 { list-style-image: url(../images/sidenav/arrow-right.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 55px; list-style-position: inside; } li.downarrowoff3 { list-style-image: url(../images/sidenav/arrow-down.png); padding-left: 55px; } li.downarrowon3 { list-style-image: url(../images/sidenav/arrow-down.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 55px; } li.dashoff3 { padding-left: 55px; list-style-image: url(../images/sidenav/dash.png); } li.dashon3 { list-style-image: url(../images/sidenav/dash.png); background-color: #FFF; border: 1px #336799 solid; padding-left: 55px; } */ #departmentmicrosites { border-top: 2px #336799 solid; padding: 8px 10px 10px 10px; } ..leftnavhref { font-family: Arial, Helvetica, sans-serif; font-size: 8.5pt; color: #336699; text-decoration: none; } ..rightarrow-bullets { list-style-image: url(../images/sidenav/arrow-right.png); list-style-position: outside; padding: 10px 2px 10px 2px; margin-left: 20px; } /* end left */ /* Start centre */ #centralcolumn { background: #eaeaea; width: 448px; display: inline; float: left; margin: 0px 12px 0px 0px; } #centercontent { padding: 10px 10px 0px 10px; } #centercontent p { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 9pt; } #centercontenthead { font-family: Arial, Helvetica, sans-serif; color: #336799; font-style: italic; font-size: 22px; font-weight: normal; text-align: left; background-color: #D3D8DC; border-top: 4px #346699 solid; margin: -10px -10px 10px -10px; padding: 6px 0px 4px 10px; } /* End centre */ /* Start right */ ..rightcolumn { float: left; margin: 0px 4px 0px 0px; width: 228px; color: #333; display: inline; } ..rightbox { background-color: #FBFBFB; margin-bottom: 10px; } ..rightboxhead { font-family: Arial, Helvetica, sans-serif; color: #336799; font-style: italic; font-size: 14px; font-weight: normal; text-align: left; background-color: #D3D8DC; padding: 2px 0px 2px 10px; border-top: 4px #346699 solid; } ..rightboxbody { padding: 7px 7px 0px 7px; } ..rightboxbody p { font-family: Arial, Helvetica, sans-serif; color: #000000; font-style: normal; font-size: 11px; font-weight: normal; } /* end right */ p { margin-bottom: 10px; line-height: 16px; } #header { background-color: #eaeaea; color: #333; margin: 0px; padding: 0px 0px 0px 0px; height: 66px; background-image: url("../images/header/header.jpg"); background-position: left top; background-repeat: no-repeat; } #headertoprightutility { background-color: #F9F3CF; text-align: right; float: right; position: relative; width: 160px; background-image: url("../images/header/utility_leftEdge.gif"); background-repeat: no-repeat; background-position: left top; padding-right: 20px; padding-top: -10px; } ..phonelogin ul li { font-size: 10px; font-family: Arial, Helvetica, sans-serif; /*list-style-image: url("../images/header/phoneDirectory.gif");*/ background-repeat: no-repeat; padding: 0px 0px 0px 0px; /* height: 16px;*/ list-style-position: outside; } /* SEARCH FORM start */ #searchform { width: 185px; margin: 0; padding: 0; position: relative; top: 40px; left: 750px; } #searchform .textinput{ float: left; width: 160px; border: 1px solid gray; } #searchform .submit { float: right; height: 14px; width: 17px; background-image: url("../images/header/search_submit.gif"); background-repeat: no-repeat; border: none; padding: 0px 0px 0px 0px; position: relative; top: 5px; } /* SEARCH FORM end */ /* Start Login Breadcrumb Date bar*/ #LoginBreadcrumbDateGrey { border-top: #999999 10px solid; height: 20px; background: #fff; color: #333; padding: 10px 0px 12px 0px; } #LoginBreadcrumbDateBlue { border-top: #336699 10px solid; height: 20px; background: #fff; color: #333; padding: 10px 0px 12px 0px; } #LoginBreadcrumbDateOrange { border-top: #D78A49 10px solid; height: 20px; background: #fff; color: #333; padding: 10px 0px 12px 0px; } #LoginBreadcrumbDateYellow { border-top: #CCCC66 10px solid; height: 20px; background: #fff; color: #333; padding: 10px 0px 12px 0px; } #LBCWelcome { width: 208px; float: left; display: inline; margin: 0px 12px 0px 0px; padding: 3px 10px 0px 1px; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-style: normal; text-indent: 15px; text-align: left; line-height: 10pt; } ..login { text-decoration: none; color: #3366CC; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-style: normal; } #LBCBreadcrumb { float: left; margin: 0px 12px 0px 0px; width: 456px; display: inline; top: 30px; background: inherit; padding: 3px 10px 0px 10px; } ..LBCBreadcrumbContent { display: inline; color: #3366CC; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-style: normal; text-align: left; line-height: 10px; } ..LBCBreadcrumbnavigation { display: inline; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; text-align: left; line-height: 10px; } ..LBCBreadcrumbContenthref { color: #336799; font-family: inherit; font-size: inherit; font-style: inherit; text-align: inherit; line-height: inherit; text-decoration: none; } #LBCDate { display: inline; float: left; margin: 0px 0px 0px 0px; width: 208px; color: #000000; padding: 3px 10px 0px 10px; text-align: right; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-style: normal; } /* End Login Breadcrumb Date bar */ /* Start Nagigation Bar */ img { border: none; } ..clear { clear:both; } #navcontainer { margin: 0 auto; width: 686px; padding-top: 18px; clear: both; padding-left: 170px; } #navMenu { display: inline; margin: 0; padding: 0px; position: relative; z-index: 5; } #navMenu li { float: left; display: inline; } a.navHome, a.navHome-a { display: block; float: left; width: 94px; height: 27px; background: url("../images/topnav/home.png"); background-repeat: no-repeat; } a.navHome-a { background: url("../images/topnav/home.png") 0px 28px; } a.navProgramsAndDepartments, a.navProgramsAndDepartments-a { display:block; float:left; width:173px; height:27px; background: url("../images/topnav/programs-departments.png"); background-repeat:no-repeat; } a.navProgramsAndDepartments-a { background: url("../images/topnav/programs-departments.png") 0 28px; } a.navFormsAndTools, a.navFormsAndTools-a { display:block; float:left; width:126px; height:27px; background: url("../images/topnav/forms-tools.png"); background-repeat:no-repeat; } a.navFormsAndTools-a { background: url("../images/topnav/forms-tools.png") 0 28px; } a.navEmployeeCorner, a.navEmployeeCorner-a { display:block; float:left; width:129px; height:27px; background: url("../images/topnav/employee-corner.png"); background-repeat:no-repeat; } a.navEmployeeCorner-a { background: url("../images/topnav/employee-corner.png") 0 28px; } /* End Nagigation Bar */ /* Start footer */ #footer { color: #9D9D9D; border: 1px solid #888; float: left; background: #EFEFEF; margin: 12px 2px 10px 6px; font-family: Arial, Helvetica, sans-serif; width: 940px; height: 25px; padding: 6px 0px 0px 0px; text-align: center; font-style: italic; } ..flist li { display: inline; list-style-type: none; text-decoration: none; border-right: 1px solid #888; padding-left: 7px; padding-right: 6px; padding-top: 3px; padding-bottom: 3px; font-style: normal; } ..flist li.first { font-style: italic; border: none; } ..flist li.last { border: none; } ..footerlinks { font-family: Arial, Helvetica, sans-serif; font-size: 9pt; text-decoration: none; color: #3366CC; } #bug { clear: both; font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #646464; background: url("../images/footer/nav_footer_logo.gif") 0px 0px no-repeat; padding-left: 35px; padding-top: 10px; margin: 20px 0px 10px 10px; } /* End footer */ -- best Mark Sealey, Senior Software Engineer J Paul Getty Trust, Los Angeles California <www.getty.edu>
Received on Friday, 26 September 2008 08:55:38 UTC