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 color="#001c35" style="background-color:#001c35; -webkit-text-size-adjust: none;">

  <style type="text/css">
    body { margin: 0; padding: 0;}
    table {border-collapse: collapse;}
    div, p, a, li, td { -webkit-text-size-adjust:none; }
    a { cursor: pointer;}
    .ReadMsgBody { width: 100%;}
    .ExternalClass {width: 100%;}
    .ExternalClass * {line-height: 100%; mso-line-height-rule:exactly;} 
    @media screen and (max-width: 479px) {
      *[class='hide'] { display:none !important; }
      *[class='stack'] {display:block !important;}
      *[class='width320'] { width: 320px !important; }
      *[class='width290'] { width: 290px !important; }
    }
  </style>

  <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#001C35">
    
    <!-- Preheader -->
    <tr align="center">
      <td valign="top">
        <table width="600" class="width320" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#001C35">
          <tr>
            <td>
              <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="center" style="font-family:Arial, Helvetica, sans-serif; font-size:13px; font-weight:bold; color:#6baddf">
                    <br/> Email Title
                  </td>
                </tr>
                <tr>
                  <td align="center" style="font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#6baddf;">
                    Can't see your images? Click <a href="%%view_email_url%%" target="_blank" style="text-decoration:underline; color:#7f98a4;">here</a></td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td valign="top">
              <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" height="15" border="0" style="display: block;" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>

    <!--header logo -->
    <tr align="center">
      <td>
        <table width="600" class="width320" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#001C35" style="border:solid 2px #6baddf">
          <tr>
            <td valign="top">
              <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" height="15" border="0" style="display: block;" alt="" />
            </td>
          </tr>          
          <tr>
            <td>
              <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
                <tr>            
                  <td valign="top" class="hide" style="line-height:1;">
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="170" height="40" border="0" style="display: block;" alt="" />
                  </td>
                  <td valign="top" class="width320" align="center">
                    <a href="" target="_blank" style="text-decoration:none; display:block;"><img src="" border="0" style="display: block; color:#6baddf; font-size:18px;font-family:Arial, Helvetica, sans-serif" alt="HEADER" height="40" /></a>
                  </td>
                  <td valign="top" class="width320" >
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif"  width="170" height="40" border="0" style="display: block;" alt="" />
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>

    <!--menu -->
    <tr align="center">
      <td>
        <table width="600" class="width320" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#6baddf" style="border:solid 1px #6baddf; border-bottom: solid 1px #001c35;">
          <tr>
            <td valign="top" class='width320' style="font-size:16px; color: #ffffff; line-height: 1.5; margin:0; font-family: Helvetica, Arial, sans-serif;">
              <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top"  align="center">
                  MENU 1  
                  </td>
                  <td valign="top" class="hide"  align="center">
                  MENU 2  
                  </td>
                  <td valign="top" align="center">
                  MENU 3  
                  </td>                  
                </tr>
              </table>
            </td>
          </tr>
        </table>


        <table width="600" class="width320" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#6baddf" style="border:solid 1px #6baddf">
          <tr>
            <td>
              <!--LEFT BODY BORDER -->
              <table width="15" class="hide" align="center" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top" width="15">
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="15" border="0" style="display: block;" alt="" />
                  </td>
                </tr>
              </table>
            </td>

            <td>
              <table width="560" class="width290" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#6baddf">
                <tr>
                  <td>
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="290" height="20" border="0" style="display: block;" alt="" />
                  </td>
                </tr>
                <tr>
                  <td>
                    <table width="560" class="width290" align="center" border="0" cellspacing="0" cellpadding="0" bgcolor="#6baddf">
                      <tr>
                        <td valign="top" style="font-family: Helvetica, Arial, sans-serif;">
                          <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td valign="top" class="width290">
                                <a href="" target="_blank" style="text-decoration:none; display:block;">
                                  <!-- placeholder image -->
                                  <img src="" border="0" style="display: block; background:#000000; color:#6baddf; font-size:18px;font-family:Arial, Helvetica, sans-serif" alt="Image goes here" width="560" height="220px" class="width290" />
                                </a>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="290" height="20" border="0" style="display: block;" alt="" />
                              </td>
                            </tr>
                            <tr>
                              <!-- placeholder title -->
                              <td valign="top" align="left" style="font-size:20px; color: #ffffff; line-height: 1.25; font-weight: bold; margin:0; font-family: Helvetica, Arial, sans-serif;">
                                TITLE GOES HERE
                              </td>
                            </tr>

                            <tr>
                              <td>
                                <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="100%" height="10" border="0" style="display: block;" alt="" />
                              </td>
                            </tr>
                            <tr>
                              <!-- placeholder content -->
                              <td valign="top" align="left" style="color:#001c35; font-size: 15px; line-height: 1.3; font-family: Helvetica, Arial, sans-serif;">
                                Prosciutto salami pork ribeye pork belly strip steak rump ham shankle filet mignon venison. Porchetta kielbasa chuck leberkas <a href="" target="_blank" style="text-decoration:none;color:#ffffff;"> Sample text button</a>cow salami. Shankle strip steak tri-tip meatloaf tenderloin. Meatloaf leberkas shoulder andouille kielbasa beef jerky swine salami spare ribs. Sausage ball tip short loin chuck.
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="100%" height="20" border="0" style="display: block;" alt="" />
                              </td>
                            </tr>
                            <tr>
                              <td valign="top" align="left" bgcolor="#6baddf">
                               <!-- button, make yours at https://buttons.cm/ -->
                                <div><!--[if mso]>
                                  <v:rect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://" style="height:40px;v-text-anchor:middle;width:200px;" stroke="f" fillcolor="#001C35">
                                    <w:anchorlock/>
                                    <center>
                                  <![endif]-->
                                      <a href="http://"
                                style="background-color:#001C35;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:40px;text-align:center;text-decoration:none;width:200px;-webkit-text-size-adjust:none;">BUY ALL THE THINGS!</a>
                                  <!--[if mso]>
                                    </center>
                                  </v:rect>
                                <![endif]-->
                                </div>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td>
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="100%" height="20" border="0" style="display: block;" alt="" />
                  </td>
                </tr>

              </table>
            </td>

            <td>
              <table width="15" class="hide" align="center" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <!--RIGHT BODY BORDER -->
                  <td valign="top" width="15">
                    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" width="15" border="0" style="display: block;" alt="" />
                  </td>
                </tr>
              </table>
            </td>
          </tr>
         
        </table>
      </td>
    </tr>
    
    <tr>
      <td valign="top">
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/95802/spacer.gif" height="50" border="0" style="display: block;" alt="" />
      </td>
    </tr>     

  </table>
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console