Preformatted Text & Code
Preformatted Text
Typographically, preformatted text is not the same thing as code. Sometimes, a faithful execution of the text requires preformatted text that may not have anything to do with code. Most browsers use Courier and that's a good default.” with one slight adjustment, Courier 10 Pitch over regular Courier for Linux users. For example:
"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
Code
Code can be presented inline, like
<?php bloginfo('stylesheet_url'); ?>
, or within a
<pre>
block. Because we have more specific typographic needs for code, we'll specify Consolas and Monaco ahead of the browser-defined monospace font.
#container {
float: left;
margin: 0 -240px 0 0;
width: 100%;
}
Blockquotes & Pullquotes
Let's keep it simple. Italics are good to help set it off from the body text (and italic Georgia is lovely at this size). Be sure to style the citation.
A young Jedi named Darth Vader, who was a pupil of mine until he turned to evil, helped the Empire hunt down and destroy the Jedi knights. He betrayed and murdered your father. Now the Jedi are all but extinct. Vader was seduced by the dark side of the Force."
- Obi-Wan Kenobi
“Give a man a fish, and feed him for a day… Don’t teach a man to fish and feed yourself… He’s a grown man, fishing’s not that hard.”- Ron Swanson
Ea nec quis idque nostro, nostrum detraxit ius ex, fugit facilisi vim ex. Nec no natum democritum, eam quidam evertitur te. Quo solet expetendis cu. Pro sumo corpora at. Vel appellantur theophrastus an, ad vix meis instructior.
Soluta delicata quo in, ei sea stet maluisset.
Eos quod scripta no, veri novum consectetuer eam et, affert verear vix id. Inani dissentiunt ei vel, ut consul facete democritum nec. Putent placerat ut usu, omittam concludaturque pri an. In vix dico habemus.
And here's a bit of trailing text.