Reply
Invalid attribute, background image
Old 03-28-2008, 03:25 PM Invalid attribute, background image
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Line 24, Column 60: there is no attribute "background". <table width="600" border="0" align="center" background="img/Guitar-Garage.jpg" >
Ok, so how do I get the image in the background and still have it work and validate?
Capt Quirk is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-28-2008, 05:09 PM Re: Invalid attribute, background image
angele803's Avatar
Perfectly Imperfect

Posts: 1,433
Name: Stephanie
Location: Oklahoma
you can do this:
Code:
<table width="600" border="0" align="center" style="background-image:url(img/Guitar-Garage.jpg);" >
angele803 is offline
Reply With Quote
View Public Profile
 
Old 03-28-2008, 11:01 PM Re: Invalid attribute, background image
joder's Avatar
Flipotron

Posts: 6,109
Name: James
Location: In the ocean.
CSS is the way to do layout and styling. If you use deprecated attributes why are you surprised they don't validate?

The reason it works is browsers have to work with old pages made with that code. (And all the newer pages made with bad coding).

Last edited by joder : 03-28-2008 at 11:02 PM.
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Invalid attribute, background image
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11177 seconds with 13 queries