css and snippets | Community
Skip to main content
March 14, 2013
Solved

css and snippets

  • March 14, 2013
  • 11 replies
  • 3387 views
Can CSS be used inside of snippets? I have been trying to do this for a table snippet (expanded footer link table segmented by industry) and the styles are gone the next time I open the html editor.

Thanks,
Liz
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Liz,
Just realized that the snippet is stripping out styles.  Here's how you can get the same result -

Add your style block in the custom HTML HEAD section of the "Edit Page meta tags" dialog  as shown below -



Create snippet without style as shown below -



Place the snippet on the Landing Page (LP) and you will see the styles.  Here's my example LP with your style http://na-qe.marketo.com/lp/socialoct/raj_regression_LPWithSnippetStyle.html

11 replies

March 15, 2013
Hey Liz - are you posting the CSS into the HTML section? I'd think this would work..

<style type="text/css">
table{border:1px solid #000;}
</style>

Like that...