On Mon, 12 Jan 2009 12:37:29 +1100, Marvin Hunkin wrote: > Hi. > got these three errors. > but cannot seem to fix them. > can you help. > cheers Marvin. > > W3C CSS Validator results for > file://localhost/C:\DOCS\MarvinsWebsite\styles.css (CSS level 2.1) Sorry! We > found the > following errors (3) > URI : file://localhost/C:\DOCS\MarvinsWebsite\styles.css 6 div header > Lexical error at > line 5, column 2. Encountered: "i" (105), after : "<" id="Borg; width: 400px; > margin: > 1% auto;"> } 10 div site_links Lexical error at line 9, column 2. > Encountered: "i" > (105), after : "<" id="menu margin: 0 0 1% 0;"> } > 14 div nav Lexical error at line 13, column 3. Encountered: "i" (105), after > : "<" > id="menu_other margin: 5% 0 1% 0;"> } >
It looks like you have mixed up some inline style data with your ID values. An ID attribute assigns a name to an element, must start with a letter, which can be followed by letters, digits, hyphens, underscores, colons, and/or periods. No spaces are allowed. Mind you, I don't know what CSS makes of IDs that have periods and colons in them... ? Cordially, David -- ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
