cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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.

            
              <div style="width:900px; text-align:left; margin: 0px auto 0px auto; padding:20px;">

<span class="navpart">Tables and Lists</span>

<br />

<div class="left">

<table style="float:left; margin:0px 20px 10px 0px; border-spacing:7px; border-collapse:separate; padding:0px;" class="showbor"><tr>
<td class="showbor" style="padding:5px;">1</td>
<td class="showbor" style="padding:5px;">2</td>
</tr><tr>
<td class="showbor" style="padding:5px;">3</td>
<td class="showbor" style="padding:5px;">4</td>
</tr></table>

&lt;table class="cssclass"&gt;

&nbsp;

&lt;tr&gt;

&nbsp;

&lt;td class="cssclass"&gt;1&lt;/td&gt;

&nbsp;

&lt;td class="cssclass"&gt;2&lt;/td&gt;

&nbsp;

&lt;/tr&gt;

&nbsp;

&lt;tr&gt;

&nbsp;

&lt;td class="cssclass"&gt;3&lt;/td&gt;

&nbsp;

&lt;td class="cssclass"&gt;4&lt;/td&gt;

&nbsp;

&lt;/tr&gt;

&nbsp;

&lt;/table&gt;

<br /><br />

<table style="float:right; margin:0px 0px 10px 20px; border-spacing:7px; border-collapse:separate; padding:0px;" class="showbor"><tr>
<td rowspan="2" class="showbor" style="padding:5px;">1</td>
<td colspan="3" class="showbor" style="padding:5px;">2</td>
</tr><tr>
<td class="showbor" style="padding:5px;">3</td>
<td class="showbor" style="padding:5px;">4</td>
<td class="showbor" style="padding:5px;">5</td>
</tr></table> 

&lt;table class="cssclass"&gt;

&nbsp;

&lt;tr&gt;

&nbsp;

&lt;td rowspan="2" class="cssclass"&gt;1&lt;/td&gt; 

&nbsp;

&lt;td colspan="3" class="cssclass"&gt;2&lt;/td&gt;

&nbsp;

&lt;/tr&gt;

&nbsp;

&lt;tr&gt;

&nbsp;

&lt;td class="cssclass"&gt;3&lt;/td&gt; 

&nbsp;

&lt;td class="cssclass"&gt;4&lt;/td&gt; 

&nbsp;

&lt;td class="cssclass"&gt;5&lt;/td&gt;

&nbsp;

&lt;/tr&gt;

&nbsp;

&lt;/table&gt; 

<br /><br />

<span class="bolet">Cell Spacing:</span>

&nbsp; 

border-spacing:0px; 

&nbsp;

border-collapse:collapse;

&nbsp; 

border-collapse:separate;

<br /><br />

<span class="bolet">Lists:</span>

&nbsp; 

&lt;ol class="css_class"&gt;
&nbsp; 
&lt;li&gt;item here&lt;/li&gt;
&nbsp; 
&lt;li&gt;item here&lt;/li&gt;
&nbsp; 
&lt;/ol&gt;

<br />

&lt;ul class="css_class"&gt;
&nbsp; 
&lt;li&gt;item here&lt;/li&gt;
&nbsp; 
&lt;li&gt;item here&lt;/li&gt;
&nbsp; 
&lt;/ul&gt;

<br /><br />

<div style="display:inline-block; padding:0px 50px 0px 0px;">

<span class="bolet">Ordered (ol) lists:</span>

<ol style="list-style-type:decimal; margin:0px; text-align:left;">
<li>list-style-type:decimal;</li></ol>

<ol style="list-style-type:decimal-leading-zero; margin:0px; text-align:left;">
<li>list-style-type:decimal-leading-zero;</li></ol>

<ol style="list-style-type:upper-alpha; margin:0px; text-align:left;">
<li>list-style-type:upper-alpha;</li></ol>

<ol style="list-style-type:lower-alpha; margin:0px; text-align:left;">
<li>list-style-type:lower-alpha;</li></ol>

