Skip to content

Instantly share code, notes, and snippets.

@yxchai
Last active March 4, 2018 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yxchai/f2aaf9bcd1bc78009bcf7603bd814937 to your computer and use it in GitHub Desktop.
Save yxchai/f2aaf9bcd1bc78009bcf7603bd814937 to your computer and use it in GitHub Desktop.
Outlook Page Break Gap Testing File
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<!-- This xmlns code is needed for VML like that used in bullet proof buttons and backgrounds -->
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<!-- For Media Queries -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Use the latest (edge) version of IE rendering engine -->
<meta name="x-apple-disable-message-reformatting" />
<!-- Disable auto-scale in iOS 10 Mail entirely -->
<style type="text/css">
/* CLIENT-SPECIFIC STYLES */
body, table, td, a {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
-ms-interpolation-mode: bicubic;
}
/*Forces Outlook.com to display normal line spacing*/
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%;
}
/* RESET STYLES */
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
}
table {
border-collapse: collapse !important;
}
body {
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
th {
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
}
/* iOS BLUE LINKS */
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
/* MEDIA QUERIES */
@media screen and (max-width: 480px) {
.mobile-hide {
display: none !important;
}
.mobile-center {
text-align: center !important;
}
}
/* ANDROID CENTER FIX */
div[style*="margin: 16px 0;"] {
margin: 0 !important;
}
</style>
<!-- Outlook 120 dpi -->
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>
<body style="margin:0; padding:0; width:100% !important;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" valign="top"><table cellpadding="0" cellspacing="0" border="0" width="500">
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td><img src="https://placebear.com/g/500/300" alt="alt text" width="500" height="300" border="0" style="display:block;" /></td>
</tr>
<tr>
<td align="center" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:20px; mso-line-height-rule:exactly; line-height:25px; color:#1b1b1b; padding:10px 0 10px 0;"> I love bear very much. <br>
And I'm a hero placeholder </td>
</tr>
<tr>
<td align="center" valign="top" height="3000"><table cellpadding="0" cellspacing="0" border="0" width="500">
<tr>
<td valign="top" align="left" width="350"><table cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/300" alt="alt text" width="350" height="300" border="0" style="display:block;" /></td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/900" alt="alt text" width="350" height="900" border="0" style="display:block;" /></td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/300" alt="alt text" width="350" height="300" border="0" style="display:block;" /></td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/300" alt="alt text" width="350" height="300" border="0" style="display:block;" /></td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/300" alt="alt text" width="350" height="300" border="0" style="display:block;" /></td>
</tr>
<tr>
<td><img src="https://placebear.com/g/350/300" alt="alt text" width="350" height="300" border="0" style="display:block;" /></td>
</tr>
</table></td>
<td valign="top" align="left"><table cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). </td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. <br>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
<tr>
<td align="left" valign="top" style="font-family:Helvetica, Arial, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:18px; color:#1b1b1b; padding:10px 0 10px 0;">This Cell is for any text related content. Change as needed.</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment