HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Unwrapping text for email signature
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Serv8r



Joined: 16 Nov 2007
Posts: 2

PostPosted: Mon Nov 19, 2007 11:21 am     Unwrapping text for email signature Reply with quote

Hi everyone,

New to the site and I appreciate the help!

I have a email sig that is wrapping the template/text in a table when it prints. It looks fine in an electronic version.

Here is the code. I know it has a nowrap in the code. Is it as easy as removing that???

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<style>

</style>
</head>
<body>

<p><font face= Arial><span style="FONT-SIZE: 9pt">{firstname} {lastname}, {description}
<b><span style="FONT-SIZE: 11pt; COLOR: blue"><br>
Company</span></b> <b>
<i><span style="FONT-SIZE: 9pt; COLOR: blue"><br>
Slogan</span></I></B></font></p>
<table class= 'border="0"' cellspacing="0" cellpadding="0" width="418" style="WIDTH: 313.5pt; LINE-HEIGHT: 11.25pt" id="table1">
<tr style="HEIGHT: 11.25pt" nowrap valign="bottom" width="10" height:11.25pt? padding:0in; line-height:11.25pt? >
<td style="WIDTH: 10px"><font face="Arial"><b><span style="FONT-SIZE: 9pt">Ph:</span></b></font></td>
<td width="126" nowrap><font face="Arial"><span style="FONT-SIZE: 9pt">{phone}</span></font></td>
</tr>
<tr style="HEIGHT: 11.25pt" nowrap valign="bottom" width="10" height:11.25pt? padding:0in; line-height:11.25pt?>
<td style="WIDTH: 10px"><font face="Arial"><b><span style="FONT-SIZE: 9pt">Fax:</span></b></font></td>
<td width="126" nowrap><font face="Arial" style="font-size: 9pt">fax</font></td></tr>
<tr>
<td width="10"><font face="Arial"><b><span style="FONT-SIZE: 9pt">Email:</span></b></font></td>
<td width="126" nowrap>
<font face="Arial" style="font-size: 9pt">email</font></td>
</tr>
<tr style="HEIGHT: 11.25pt" nowrap valign="bottom" width="10" height:11.25pt? padding:0in; line-height:11.25pt?
>
<td style="WIDTH: 10px"><font face="Arial"><b><span style="FONT-SIZE: 9pt">Web:</span></b></font></td>
<td width="126" nowrap>
<font face="Arial" style="font-size: 9pt">web site</font></td>
<td width="10" nowrap><font face="Arial"><b><span style="FONT-SIZE: 9pt">Blog: </span></b></font></td>
<td width="126" nowrap>
<span style="FONT-SIZE: 9pt"><font face="Arial" style="font-size: 9pt">
web site</font></SPAN></td>
</tr></TR>
</table>

<table border="0" width="58%" id="table2" cellspacing="0" cellpadding="0" bordercolor="#ffffff" height="116">
<tr>
<td width="39%" height="11" bordercolor="#FFFFFF" valign="bottom"></td>
</tr>
<tr>
<td width="39%" height="11" bordercolor="#FFFFFF" valign="bottom">
LOGO</td>
</tr>
<tr>
<td width="39%" height="11">
<p></td>
</tr>
<tr>
<td width="39%" height="20" bordercolor="#000000" style="border-top:1px solid #000000; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; padding-top: 0" valign="bottom" bordercolorlight="#000000">
<font face="Arial">NEWS &amp; UPDATES</font></td>
</tr>
<tr>
<td width="39%" height="16" bordercolor="#000000" valign="bottom">
<font face= Arial>
<b>
<span style="FONT-SIZE: 9pt">
<i><font color="#0000ff">
&nbsp;</font></i></span><i><span style="font-size: 8.5pt">Plug</span></i></b></FONT></td>

</tr>
</table>

<p><br>
&nbsp;</p></SPAN>

</body>

</html>

I would like to stay away from using CSS because I heard it gets spammed.

Thanks,

Serv8r
PayneLess Designs



Joined: 28 Feb 2007
Posts: 890
Location: Biloxi, MS

PostPosted: Sun Dec 23, 2007 3:54 pm     Reply with quote

First off, this comment
Quote:
I would like to stay away from using CSS because I heard it gets spammed.
is totally not true. Secondly, you are using tables and I suspect the printer will print your signature in table form. Printer not hooked up so not sure about this.

Thirdly, why are you using tables for such a simple email signature? If you use Outlook or Outlook Express, you can make your own email signature using their utility. Most other email clients allow a customized signature too.

Fourth, you do not have a document tag for this html page if displayed online, nor is there a print media meta tag. Most of the code used in your table tags are so outdated plus tables should not be used for a page layout.

Is the text laid out the way you want it as I may be able to strip those table tags out?

Ron

OK. Did the below. You can strip out most of the stuff like doc type and what isn't needed for an email signature:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
* { margin: 0; padding: 0; border: 0; }
body { background: #fff; font-family: arial, verdana; font-size: 9pt; }

#name { font-size: 9pt; }
#company { font-size: 11pt; font-weight: bold; color: #0000ff; }
#slogan { font-size: 9pt; color: #0000ff; font-weight: bold; font-style: italic; }

div#sub_content { width: 418px; font-size: 9pt; font-weight: bold; }
div#sub_content2 { width: 58%; height: 116px; border: 0 solid #fff; }

#news_updates { width: 39%; height:20px; border: 1px solid #000000; vertical-align: bottom; }
#plug { font-size: 8.5pt; font-weight: bold; font-style: italic; }
</style>
</head>
<body>
<p id="name">{firstname} {lastname}, {description}</p>

<p id="company">Company</p>

<p id="slogan">Slogan</p>

<p>&nbsp;</p>

<div id="sub_content">
<p>Phone: {phone #}</p>

<p>Fax:  {fax #}</p>

<p>Email: {email}</p>

<p>Web: {web site URL}</p>

<p>Blog: {web site URL}</p>
</div>

<p>&nbsp;</p>

<div id="sub_content2">
<p>LOGO</p>

<p>&nbsp;</p>

<p id="news_updates">NEWS &amp; UPDATES</p>

<p>&nbsp;</p>

<p id="plug">Plug</p>
</div>
</body></html>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial