Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Really fast table spacing question!

    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.



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



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

  • #2
    New Coder
    Join Date
    Jul 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Says there was a reply, but I don't see it?

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,701
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    First of all, your use of tables is not correct, because using tables for layout is stupid. 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.

  • #4
    New Coder
    Join Date
    Jul 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    First of all, your use of tables is not correct, because using tables for layout is stupid. 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.

    Code:
    <!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>

  • #5
    Regular Coder
    Join Date
    Jun 2011
    Location
    CA
    Posts
    105
    Thanks
    0
    Thanked 10 Times in 10 Posts
    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.
    Last edited by StevenHu; 11-12-2012 at 08:41 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •