# Getting those tables nice and tight

**URL:** <https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155>\
**Category:** Uncategorized\
**Created:** [July 30, 2003, 5:41pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155 "2003-07-30T17:41:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcnasty](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@mcnasty](https://forum.kirupa.com/u/mcnasty)\
**Post date:** [July 30, 2003, 5:41pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/1 "2003-07-30T17:41:16Z")

</div>

ive got a table with four cells. ive put a link to an image in each cell. fine so far. ive set the border to “0”, the cell spacing to “0” and cell padding to “0” but there is still a tiny gap inbetween pictures. how do i solve this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 5:52pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/2 "2003-07-30T17:52:49Z")

</div>

paste ur source. Also, check the images to make sure that the heights & widths add up.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:13pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/3 "2003-07-30T18:13:27Z")

</div>

you mean paste the link of the image into a cell?  
thats what i did.

this is it [http://www31.brinkster.com/asshat/ack.html](http://www31.brinkster.com/asshat/ack.html)  
have a look at the source and tell me what you think

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:21pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/4 "2003-07-30T18:21:20Z")

</div>

Well first off you were missing the cellpadding attribute. Second off, in your HTML you had set the td height for the first row to 104 but the Image was 100px tall.

Here is what the code should look like

```php

	<TABLE cellspacing="0" cellpadding="0" border="0" height="200">
		<TR>
			<TD height="100"><IMG src="http://www31.brinkster.com/asshat/sq1.jpg" width="100" height="100"></TD>
			<TD height="100"><IMG src="http://www31.brinkster.com/asshat/sq1.jpg" width="100" height="100"></TD>
		</TR>
		<TR>
			<TD height="7"><IMG src="http://www31.brinkster.com/asshat/sq1.jpg" width="100" height="100"></TD>
			<TD height="7"><IMG src="http://www31.brinkster.com/asshat/sq1.jpg" width="100" height="100"></TD>
		</TR>
	</TABLE>

```

You still need to clean it up a bit ie (height=“7”) and stuff like but it will display correctly now.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:33pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/5 "2003-07-30T18:33:21Z")

</div>

ok cheers.  
this is what it looks like now [http://www31.brinkster.com/asshat/ack.html](http://www31.brinkster.com/asshat/ack.html)

there is still awhite border though.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:35pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/6 "2003-07-30T18:35:02Z")

</div>

umm because there is a white border on ur images…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:38pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/7 "2003-07-30T18:38:58Z")

</div>

lol. i’ll mess around with different pics , but the actual pics have a thin black border.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:42pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/8 "2003-07-30T18:42:53Z")

</div>

k, i changed the image [http://www31.brinkster.com/asshat/ack.html](http://www31.brinkster.com/asshat/ack.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:45pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/9 "2003-07-30T18:45:18Z")

</div>

and the borders go bye-bye. :p:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 6:52pm UTC](https://forum.kirupa.com/t/getting-those-tables-nice-and-tight/27155/10 "2003-07-30T18:52:55Z")

</div>

holla
