Reply
tables with backgrounds?
Old 02-15-2005, 01:29 PM tables with backgrounds?
Extreme Talker

Posts: 219
Location: UK, East Anglia
how to i put a image into a table like at

http://www.penguinplush.buildtolearn.net/namehere/

put this image http://www.penguinplush.buildtolearn...layout/top.bmp into the table bit where it says '[name of site here]' and repeat it all the way across?
timsquash5 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-15-2005, 02:37 PM
GrayKard's Avatar
Skilled Talker

Posts: 72
Why use an image to achive a background color? Just add this to the CSS in the td tag that surrounds that area: background-color:#d2d2d2
Adjust the hex value to suit your color needs.
GrayKard is offline
Reply With Quote
View Public Profile
 
Old 02-15-2005, 02:38 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Sherman, TX
You can do one of two ways...use the "background" attribute.
Code:
<TD BACKGROUND="image.jpg"></td>
Or use stylesheets.
Code:
td.head {
   background-image: url('image.jpg');
   background-repeat: repeat-x;
}
and
Code:
<td class="head"></td>
__________________
personal | portfolio
techwench is offline
Reply With Quote
View Public Profile Visit techwench's homepage!
 
Old 02-15-2005, 02:54 PM
Extreme Talker

Posts: 219
Location: UK, East Anglia
thank you prissed, that's what i was looking for

and the reason i didn't use background-color:#d2d2d2 graykard, was because it's not going to be just one colour
timsquash5 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to tables with backgrounds?
 

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.12047 seconds with 12 queries