table cell question.

liunx

Guest
hi...just curious.<br />
<br />
<!-- m --><a class="postlink" href="http://www26.brinkster.com/matrix07/Test2.asp">http://www26.brinkster.com/matrix07/Test2.asp</a><!-- m --><br />
<br />
see the table Site spotlight!!! I have a question about the cell containing the image in it. Why is there extra space within the cell??? Am I doing something wrong???<br />
Thanks.<!--content-->404 error - file not found!<br />
<br />
Without being able to see the code it's difficult to know for sure but try ensuring that your </td> tags appear at the end of the cell's contents as opposed to on a newline. E.g.<br />
<td><img src=http://www.htmlforums.com/archive/index.php/"pic1.gif"></td><br />
<br />
Instead of:<br />
<td><br />
<img src=http://www.htmlforums.com/archive/index.php/"pic1.gif"> <br />
</td><br />
<br />
This sometimes makes a difference.<!--content-->Hi Matrix07,<br />
<br />
Try giving your cell and your image a size... Even if this doesnt cure you problem, it is good practise.<br />
<br />
Also, you have put a border of 1 around the concerned table... You need to get rid of that if you are going to see the table as it should be seen. ie...like the other tables on your page.<br />
<br />
good luck.<br />
<br />
Goody :)<!--content-->hey torrent...you get an error??? I just checked the page and it works now. Anyway, thanks for your reply. Hey goody974, oh yeh, I put the border there for so it'll be easier for you all to see, just for debugging purposes. I will take it off when I'm done. I will try adding the size for my image and see if that works. Thanks to you both.<!--content-->hi guys...<br />
<br />
<br />
I'd tried goody974's method and it works for that particular<br />
cell. But now my corner.gif image's cell is bigger. See the 'Site Spotlight' section. When I put the width and height of properties of the gif into the cell, it works, but then the cell below it containing the image gets bigger.<br />
(I put borders so it's clear to see). I think the 'Site Spolight' table resizes to how big the table below it is.<br />
'Wallpapers' table. Why is that??? Hope you all understand my problem. Thanks.<br />
<br />
<!-- m --><a class="postlink" href="http://www26.brinkster.com/matrix/test2.asp">http://www26.brinkster.com/matrix/test2.asp</a><!-- m --><!--content-->I get a 404 everytime I view it.<!--content-->really??? What browser are you using??? I didn't code it for Netscape yet. I'm viewing it with IE 6. Thanks for letting me know.<!--content-->IE6, but the browser version doesn't matter if I get a 404.<!--content-->you know what...I'm such an idiot...here's the site.<br />
<br />
<!-- m --><a class="postlink" href="http://www26.brinkster.com/matrix07/test2.asp">http://www26.brinkster.com/matrix07/test2.asp</a><!-- m --><!--content-->ok that is much better.<br />
<br />
first you want to know why you have so much space? well you have spacer.gif in there so that is one reason. also you did specifiy the size of those images in the cells. also you have colspan on a spacer.gif cell so that will make a difference.<br />
<br />
<tr><br />
<td rowspan="2" class="leftborder"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif"></td><br />
<td rowspan="3" class="rightborder"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif"></td><br />
</tr><br />
<br />
<td class="bottomborder" colspan="3"><img src=http://www.htmlforums.com/archive/index.php/"spacer.gif"></td><!--content-->
 
Back
Top