Stretching a table image with CSS

Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Stretching a table image with CSS

 
0
  #1
Aug 21st, 2005
http://compuchat.freeownhost.com (sorry for the link, I just thought it might help if people could see the problem)

On the bottom of the page, the title of the "Who's Online" section uses the same background image as the category headers, but it tiles on 1024x768 (and others report that all the categories also tile on 1280x1024.) How can I make this stretch instead of tile with CSS?
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 1,478
Reputation: mikeandike22 is an unknown quantity at this point 
Solved Threads: 18
mikeandike22's Avatar
mikeandike22 mikeandike22 is offline Offline
Nearly a Posting Virtuoso

Re: Stretching a table image with CSS

 
0
  #2
Aug 21st, 2005
you can just do it with the table attributes, like find the table you want and <table height="w/e" width="w/e">
My Daniweb Blog: This,That, and Everything Else (Blog contest winner)

GetFirefox!
GetOpera!






Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: Stretching a table image with CSS

 
0
  #3
Aug 21st, 2005
I don't need to change the table width, I just want to stretch the background image.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 1,478
Reputation: mikeandike22 is an unknown quantity at this point 
Solved Threads: 18
mikeandike22's Avatar
mikeandike22 mikeandike22 is offline Offline
Nearly a Posting Virtuoso

Re: Stretching a table image with CSS

 
0
  #4
Aug 21st, 2005
change the image attributes the same way like you would a table, like <img and then the attributes.
My Daniweb Blog: This,That, and Everything Else (Blog contest winner)

GetFirefox!
GetOpera!






Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: Stretching a table image with CSS

 
0
  #5
Aug 22nd, 2005
But I need this to also work for different resolutions, and on top of that, it's CSS and would be <td background=whatever> if it wasn't...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Site Layout and Usability Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC