Question:

How do u change the table background?

by  |  earlier

0 LIKES UnLike

I have a layout that i like but the tables i want to change from having a plain color to having a image. but every time i find a code, the code puts the image in the table and in the background, blocking the image that is already there. Wander if there is a code that doesn't do that and just puts it in the tables

 Tags:

   Report

2 ANSWERS


  1. <table background=URLOFIMAGE border=0 cellspacing=0>

    <tr>

    <td background=URLOFIMAGE>

    <div style=width:__px;height:__px;overflow:au...

    Here.

    </div></td></tr></table>

    Table is a table, tr is table row, td is the box, div style is the boxes width, height and overflow.  Mail for more info.


  2. Your question is not really clear, but if I understand correctly; this should solve your problem:

    <body background="image1.jpg" style="background-attachment: fixed">

    <table border="1" width="100%" id="table1" background="image2.jpg">

    </table>

    </body>

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.