Skip to main content
Mar 14, 2013 10:01 PM UTC
Solved

css and snippets

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.
Accepted solution
Mar 15, 2013 10:10 PM UTC
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

Mar 15, 2013 8:41 AM UTC
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...
Translate