Showing posts with label Blog Tips. Show all posts
Showing posts with label Blog Tips. Show all posts

Tuesday, May 1, 2007

Dealing with Long Posts

As you may have noted, I write long posts. To avoid clogging up the main page, I've set it up so that you can display only a portion of your post on the main page and then have the reader click on a link to read mode. To do this, add the following code to your post


The start of a really long post
<span class="fullpost">
blah, blah, blah, blah
</span>


Then only the words "The start of a really long post" will appear on the front page. The reader will have to click a link that says "Read More" in order to see the words "blah, blah, blah, blah".

Read more!

Wednesday, April 11, 2007

HTML Tips for Code

The pre HTML tag might be helpful. You can't use it in the comments, but you can use it in posts. The following HTML code should generate a cross made out of the word stuff:


<pre>
stuff
stuff stuff
stuff
</pre>

Read more!