scriptmaster
3/22/2017 - 9:11 AM

email_reset.css

<style type="text/css">
  /****** EMAIL CLIENT BUG FIXES - BEST NOT TO CHANGE THESE ********/
  
  .ExternalClass {
    width: 100%;
  }
  /* Forces Outlook.com to display emails at full width */
  .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; }
  /* Forces Outlook.com to display normal line spacing, here is more on that: http://www.emailonacid.com/forum/viewthread/43/ */
  
  body {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
  }
  /* Resets all body margins and padding to 0 for good measure */
  
  table td {
    border-collapse: collapse;
    border-spacing: 0px;
    border: 0px none;
    vertical-align: top;
  }
  /*This resolves the Outlook 07, 10, and Gmail td padding issue. Heres more info: http://www.ianhoar.com/2008/04/29/outlook-2007-borders-and-1px-padding-on-table-cells http://www.campaignmonitor.com/blog/post/3392/1px-borders-padding-on-table-cells-in-outlook-07 */
  /****** END BUG FIXES ********/
  /****** RESETTING DEFAULTS, IT IS BEST TO OVERWRITE THESE STYLES INLINE ********/
  
  body,
  #body_style {
    background: #fff;
    min-height: 1000px;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
  }
  
  html,
  body {
    line-height: 1.2;
  }
  
  p {
    font-size: 100px !important;
    font-family: cursive !important;
    color: green !important;
    background-color: magenta !important;
  }
  span {
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  i,
  b,
  a,
  ul,
  li,
  blockquote,
  hr,
  img,
  div,
  span,
  strong {
    line-height: 1.2;
    margin:0;
    padding:0;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 18px;
    color: black;
  }
  h1 {
    font-size: 24px;
    color: black;
  }
  a,
  a:link {
    color: #2A5DB0;
    text-decoration: underline;
  }
  img {
    display: block;
    border: 0 none;
    outline: none;
    line-height: 100%;
    outline: none;
    text-decoration: none;
    vertical-align: bottom;
  }
  a img {
    border: 0 none;
  }
  small {
    font-size: 11px;
    line-height: 1.4;
  }
  small a {
    color: inherit;
    text-decoration: underline;
  }
  span.yshortcuts {
    color: #000;
    background-color: none;
    border: none;
  }
  span.yshortcuts:hover,
  span.yshortcuts:active,
  span.yshortcuts:focus {
    color: #000;
    background-color: none;
    border: none;
  }
  
  a:visited {
    color: #3c96e2;
    text-decoration: none
  }
  a:focus {
    color: #3c96e2;
    text-decoration: underline
  }
  a:hover {
    color: #3c96e2;
    text-decoration: underline
  }
  </style>