Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


<h4>Commonly used Attributes and Styles that has poor support in Outlook 2007/2010/2013/2016</h4>

<table width="300" border=1><tr><td background="" width="200" style="color:#ffffff;background-color:#555555;" height=80>#1. Table Background Image</td></tr></table><BR>

<table width="300" border=1><tr><td height=80 style="background-image:url(;color:#ffffff;background-color:#555555;">#2. CSS background-image</td></tr></table><BR><BR>

#3. Font family applied to outer table does not cascade to inner table.
<table border=1 cellpadding=5><tr><td style="font-family: Courier, monospace;">Outer table - abcdefghijklmnop
<table border=1 cellpadding=5><tr><td>Inner table - abcdefghijklmnop</td></tr></table>

#4. 350px wide image scaled to 200px using CSS (not supported by Outlook)<BR>
<img src="" style="width:200px;"><BR><BR>

350px wide image scaled to 200px using width attribute (supported)<BR>
<img src="" width=200><BR><BR>

#5. Width &amp; height of div not supported
<div style="border:2px solid #888888;width:400px;height:150px;"><BR>
#6. Link as button. Padding, border-radius and<BR> display:inline-block not supported<BR>
<a href="" style="background-color:#FF9933;padding:15px;display:inline-block;border-radius:15px">This is a link</a>

#7. floats do not work in Outlook (img float:left)
<table border=1 width=300><tr><td>
<img src="" width=70 height=80 style="float:left"> The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.</td></tr></table><BR><BR>

<table width="100%" style="max-width:400px;" border=1><tr><td>
#8. 100% width table with max-width:400px<BR> (max-width not supported)

#9. TR or TD with font-size:0 &amp; line-height:0 produces white line (row 2 &amp; 4)
<table width="300" style="background-color:red;color:white">
<tr height=20><td>Row 1</td></tr>
<tr height=20 style="font-size:0;line-height:0"><td>&nbsp;</td></tr>
<tr height=20><td>Row 3</td></tr>
<tr height=20><td height=20 style="font-size:0;line-height:0">&nbsp;</td></tr>
<tr height=20><td>Row 5</td></tr>

#10. Outlook converts margin-top &amp; margin-bottom on table to margins on cells
<table><tr><td bgcolor="#aaaaaa">
<table width="300" border=1 style="margin-top:30px;margin-bottom:30px;">
<tr><td>Row 1</td></tr>
<tr><td>Row 2</td></tr>
<tr><td>Row 3</td></tr>