September 11, 2003

Author Playground

This is a quick crash-course into special XHTML codes for entries. If you want to change the look and feel of the text (or its spacing), you'll use a "span" tag (for inline statements... ones with no linebreaks) or a "div" tag (for anything with a linebreak). You'll use the style parameter and then some code enclosed in double quotes, separated by semicolons.

** Changing Font Styles (span tags)**

This is the simple way to change text. You can continue writing with normal text after closing the span tag.


** Making a box/grouping paragraphs (div tags) **

If you're going to have any empty lines at all, or if you want to center something, you'll have to use div tags.

Note that you can put multiple statements in that style parameter.

** Images **

Here's an image tag. Note you need to have that alt paramter in there. Use style again to get rid of borders. And close it with a space+slash+greater than sign.

Note it didn't center cause it's not in a div tag.

This has smaller, centered text, so it can be used as a caption. There has to be a blank line above captions.

** Lists **

  • Lists aren't too bad.
  • If you have text above the list, make sure there's a line of whitespace above the ul tag
  • You have to be anal with closing the li tags
  • And since there's linebreaks, you'll have to close it that weird way IF it's in a div tag.
Posted by Rick at September 11, 2003 12:00 PM
Comments
Post a Comment