Non-CSS formatting codes

Earlier I showed how to get more control over paragraph styles, spacing, and fonts in your WordPress blog using a few copyable codes, and without having to buy WordPress’s “Custom Design” package.

Since that time, I use these codes even more, because I completely stopped renewing my Custom Design package. They went from $15 up to $30 a year.

So I’ve developed these additional paragraph codes to get almost all the effects I want. Just paste these in front of a paragraph and see the result. (Also included below are replacements for the standard <ul> and <ol> codes that don’t leave gaps before and after.)

(By the way, I recommend avoiding the “Visual” editor tab, and staying in the “Text” tab, checking the results with the “Preview Changes” button or “View post.” The visual editor corrupts HTML character codes if they occur outside tags. It’s tedious to go back in HTML then and replace every " with &quot; and so on.)

<p style="text-indent:.3in;margin:0;">

<p style="font-size:110%;font-weight:bold;font-style:italic;margin:.08in 0 0 0;">

poem line, Works Cited:
<p style="text-indent:-.3in;margin:0 0 0 .3in;">

play speech (hanging indent, like a poem but deeper):
<p style="text-indent:-.6in;margin:0 0 0 .6in;">

<p style="margin-top:.08in;margin-bottom:.08in;text-align:center;">

<p style="margin:.06in 0 .06in .6in;">

blockquote tabbed:
<p style="text-indent:.3in;margin:.06in 0 .06in .6in;">

blockquote poem line:
<p style="text-indent:-.3in;margin:0 0 0 .9in;">

blockquote play dialog…
single line:
<p style="text-indent:-.5in;margin:.06in 0 .06in 1.1in;">
first in a block of lines:
<p style="text-indent:-.5in;margin:.06in 0 0 1.1in;">
each line within in a block:
<p style="text-indent:-.5in;margin:0 0 0 1.1in;">
last in a block of lines:
<p style="text-indent:-.5in;margin:0 0 .06in 1.1in;">

ten blank spaces (about a half inch):

<ul style="margin:0 0 0 .6in;">

blockquote ul:
<ul style="margin:0 0 0 1.2in;">

<ol style="margin:0 0 0 .6in;">

blockquote ol:
<ol style="margin:0 0 0 1.2in;">


About Greg Bryant

I teach writing and literature at Highland Community College in northeast Kansas.
This entry was posted in odds & ends. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s