• Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

Table background image problem.

ArrEmmDee

Well-Known Member
This is either the wrong forum/belongs in a sticky, or this will fly over everyone's heads. I know it flies right over mine. I'm having an issue with regards to my table background images being W3C XHTML 1.0 compliant. Apparently,
Code:
<td background="/image.png">
is non-compliant.

Here's where the error is;

Code:
<td
 style="text-align: right; width: 99px; height: 13px;"
 colspan="4"
 background="http://img61.imageshack.us/img61/3383/stick3gw.png">

And this is the error message for the validation (BTW, don't mind the site it's sort of intentionally generic, I seriously hate using the three column layout and I'm actually about to abandon this layout but now this td background issue is bothering me). Also, as you can see, I use the background attribute multiple times, so if it requires CSS which I've never really done before, I have a feeling I will get confused.

Any assistance is appreciated, and sorry if it's the wrong forum or if this belongs in a sticky. :E
 

ArrEmmDee

Well-Known Member
Yes! That solves it, and it'll be much easier to fix all the other background images in this format than to use a whole CSS sheet like the other sites were recommending.

Thanks x1000.
 

JKaizer

Ready for a new day
On an unrelated note, try and locally host your images.

Imageshack isn't the *most* reliable.
 
Top