- From: <A.Panesar-04@student.lboro.ac.uk>
- Date: Tue, 21 Feb 2006 12:32:49 +0000
- To: www-validator-css@w3.org
Dear Sir I am having problems validating my XHTML document to CSS. I get the following error: Please, validate your XML document first! Line 86 Column 33 Element type "td" must be followed by either attribute specifications, ">" or "/>". The document is a XHTML document and is valid to XHTML already. The document is also linked to an external style sheet I have copied the code of the style sheet and the document below. Any help will be much appreciated. thanking you in advance Regards Arvinder. Document code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>PMW - Reports 2</title> <link rel="stylesheet" href="PMW.css" type="text/css" /> <style type="text/css"> <!-- ..style3 { color: #FF3300; font-size: 20px; font-family: Arial; } --> </style> </head> <body bgcolor="#616161" background="patern3.jpg"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#000000"> <td colspan="4" rowspan="2" nowrap="nowrap"><img src="PMW maybe copy.jpg" alt="Header image" width="310" height="150" border="0" /></td> <td height="58" valign="bottom" nowrap="nowrap" id="logo">Project Management Website </td> <td width="4"> </td> </tr > <tr bgcolor="#000000"> <td height="57" valign="top" nowrap="nowrap" bgcolor="#000000" id="tagline"><p>Group4</p> <p align="center"><font face="Lucida Calligraphy">"Working with you, to deliver the best"</font></p> </td> <td width="4"> </td> </tr> <tr> <td colspan="6" bgcolor="#cc3300"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> </tr> <tr> <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> </tr> <tr> <td colspan="6" bgcolor="#cc3300"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td> </tr> <tr> <td colspan="6"> <br /> <br /> </td> </tr> <tr> <td width="201" valign="top" height="370"> <table border="0" cellspacing="0" cellpadding="0" width="201" id="navigation"> <tr> <td width="45"> </td> <td width="156" height="40"><a href="Sign-in.html">Sign Out </a></td> </tr> <tr> <td width="45"> </td> <td width="156" height="40"><a href="Index.html">Home</a></td> </tr> <tr> <td width="45"> </td> <td width="156" height="40"><a href="Task.html">Task</a></td> </tr> <tr> <td width="45"> </td> <td width="156" height="40"><a href="Progress.html">Progress</a></td> </tr> <tr> <td width="45"> </td> <td width="156" height="40"><a href="Members.html">Members</a></td> </tr> <tr> <td width="45"> </td> <td width="156" height="40"><a href="http://co-project.lboro.ac.uk/users/lsap2/phpBB2/index.php" target="_blank">Forum</a></td> </tr> <tr> <td width="45"> </td> <td height="40"><a href="Reports1.html">Deliverable 1 Report</a></td> </tr> <tr> <td width="45"> </td> <td height="40"><a href="Reports2.html">Deliverable 2 Report</a></td> </tr> <tr> <td width="45"> </td> <td height="40"><a href="http://co-project.lboro.ac.uk/users/lsap2/Homepage.html" target="_blank">Timetable Website</a></td> </tr> </table> </td> <td width="2" bgcolor="#C7CDDB"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td> <td width="50"><img src="mm_spacer.gif" alt="" width="50" height="1" border="0"/></td> <td colspan="2" valign="top"class="pageName"><p>Reports for deliverable 2 </p> <p class="detailText">Available on 27/2/06 </p> <p > </p> <p > </p></td> <td width="4"> </td> </tr> <tr> <td width="201"> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p></td> <td width="2"></td> <td width="50"> </td> <td width="63"> </td> <td width="277"><div align="right">Last updated <!-- #BeginDate format:Sw1 -->13 February, 2006<!-- #EndDate --> </div></td> <td width="4"> </td> </tr> </table> </body> </html> CSS Code External Style Sheet: /* Global Styles */ body { margin:0px; background-color: #616161; background-image: url(patern3.jpg); } td { font:11px arial; color:#E5AB61; } hr { height:1px; color: #cccccc; border: none; } a { color: #F8851D; text-decoration:underline; } a:hover { color: #E5AB61; text-decoration:none; } /* ID Styles */ #navigation a { color: #C7CDDB; font-weight:bold; text-decoration: none; letter-spacing:.1em; line-height:16px; display:block; padding:10px; border-right-width: 0px; border-left-width: 0px; font-family: georgia; font-size: 12px; border-top-width: 1pt; border-bottom-width: 1pt; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #4e4e4e; border-right-color: #4e4e4e; border-bottom-color: #4e4e4e; border-left-color: #4e4e4e; } #navigation a:hover { color:#ffffff; border-right-width: 0px; border-left-width: 0px; border-top-width: 1pt; border-bottom-width: 1pt; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: #ECECF1; border-right-color: #ECECF1; border-bottom-color: #ECECF1; border-left-color: #ECECF1; } #sidebarHeader { padding: 0px 4px 14px 4px; font-family: Georgia; font-size: 16px; font-weight: bold; color: #E35424; } #logo { color: #E35424; line-height:24px; letter-spacing:0.4em; font-family: "Bookman Old Style"; font-size: 22px; font-weight: bold; } #tagline { color: #C00F2B; line-height:18px; letter-spacing:0.4em; font-family: georgia; font-size: 12px; font-weight: bold; } #dateformat a { color:#99CCFF; font:11px georgia; color: #99CCFF; letter-spacing:.2em; text-decoration:none; font-weight:bold; } #dateformat a:hover { color: #ffffff; } /* Class Styles */ ..bodyText { font:11px arial; color:#E5AB61; line-height:20px; letter-spacing:0.1em; margin-top:0px; } ..pageName{ color: #E35424; line-height:23px; letter-spacing:0.1em; font-family: Arial; font-size: 22px; font-weight: bold; } ..subHeader { color: #E35424; font-weight:bold; letter-spacing:0.1em; line-height:16px; font-family: Arial; font-size: 20px; text-decoration: underline; } ..subHeader2 { color: #E35424; font-weight:bold; letter-spacing:0.1em; line-height:16px; font-family: Arial; font-size: 16px; } ..sidebarHeader { color: #C7CDDB; font-weight:bold; letter-spacing:.1em; line-height:16px; font-family: georgia; font-size: 14px; } ..detailText { color:#C7CDDB; line-height:16px; letter-spacing:.1em; font-family: Arial; font-size: 12px; font-style: normal; } ..detailText2 { color:#C7CDDB; line-height:16px; letter-spacing:.1em; font-family: Arial; font-size: 12px; font-style: normal; } ..smallText { font:10px arial; color:#E5AB61; }
Received on Tuesday, 21 February 2006 14:36:55 UTC