...

View Full Version : Really fast table spacing question!



TWiStEDxMEtAL
11-12-2012, 02:21 AM
I have a table width of 675, which is 25 pixels larger than the two images across. (I want a gray border down each side of the table.)

These two images across have a small gap between, the same goes for the YouTube embed section.

I just want to --><-- push the images together so its a clean invisible divide. The two box arts will be separate links, and the YouTube video has to be surrounded by spacers so its looks as one.

http://i50.tinypic.com/opv7rr.jpg

And here, where it is three across. One image, a video, and another small image.

http://i45.tinypic.com/rlaqz6.jpg

Quick response would be really great. I have come here in the past for help, and I really appreciate it!

TWiStEDxMEtAL
11-12-2012, 03:31 AM
Says there was a reply, but I don't see it?

VIPStephan
11-12-2012, 10:16 AM
First of all, your use of tables is not correct, because using tables for layout is stupid (http://www.hotdesign.com/seybold/). Tables are meant to structure data, not create a page layout.

That said, we can’t really help you unless you provide us your code.

TWiStEDxMEtAL
11-12-2012, 07:49 PM
First of all, your use of tables is not correct, because using tables for layout is stupid (http://www.hotdesign.com/seybold/). Tables are meant to structure data, not create a page layout.

That said, we can’t really help you unless you provide us your code.

It's really not that stupid... I make email newsletters. Tables display better in older browsers.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The Paperboy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="http://www.esssalesinfo.com/Warner/images/ESS.ico">

</head>

<table border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#666666">
<tr>
<td valign="top" bgcolor="">
<!--introduction-->
<tr>
<td align="center" valign="top" width="650" height="35" bgcolor="" style="color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 16px;"><b><br>Millennium Entertainment Presents - The Paperboy</tr>
</table>
<!--/introduction-->

<table border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#666666">
<tr>
<td valign="top" bgcolor="">
<!--textheader-->
<tr>
<td align="center" valign="top" width="650" height="30" bgcolor="" style="color: #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 14px;">Please <a target="_blank" href="paperboyfull.html" style="color: #ffffff;">click here</a> to view this email in a browser.
</td>
</tr>
</table>
<!--/preheader-->

<body bgcolor="#fff3e8" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (paperboy.psd) -->
<table id="Table_01" width="650" height="2235" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#666666">
<tr>
<td colspan="4" align="center">
<img src="images/paperboy_01.png" width="650" height="231" style="display:block;" border="0" alt="The Paperboy"></td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="paperboydvd.html" target="_blank">
<img src="images/paperboy_02.png" width="275" height="532" style="display:block;" border="0" alt="Click Here to View DVD Box Art"></a></td>
<td colspan="2" align="center">
<a href="paperboybr.html" target="_blank">
<img src="images/paperboy_03.png" width="375" height="532" style="display:block;" border="0" alt="Click Here to View Blu-Ray Box Art"></a></td>
</tr>
<tr>
<td colspan="4" align="center">
<a href="paperboycombo.html" target="_blank">
<img src="images/paperboy_04.png" width="650" height="93" style="display:block;" border="0" alt="Click Here to View DVD+Blu-Ray+Digital Combo Box Art"></a></td>
</tr>
<tr>
<td colspan="4" align="center">
<img src="images/paperboy_05.png" width="650" height="263" style="display:block;" border="0" alt="Synopsis"></td>
<tr>
<td colspan="4" align="center">
<a href="paperboyss.html" target="_blank">
<img src="images/paperboy_06.png" width="650" height="320" style="display:block;" border="0" alt="Click Here to View Photo Gallery"></a></td>
</tr>
<tr>
<td colspan="4" align="center">
<img src="images/paperboy_07.png" width="650" height="124" style="display:block;" border="0" alt=""></td>
</tr>
<tr>
<td colspan="4" align="center">
<img src="images/paperboy_08.png" width="650" height="40" style="display:block;" border="0" alt=""></td>
</tr>
<tr align="center">
<td>
<img src="images/paperboy_09.png" width="44" height="317" style="display:block;" border="0" alt=""></td>
<td colspan="2">
<a href="http://www.youtube.com/watch?v=PLUht03yAb0&feature=plcp">
<img src="images/paperboy_vidbox.jpg" width="560" height="315" style="display:block;" border="0" alt=""></a></td>
<td>
<img src="images/paperboy_11.png" width="44" height="317" style="display:block;" border="0" alt=""></td>
</tr>
<tr>
<td colspan="4" align="center">
<a href="http://thepaperboy-movie.com/" target="_blank">
<img src="images/paperboy_12.png" width="650" height="102" style="display:block;" border="0" alt="Click Here to View Website Page"></a></td>
</tr>
<tr>
<td colspan="4" align="center">
<img src="images/paperboy_13.png" width="650" height="212" style="display:block;" border="0" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="44" height="1" style="display:block;" border="0" alt=""></td>
<td>
<img src="images/spacer.gif" width="231" height="1" style="display:block;" border="0" alt=""></td>
<td>
<img src="images/spacer.gif" width="331" height="1" style="display:block;" border="0" alt=""></td>
<td>
<img src="images/spacer.gif" width="44" height="1" style="display:block;" border="0" alt=""></td>
</tr>
<tr>
<td valign="top" colspan="4" bgcolor="" align="center">
<!--introduction-->
<table border="0" cellspacing="0" cellpadding="15" bgcolor="#666666">
<tr>
<td align="center" valign="middle" width="650" height="160" bgcolor="" style="color: #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 16px;">You have received this e-mail from ESS because either you or your organization have
provided your e-mail address in order to receive release information from various
home entertainment studios that subscribe to ESS’s database of decision makers.
Should you wish to not receive these communications, please reply to this e-mail
with “Unsubscribe” and the reason in the body of the e-mail.
<p><b>ESS - 5115 Douglas Fir Rd. - Unit K - Calabasas, CA 91302 - 818-992-8400</b></p>

<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" bgcolor="">
<!--introduction-->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" width="625" height="20" bgcolor="" style="color: #999; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 16px;"><a target="_blank" href="http://www.essemail.com/" style="color: #999;"><b>www.essemail.com</a></td>
</tr>
</table>
<!--/disclaimer-->
</table>

</table>
<!-- End Save for Web Slices -->
</body>
</html>

StevenHu
11-12-2012, 08:21 PM
What is the base URL? We can't see the images because we don't know what domain to prepend to the image URLs.

Oh, never mind, this is an email, not a site!

I replaced all your images with one of mine, left your dimensions to resize them, and they fit together fine, no gaps. As a matter of fact, there is no background showing around them except once further down on the left (where there's a spacer at right).

Sorry, not sure what the problem is.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum