RE: W3C Validator Fehlermeldung: there is no attribute BACKGROUND
Hintergründe sind im stinknormalen HTML gar nicht für Tabellenzellen vorgesehen
Dementsprechend ist "background = " auch nicht valide und falsch und sollte auch nicht benutzt werden.
Schreib "class = X" rein und definiere das Hintergrundbild in einer CSS Klasse dann sollte das auch gehen + valide sein
Original von ClOuDy.
genauer gesagt xhtml mag das nicht. normales html schon. steht doch da, dass dein doctype normalerweise dieses attribut nicht unterstützt.
da ist übrigends ein button, der dir den quelltext automatisch säubert.
Ich wüsste nicht das es einen Doctype von W3C gibt, welcher "background" im td-tag unterstützt, sei es HTML oder xHTML.
Lasse mich gerne eines besseren belehren.
If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.
After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.
In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.
Sign up now and enjoy the advantages as a registered member.
(This website will be ad-free after a complete free sign up.)