Skip to content

Instantly share code, notes, and snippets.

@brendanc
Created November 17, 2011 17:00
Show Gist options
  • Select an option

  • Save brendanc/1373740 to your computer and use it in GitHub Desktop.

Select an option

Save brendanc/1373740 to your computer and use it in GitHub Desktop.
Hiding Stuff in Web Mails
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div>
<div id="litmus-logo"><a href="http://litmus.com" border="0"><img src="http://litmus.com/images/email-logo.gif"
width="102" height="40" alt="Litmus" style="border:0;" /></a></div>
<p>This is a test email.</p>
<p>You should always see this paragraph.</p>
<p style="display:none !important;">This paragraph should be hidden. Even in gmail!!</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment