140 lines
4.0 KiB
HTML
140 lines
4.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="initial-scale=1.0"> <!-- So that mobile webkit will display zoomed in -->
|
|
<meta name="format-detection" content="telephone=no"> <!-- disable auto telephone linking in iOS -->
|
|
<title>Single Column</title>
|
|
|
|
<style type="text/css">
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
table td {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.ExternalClass {
|
|
width: 100%;
|
|
}
|
|
|
|
.ExternalClass,
|
|
.ExternalClass p,
|
|
.ExternalClass span,
|
|
.ExternalClass font,
|
|
.ExternalClass td,
|
|
.ExternalClass div {
|
|
line-height: 100%;
|
|
}
|
|
|
|
.ReadMsgBody {
|
|
width: 100%;
|
|
background-color: #ebebeb;
|
|
}
|
|
|
|
table {
|
|
mso-table-lspace: 0pt;
|
|
mso-table-rspace: 0pt;
|
|
}
|
|
|
|
img {
|
|
-ms-interpolation-mode: bicubic;
|
|
}
|
|
|
|
.yshortcuts a {
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
@media screen and (max-width: 599px) {
|
|
table[class="force-row"],
|
|
table[class="container"] {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
}
|
|
}
|
|
@media screen and (max-width: 400px) {
|
|
td[class*="container-padding"] {
|
|
padding-left: 12px !important;
|
|
padding-right: 12px !important;
|
|
}
|
|
}
|
|
.ios-footer a {
|
|
color: #aaaaaa !important;
|
|
text-decoration: underline;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body style="margin:0; padding:0;" bgcolor="#F0F0F0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
|
|
|
<!-- 100% background wrapper (grey background) -->
|
|
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0">
|
|
<tr>
|
|
<td align="center" valign="top" bgcolor="#F0F0F0" style="background-color: #F0F0F0;">
|
|
|
|
<br>
|
|
|
|
<!-- 600px container (white background) -->
|
|
<table border="0" width="600" cellpadding="0" cellspacing="0" class="container" style="width:600px;max-width:600px">
|
|
<tr>
|
|
<td class="container-padding header" align="left" style="font-family:Helvetica, Arial, sans-serif;font-size:24px;font-weight:bold;padding-bottom:12px;color:#DF4726;padding-left:24px;padding-right:24px">
|
|
Antwort v1.0
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="container-padding content" align="left" style="padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff">
|
|
<br>
|
|
|
|
<div class="title" style="font-family:Helvetica, Arial, sans-serif;font-size:18px;font-weight:600;color:#374550">Single Column Fluid Layout</div>
|
|
<br>
|
|
|
|
<div class="body-text" style="font-family:Helvetica, Arial, sans-serif;font-size:14px;line-height:20px;text-align:left;color:#333333">
|
|
This is an example of a single column fluid layout. There are no columns. Because the container table width is set to 100%, it automatically resizes itself to all devices. The magic of good old fashioned HTML.
|
|
<br><br>
|
|
|
|
The media query change we make is to decrease the content margin from 24px to 12px for devices up to max width of 400px.
|
|
<br><br>
|
|
</div>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="container-padding footer-text" align="left" style="font-family:Helvetica, Arial, sans-serif;font-size:12px;line-height:16px;color:#aaaaaa;padding-left:24px;padding-right:24px">
|
|
<br><br>
|
|
Sample Footer text: © 2014 Acme, Inc.
|
|
<br><br>
|
|
|
|
You are receiving this email because you opted in on our website. Update your <a href="#" style="color:#aaaaaa">email preferences</a> or <a href="#" style="color:#aaaaaa">unsubscribe</a>.
|
|
<br><br>
|
|
|
|
<strong>Acme, Inc.</strong><br>
|
|
<span class="ios-footer">
|
|
123 Main St.<br>
|
|
Springfield, MA 12345<br>
|
|
</span>
|
|
<a href="http://www.acme-inc.com" style="color:#aaaaaa">www.acme-inc.com</a><br>
|
|
|
|
<br><br>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!--/600px container -->
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!--/100% background wrapper-->
|
|
|
|
</body>
|
|
</html>
|