cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <body leftmargin="0" topmargin="0" rightmargin="0" bgcolor="#edeae7" width:100%>

<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#edeae7">
  <tr>
    <td align="center">
    
    <!--[if (gte mso 9)|(IE)]><table border="0" cellspacing="0" cellpadding="0" width="640"><tr><td align="center"><![endif]-->
    
     <table border="0" cellspacing="0" cellpadding="0" style="max-width: 640px" class="width100pc">
          <tr>
             <td align="center">

              <br><br><b>EXAMPLE EMAIL CODE GOES HERE</b><br><br>

              <table border="0" cellspacing="0" cellpadding="0" width="100%" class="width100pc-">
                <tr>
                  <td style="font-family: arial; font-size:14px; text-align:left; color:#000001;" class="bgFF0004-centertext-fontsize18-padding20-whitetext-"><b>HELLO</b></td>
                </tr>
              </table>
    
    
    
</td></tr></table>  

<!--[if (gte mso 9)|(IE)]></td></tr></table><![endif]-->    
      
</td></tr></table>

  
</body>
</html>
            
          
!
            
              <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
    
<style type="text/css">
/* standard resets */
div, p, a, li, td {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}
body {
    margin: 0;
    padding: 0;
}
table td {
    border-collapse: collapse;
}
.ExternalClass {
    width: 100%;
}
.ExternalClass * {
    line-height: 110%
}
img {
    -ms-interpolation-mode: bicubic;
}
table {
    margin: 0 auto;
}

/* remove blue link on IOS */

@media only screen {
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;
}
}

/* Yahoo and apple mail reset on desktop */

@media screen and (min-width: 600px) {
.wrapto640px {
    width: 640px !important;
    height: auto !important;
}
}

/* responsive rules */

@media screen and (max-device-width: 640px), screen and (max-width: 640px) {
/*core examples*/
*[class^='wrapto100pc-'] {
    width: 100% !important;
    height: auto !important;
}
*[class^='colsplit-']{
    width: 100% !important;
    display: block !important;
    height: auto !important;
}

/*extra*/
*[class*='bgFF0004-']{
    background-color: #FF0004 !important;
}
*[class*='bg000000-']{
    background-color: #000000 !important;
}
*[class*='nobg-']{
    background-image:none !important;
}
*[class*='border-']{
    border: #000000 thin solid !important;
}
*[class*='padding10-']{
     padding: 10px !important;
}
*[class*='padding20-']{
     padding: 20px !important;
}
*[class*='paddingtop10-']{
      padding-top: 10px !important;
}
*[class*='paddingbottom10-']{
      padding-bottom: 10px !important;
}
*[class*='paddingtop20-']{
     padding-top: 20px !important;
}
*[class*='padding20-']{
     padding: 20px !important;
}
*[class*='height10-']{
     height: 10px !important;
}
*[class*='height20-']{
     height: 20px !important;
}
*[class*='width10-']{
     width: 10px !important;
}
*[class*='width20-']{
     width: 20px !important;
}
*[class*='whitetext-']{
     color: #ffffff !important;
}
*[class*='blacktext-']{
     color: #000001 !important;
}
*[class*='centertext-']{
     text-align: center !important;
}
*[class*='lefttext-']{
     text-align: left !important;
}
*[class*='righttext-']{
     text-align: right !important;
}
*[class*='fontsize18-']{
     font-size: 18px !important;
	 line-height: 24px !important;
}
    
}

</style>
<!--[if gte mso 15]>
<style type="text/css" media="all">
tr { font-size:1px; mso-line-height-alt:0; mso-margin-top-alt:1px; }
</style>
<![endif]-->
</head>
            
          
!
            
              /* Resize your browser - This is very specific HTML email code. This is a practical illustration for an Action Rocket Lab post: http://labs.actionrocket.co 
This is an example for a robust CSS naming sysytem */
            
          
!
999px
Loading ..................

Console