The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML disappearing
daniel@beeline
post Mar 11 2016, 05:15 AM
Post #1





Group: Members
Posts: 1
Joined: 11-March 16
Member No.: 24,060



I know nothing about HTML so can you tell me why this code seems to produce a grey background when copying and pasting it into the email tool but when saving it changes to a white background? Is it something to do with the HTML having two versions of the background? "background-color: #F2F2F2"> and background-color: rgb(255, 255, 255); In fact the tool seems to be removing the <body style="background-color: #F2F2F2"> when we save it




<body style="background-color: #F2F2F2">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateContainer" style="border-collapse: collapse; border: 0px; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(242, 242, 242);">
<tr>
<td align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templatePreheader" style="background-color: rgb(255, 255, 255);" class="style3">
<tr>
<td valign="top" class="preheaderContainer" style="padding-top: 9px;">
<img alt="Mohr email header" src="http://www.watkiss.com/files/4514/5743/1336/Mohr_emailhead.png" width="600" height="113" class="style8" /><br />
<br />
<img alt="" src="http://www.watkiss.com/files/4014/5743/5772/Mohr_from_Watkiss.png" width="600" height="257" /><br />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateHeader" style="border-collapse: collapse; border-top-width: 0px; border-bottom-width: 0px; background-color: rgb(255, 255, 255);">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 11 2016, 06:50 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,134
Joined: 9-August 06
Member No.: 6



Nope. Know nothing about your email program. In a browser the body background is a light gray, as you probably already know. The other background colors are for the tables and don't affect body.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th February 2019 - 08:15 PM