Unstoppable Domains

HTML Tables Question

Spaceship Spaceship
Watch

deevan

New Member
Impact
0
I have three images I want to have as the background of a table.

This gradient should hug the top of the cell:
TZ201004124541254.jpg


This should hug the bottom of the cell:
TZ201004124541661.jpg


And this should be in the middle, spanning:
TZ201004124541583.jpg


So it should look like this in the background, but adjust to the amount of content in the page:
TZ201004130216549.jpg


The little white part in the middle should expand, and all of this should be in the background.

I want to restrain this image to 800 wide, so I can require it as a php file in another page.

I need to be able to put a table on top of this so I can put content in that table, and it still be written above those images.

Right now I'm using static images, which look really bad and I don't want to have to create a whole bunch of images every time I need to change or create a page.

cliffs: want to create a table on top of another table, where the rows/columns don't effect each other, and the bottom table image background expands/contracts (with a min-height) depending on content.

HELP!!!! :x:
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You have been reported for bad language. As far as your query goes, look into CSS
 
0
•••
Ok, fixed.

"Look into CSS" is slightly general.
 
0
•••
well you want three "div"s:

top div
content div
bottom div

the top and bottom divs should have the "background-image" property set as their respective images and the content div should have the remaining image repeated on the y axis. Sorry, it's difficult to explain. Look for some tutorials
 
0
•••
Aww thanks for the help.

Jesus.

Stupid me, asking a question on a help forum.
 
0
•••
im confused with what you want.

Surely, you can just put the middle cel as a bacground image, so it auto expands with the content?

and if you want table on a table, use layers? Im guess you using dreamweaver? Tehy are on the toolbar :)
 
0
•••
Albino said:
im confused with what you want.

Surely, you can just put the middle cel as a bacground image, so it auto expands with the content?

and if you want table on a table, use layers? Im guess you using dreamweaver? Tehy are on the toolbar :)
I dont understand why you want a table on another table?

just have a table with 3 rows...

Code:
<table width="800">
  <tr>
    <td style="background-image: http://imageserver4.textamerica.com/user.images.x/84/IMG_476484/Big/_1004/TZ201004124541254.jpg;">THIS IS THE HEADER</td>
  </tr>
  <tr>
    <td style="background-image: http://imageserver4.textamerica.com/user.images.x/84/IMG_476484/Big/_1004/TZ201004124541583.jpg;background-repeat: repeat-y;">CONTENT HERE</td>
  </tr>
  <tr>
    <td style="background-image: http://imageserver4.textamerica.com/user.images.x/84/IMG_476484/Big/_1004/TZ201004124541661.jpg;">FOOTER</td>
  </tr>
</table>
that will do what you want
 
0
•••
I say don't even go with tables, but use a div instead. (three divs actually)

Your code will be much easier to understand, and it'll be smaller as well.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back