...

View Full Version : td background image "no attribute"



funkysig
10-28-2008, 02:56 PM
Only error I have left on page, I need the image to remain background of a table cell, how do I correct this for xhtml compliance


Line 189, Column 31: there is no attribute "background".

<td background="images/round_side.gif" class="data">

tomws
10-28-2008, 03:34 PM
That means just what it says: 'background' is not a valid attribute. I expect that you're looking for style="background:url(path/to/some.jpg);".

funkysig
10-28-2008, 03:56 PM
Thanks alot, tom

oesxyl
10-29-2008, 06:03 AM
Thanks alot, tom
why did you post this in xml forum?, I'm just curios, :)

regards

VIPStephan
10-29-2008, 12:33 PM
Maybe it was XHTML? ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum