Beauty of Mathematical Curiousity

Once there was a girl who thought math was pretty, and wanted to program her own games. This is her story.

Unfortunatly for her, one of her setbacks was impatience.

In this story, I lay the groundwork for a brighter tomorrow. I have prepared a basic home for my thoughts, and filled it with bright, cheery colors which hopefully don't look too awful. I have neglected spell checking, but everything looks okay. If I've misspelled something please correct me. I don't approve of careless spelling errors any more than lazy capitalization and punctuation.

Ok, here goes: code code code code

code code and some more code

I have included css for inline and blocks of code in my blog template. They are used above.
Inline:

.code { font-family: monospace; font-size: 110%; }
<span class="code">...</span>


Code block:

.codeblock { font-family: monospace; font-size: 110%; padding-left: 2em; }
<p class="code">...</p>

Now we'll do a quick check to see what horrible and bizarre effects I get by using the class code in a <p> tag, and more importantly, the class coeblock in a <span> tag.

case 1: a code class in a paragraph

case 2: a codeblock class in an inline span


I have noticed that, sadly, proper html in my widgets tends to be handled wrong.

Labels: , ,

0 comments.
Leave one.
Comments

Post a Comment