Page validation

  slowhand_1000 11:11 11 Apr 05
Locked

I've run a page through the w3 validator with the result

Line 53, column 31: there is no attribute "background"

td width="183" background="/images/splice.gif">


The speach marks after background= are in red yet there's a repeat of this background instruction in the cell below that does not get pulled up.

The person who has asked me to do the site wants it to run through the validator 100%.

Anyone any ideas. If the link to the page is required I can post that.

cheers

  slowhand_1000 11:46 11 Apr 05

I'm going to tick this resolved as the person concerned has decided I can use one of the standard 256 colours rather than using the splice which was a specific colour.

  PurplePenny 12:44 11 Apr 05

I don't understand why it hasn't flagged the second background instruction as well. The attribute "background" is a proprietary tag and is not valid.

If you are validating as Transitional you can use attribute "bgcolor" to put the colour in. It has been deprecated so if you are validating as Strict it will get thrown up as an error.

This thread is now locked and can not be replied to.

Best phone camera 2016/2017: Galaxy S7 vs iPhone 7 vs Google Pixel vs HTC 10 Evo vs OnePlus 3T vs…

1995-2015: How technology has changed the world in 20 years

These are the Best Christmas Ads and Studio Projects of 2016

Super Mario Run preview | Hands-on first impressions of Super Mario Run: Mario's iPhone & iPad…