HTML Error - Background color spills all over the page

  • 1
  • Problem
  • Updated 2 years ago
Using "Insert HTML" (code below), I can get it to function properly EXCEPT that the green background for the table spills all over the entire myemma template/page. Spills into other sections, space, blank space... vexing.


table {
    border: 3px solid white;
    width: 60%; background-color: #94c948; 

    {color: white;text-decoration: none;}
    {color: white;text-decoration: underline;}    
th {
    height: 40px;


      <th style= width:30%;><p style="text-decoration: none; font-family: arial, helvetica, sansserif;font-size: 0.75em; color: white;letter-spacing: 1.5px;font-weight:bold;"><a href="">RSVP NOW</a></td>
    <th style="font-family: arial, helvetica, sansserif;font-size: 0.75em; color: white;letter-spacing: 1.5px;font-weight:bold;">DEADLINE FRIDAY, JULY 28</th>

Photo of Pat Brown

Pat Brown

  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Grey Stepp

Grey Stepp, Support Team Manager

  • 1700 Posts
  • 135 Reply Likes
Hi Pat, 

Thanks so much for reaching out! 

It looks like in the code there you're using CSS Styling.  When using the HTML block, you don’t want to add in CSS, since there’s already CSS built into the template.  So any styling you want to do for the table will need to be done in-line.  That should clear up that issue.  Give it a try and let me know how it goes!

Let me know if you have any questions going forward on that!  

- Grey