<ol style="list-style-type:upper-roman; margin:0px; text-align:left;">
<li>list-style-type:upper-roman;</li></ol>

<ol style="list-style-type:lower-roman; margin:0px; text-align:left;">
<li>list-style-type:lower-roman;</li></ol>

</div>

<div style="display:inline-block;">

<span class="bolet">Unordered (ul) lists:</span>

<ul style="list-style-type:none; margin:0px; text-align:left;">
<li>list-style-type:none;</li></ul>

<ul style="list-style-type:disc; margin:0px; text-align:left;">
<li>list-style-type:disc;</li></ul>

<ul style="list-style-type:circle; margin:0px; text-align:left;">
<li>list-style-type:circle;</li></ul>

<ul style="list-style-type:square; margin:0px; text-align:left;">
<li>list-style-type:square;</li></ul>

<ul style="list-style-image:url(design/star1.gif); text-align:left;">
<li>list-style-image:url(star.gif);</li></ul>

</div>

<br /><br />

<ul style="margin:0px; list-style-image:url(design/star1.gif);">

<li class="level1"> 

<span class="bolet">Nested Lists:</span>

&lt;ul style="margin:0px;"&gt; &nbsp; 

&lt;li class="level1"&gt; level1 &lt;/li&gt; &nbsp; 

&lt;li class="level2"&gt; level2 &lt;/li&gt; &nbsp; &lt;/ul&gt;

</li>

<li class="level2"> 

li.level1 { margin:0px 0px 0px 0px; } &nbsp; 

li.level2 { margin:0px 0px 0px 30px; }

</li> </ul>

<br />

<ul style="list-style-type:none;">

<li class="b4s1 b4s0"> <span class="bolet">Before and After Pseudo Classes:</span> &nbsp; list-style-type:none; &nbsp; 

