Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-12-2012, 02:21 AM   PM User | #1
TWiStEDxMEtAL
New Coder

 
Join Date: Jul 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
TWiStEDxMEtAL is an unknown quantity at this point
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!
TWiStEDxMEtAL is offline   Reply With Quote
Old 11-12-2012, 03:31 AM   PM User | #2
TWiStEDxMEtAL
New Coder

 
Join Date: Jul 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
TWiStEDxMEtAL is an unknown quantity at this point
Says there was a reply, but I don't see it?
TWiStEDxMEtAL is offline   Reply With Quote
Old 11-12-2012, 10:16 AM   PM User | #3
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,587
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 11-12-2012, 07:49 PM   PM User | #4
TWiStEDxMEtAL
New Coder

 
Join Date: Jul 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
TWiStEDxMEtAL is an unknown quantity at this point
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>
TWiStEDxMEtAL is offline   Reply With Quote
Old 11-12-2012, 08:21 PM   PM User | #5
StevenHu
Regular Coder

 
Join Date: Jun 2011
Location: CA
Posts: 105
Thanks: 0
Thanked 10 Times in 10 Posts
StevenHu is an unknown quantity at this point
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.
__________________
Steve Husting
http://iphonedevlog.wordpress.com

Last edited by StevenHu; 11-12-2012 at 08:41 PM..
StevenHu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:19 PM.


Advertisement
Log in to turn off these ads.