This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3649 - attempt to find a semi-colon before the property name. add it
Summary: attempt to find a semi-colon before the property name. add it
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://www.steveorth.info/style/style...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 05:46 UTC by Stephen Orth
Modified: 2006-09-06 04:03 UTC (History)
0 users

See Also:


Attachments

Description Stephen Orth 2006-09-04 05:46:55 UTC
Error received:
Line: 9 Context : #maincontainer

attempt to find a semi-colon before the property name. add it 

Section lists as:
#maincontainer {

     top : 0;
     color : #000000;
     background : #ffffff;
     margin : 0 auto;
     padding : 0;
     width : 700px;
     height : auto;
     border : none;
     text-align : left;

}

I have also placed this section in various locations in the CSS file, and always give the error with the new line number for the new position.  I am using the # in conjunction with other id classifications in the site and CSS, and the error is not reported.
Comment 1 Olivier Thereaux 2006-09-06 04:03:56 UTC
The problematic line, which is in your stylesheet (but you omitted when copying in your report) is:

position-relative: top:0px;

I don't think that's a correct construct in CSS.
I suspect you want something like

position: relative;
top: 0px;

Closing as "not a bug"