li.b4s1:before { padding-right:5px; content:"~"; font-size:14px; font-size:14px; color:#0055ff; font-weight:bold; } &nbsp; 

li.b4s1:after { padding-left:5px; content:"~"; font-size:14px; font-size:14px; color:#0055ff; font-weight:bold; } </li>

<li class="b4s2 b4s0"> li.b4s2:before { padding-right:5px; content:"\1F320"; font-size:14px; color:#ffff00; text-shadow: -1px 1px 0px #555555; } </li>

<li class="b4s3 b4s0"> li.b4s3:after { padding-left:5px; content:"\2661"; font-size:14px; color:#ffa8fc; text-shadow: -1px 1px 0px #ff3e3e; } </li>

</ul>

<div style="column-count:2; column-gap:25px; column-rule: 0px none; -moz-column-count:2; -moz-column-gap:25px; -moz-column-rule: 0px none; -webkit-column-count:2; -webkit-column-gap:25px; -webkit-column-rule: 0px none;">

<span class="spanli"> &lt;div style="column-count:2; column-gap:25px; column-rule: 0px none;"&gt; (plus vendor extensions) &lt;/div&gt; </span> <br />

<span class="spanli"> span.spanli:before { content:url(design/star2.gif); } </span> <br />

<span class="spanli"> &lt;span class="spanli"&gt;  &lt;/span&gt; &lt;br /&gt; </span> 

</div>

<br />

<span class="bolet">Special Characters:</span> &nbsp; &nbsp;

space&nbsp;&amp;nbsp; &nbsp; &nbsp;

&lt;&nbsp;&amp;lt; &nbsp; &nbsp;

&gt;&nbsp;&amp;gt; &nbsp; &nbsp;

&amp;&nbsp;&amp;amp; &nbsp; &nbsp;

&ntilde;&nbsp;&amp;ntilde; 

&eacute;&nbsp;&amp;eacute; 

<br /><br />

<span class="bolet">Unicode Special Characters:</span> &nbsp; &nbsp;

<span style="font-size:20px;">&#x2190;</span>&nbsp;&amp;#x2190; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2191;</span>&nbsp;&amp;#x2191; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2192;</span>&nbsp;&amp;#x2192; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2193;</span>&nbsp;&amp;#x2193; &nbsp; &nbsp;

<span style="font-size:20px;">&#x271e;</span>&nbsp;&amp;#x271e; &nbsp; &nbsp;

<span style="font-size:20px;">&#x21bb;</span>&nbsp;&amp;#x21bb; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2714;</span>&nbsp;&amp;#x2714; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2298;</span>&nbsp;&amp;#x2298; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2622;</span>&nbsp;&amp;#x2622; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2601;</span>&nbsp;&amp;#x2601; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2602;</span>&nbsp;&amp;#x2602; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2603;</span>&nbsp;&amp;#x2603; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2600;</span>&nbsp;&amp;#x2600; &nbsp; &nbsp;

<span style="font-size:20px;">&#x263e;</span>&nbsp;&amp;#x263e; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2661;</span>&nbsp;&amp;#x2661; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2665;</span>&nbsp;&amp;#x2665; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2662;</span>&nbsp;&amp;#x2662; &nbsp; &nbsp;

<span style="font-size:20px;">&#x25c6;</span>&nbsp;&amp;#x25c6; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2664;</span>&nbsp;&amp;#x2664; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2660;</span>&nbsp;&amp;#x2660; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2667;</span>&nbsp;&amp;#x2667; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2663;</span>&nbsp;&amp;#x2663; &nbsp; &nbsp;

<span style="font-size:20px;">&#x2606;</span>&nbsp;&amp;#x2606; &nbsp; &nbsp;

<span style="font-size:20px;">&#x266a;</span>&nbsp;&amp;#x266a; &nbsp; &nbsp;

<span style="font-size:20px;">&#x266b;</span>&nbsp;&amp;#x266b; &nbsp; &nbsp;

<span style="font-size:20px;">&#x273f;</span>&nbsp;&amp;#x273f; &nbsp; &nbsp;

<span style="font-size:20px;">&#x1f31f;</span>&nbsp;&amp;#x1f31f; &nbsp; &nbsp;

<span style="font-size:20px;">&#x1f320;</span>&nbsp;&amp;#x1f320; &nbsp; &nbsp;

</div>
  
<br />
<a href="http://azurelight.net">AzureLight.net</a> | 
<a href="http://mikaristar.deviantart.com">MikariStar.DeviantArt.com</a> | 
<a href="http://artrift.com/Mikari/">ArtRift.com/Mikari/</a> | 
<a href="http://miliazure.wordpress.com">MiliAzure.WordPress.com</a>

</div>
            
          
!
            
              li.level1 { margin:0px 0px 0px 0px; }

li.level2 { margin:0px 0px 0px 30px; }

li.b4s0 { margin:10px 0px 0px 0px; }

li.b4s1:before { padding-right:5px; content:"~"; font-size:14px; font-size:14px; color:#0055ff; font-weight:bold; }

li.b4s1:after { padding-left:5px; content:"~"; font-size:14px; font-size:14px; color:#0055ff; font-weight:bold; }

li.b4s2:before { padding-right:5px; content:"\1F320"; font-size:14px; color:#ffff00; text-shadow: -1px 1px 0px #555555; }

li.b4s3:after { padding-left:5px; content:"\2661"; font-size:14px; color:#ffa8fc; text-shadow: -1px 1px 0px #ff3e3e; }

span.spanli:before { content:url(design/star2.gif); }

body { padding:0px; margin:0px; font-family:Arial; font-size:14px; line-height:20px; 
color:#393939; background-color:#c2f0ff; text-align:center; }

::-webkit-scrollbar { width: 10px; height:10px; }
::-webkit-scrollbar-track { background-color:#c2f0ff; }
::-webkit-scrollbar-thumb { border-radius: 20px; background-color:#ff9adc; border: 0px none; }

.showbor { border:0px none; border:3px dotted #ff9adc; padding:0px; } 

a { color:#ff71ce; text-decoration:none; }
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console