Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Css and Tables 1

Status
Not open for further replies.

gwillr

IS-IT--Management
Nov 4, 2003
267
CA
I need to use a background image in a table, so that i can insert other items in to the cells over the backgroud image. it works fine, but will not validate for me, since the 'background image' tag is not a valid xhtml attribute. any suggestions on how to get around this and acheive the same effect and still get validation?

Gary
 
Use CSS.

Either define a rule for your table and set the background in the rule.

or

Abandon the table and do the same thing with CSS.

or

Don't use XHTML. Try a doctype that allows the background attribute.

"I'm making time
 
Thanks for the quick response. I have it all worked out now, but have another tiny 'vanity' issue, take a looke at my other post

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top