You can use it inline, or as a box. Inline looks like this:
Mark your dive like this: <code><div id="code-snip">And displays like this:
Mark your dive like this: <div id="code-snip">
Block works like this:
<code>
div.codeblock {
padding: 5px;
border: 1px solid #CCC;
background-color: #EEE;
}
/* The closing tag won't display but needs to be added. */div.codeblock {
padding: 5px;
border: 1px solid #CCC;
background-color: #EEE;
}So, if there are no returns between <code> and </code> it displays inline, if their are returns between <code> and </code>, then it displays as a box. Fun!
Blessings,
Tony
It seems like I remember seeing somewhere how to enter code so it prettifies in things such as the tutorials. Is there a link somewhere? If not there should me a popup or something. Keep up the good work.
Lansing Response Action Web Designer