|
Prev: help with forms
Next: Div container
From: X452 on 2 Jan 2006 06:15 Validation on DW8 and W3C raises this one with me Error C:\CFusionMX7\wwwroot\TOnline\index.cfm The tag: "td" doesn't have an attribute: "background" in currently active versions. :: Doctype Validation :: On XHTML Transitional validation picked up 64 errors, changing my doctype to HTML 4 Trans. Loose reduced me to 11 errors (which I am working through) but the above issue is nagging me I dont know how to fix it anyone with some idea? See a portion of the code below and the website addy is http://www.thompsons.co.za <body> <cfinclude template="header.cfm"> <table width=770 border=0 cellpadding="0" cellspacing="0"> <tr> <td colspan=2 valign="bottom"><!---------------special----------------> <table border="0" cellpadding=0 cellspacing=0> <tr valign="top"> <td><img src="images/specials_landing.gif" width="370" height="28" alt="Special Travel Package" border="0"></td> </tr> <tr> <td background="images/background1.jpg" class="back" width=370 height=189><!----Landing Special---> <cfinclude template="landingspecial.cfm"> <!----end nested table---> </td> </tr> </table> <!---------------end landing special------------> <br> </td> <td width=3> </td> <td colspan=2 valign="bottom"><!-----------flight widget--------------> <cfinclude template="flightsform.cfm"> <!-----------end flight widget----------> <br></td> </tr> <!-----------bottom page links START -------------> <cfinclude template="bottom.cfm"> <!-----------bottom page links end -------------> </table> <cfinclude template="footer.cfm"> </body> </html>
From: jojo on 2 Jan 2006 06:18 X452 wrote: > Validation on DW8 and W3C raises this one with me > Error C:\CFusionMX7\wwwroot\TOnline\index.cfm The tag: "td" doesn't have an > attribute: "background" in currently active versions. Background is deprecated, you should be setting this from your style sheet not the (x)html document. -- Cheers jojo Team Macromedia Member Volunteer for Dreamweaver 8 http://www.webade.co.uk http://www.cmsforbusiness.co.uk ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ----------------------------------------------------
From: X452 on 2 Jan 2006 06:29 I have now made the suggested change to add the background as a css element and added that to the td but still picks up the error. www.thompsons.co.za/indexdev.cfm cfinclude file on the indexdev.cfm is flightsformdev.cfm
From: jojo on 2 Jan 2006 06:34 X452 wrote: > I have now made the suggested change to add the background as a css element and > added that to the td but still picks up the error. > www.thompsons.co.za/indexdev.cfm Are you looking at the background-image error? This is also deprecated, you should have NO styling in your page, it should all be in the style sheet. -- Cheers jojo Team Macromedia Member Volunteer for Dreamweaver 8 http://www.webade.co.uk http://www.cmsforbusiness.co.uk ---------------------------------------------------- Extending Knowledge, Daily. http://www.communityMX.com/ Free 10 day trial http://www.communitymx.com/joincmx.cfm ----------------------------------------------------
|
Pages: 1 Prev: help with forms Next: Div container |