Monday, January 7, 2008

Indenting text without BLOCKQUOTE or stupid list tricks

This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text.

This text should be indented. This text should be indented. This text should be indented. This text should be indented. This text should be indented. This text should be indented.

This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text. This is the normal layout for a paragraph of blog text.

Here, the styling is done inline, using a DIV tag and a different amount of indenting. NB: DIV tags go outside the P tags.

Back to normal. Back to normal. Back to normal. Back to normal. Back to normal. Back to normal. Back to normal. Back to normal. Back to normal. Back to normal.

This new technique might be used to indent the attribution line in our blockquote style, as seen here. Will have to get used to adding a BR at the end of the quoted text.
-- dummy link
Here's an example of the new blockquote styling (should be little apparent difference, but the code is cleaner).
-- dummy

Thanks to HTML Code Tutorial.

No comments:

ShareThis