Two table problems

windows

Guest
<TABLE width="150" cellpadding="0" border="0" cellspacing="0"><br />
<TR><IMG src=http://www.htmlforums.com/archive/index.php/"./images/menutop.gif" width="150" height="30"></TR><br />
<TR background="./images/menuback.gif">hi</TR><br />
<TR><IMG src=http://www.htmlforums.com/archive/index.php/"./images/menubottom.gif" width="150" height="30"></TR><br />
</TABLE><br />
<br />
This is the source for a table I was making. I have encountered several problems here. First problem is that the 2nd row doesn't show the background image.<br />
Second problem is the 4 pixels between each row eventhough I did put the cellpadding, border and cellspacing on 0.<br />
<br />
What little thing did I forget to put in?<br />
<br />
<br />
I have another related problem:<br />
<br />
I also wanted to make a 3x3 table like this:<br />
123<br />
456<br />
789<br />
<br />
2456 and 8 are all background items (tileable)<br />
137 and 9 are corners with a size of 30x30 pixels.<br />
<br />
So I've got 9 pictures in total. How can I put these in a table and make it work (and fit perfectly). Does anyone have example source?<!--content-->Hi there Wopkeuh,<br />
<br />
your first table should be like this...:cool:<table width="150" cellpadding="0" border="0" cellspacing="0"><br />
<tr><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"images/menutop.gif" alt="" width="150" height="30"></td><br />
</tr><tr><br />
<td background="images/menuback.gif" alt="">hi</td><br />
</tr><tr><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"images/menubottom.gif" alt="" width="150" height="30"></td><br />
</tr><br />
</table>and your second table like this...:cool:<table border="1" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td ><img src=http://www.htmlforums.com/archive/index.php/"" alt="cell one" width="30px" height="30px"></td><br />
<td>two</td><br />
<td ><img src=http://www.htmlforums.com/archive/index.php/"" alt=" three" width="30px" height="30px"></td><br />
</tr><tr><br />
<td> four</td><br />
<td> five</td><br />
<td>six</td><br />
</tr><tr><br />
<td ><img src=http://www.htmlforums.com/archive/index.php/"" alt="cell seven" width="30px" height="30px"></td><br />
<td>eight</td><br />
<td ><img src=http://www.htmlforums.com/archive/index.php/"" alt="cell nine" width="30px" height="30px"></td><br />
</tr><br />
</table><br />
You might like to visit this site (<!-- m --><a class="postlink" href="http://www.mountaindragon.com/html/tables.htm">http://www.mountaindragon.com/html/tables.htm</a><!-- m -->) for some basic tables instruction :D<br />
<br />
coothead<!--content-->This resembels one of my previous tries. Didn't work then, but by copy/pasting your source it worked.<br />
<br />
Thanks for the help. I allready bookmarked your site and I'll study tables a bit more deeply.<br />
<br />
Sorry for the 'not so smart' post ;)<br />
<br />
Greetz, Wopkeuh.<!--content-->
 
Back
Top