DARK SHADOWS FORUMS

General Discussions => Testing. 1, 2, 3... => Topic started by: Midnite on September 30, 2008, 05:15:39 PM

Title: SMF BBCode basics
Post by: Midnite on September 30, 2008, 05:15:39 PM
A review of using bulletin board code tags:

Formatting changes are made by using a pair of tags, each enclosed in square brackets.  The closing or second tag begins with a /, similar to HTML tags.  When the boundaries of the tags overlap (in other words, you wish to make more than one formatting change to the same text), you can nest the tags, but in order for them to work properly in SMF, the sets of pairs must appear in descending order; this, for example, is correct placement of nested tags:
Code: [Select]
[color=red][size=10pt]TEXT[/size][/color]The ordering of the tags on each side of the text is a mirror image.

This, however, is NOT correct:
Code: [Select]
[color=red][size=10pt]TEXT[/color][/size]
Also NOT correct:
Code: [Select]
[color=red][size=10pt]TEXT [color=yellow][size=15pt]TEXT[/size][/color]because each tag does not have a corresponding closing tag.

The Testing 1,2,3 board is here for you to practice or ask questions.  [ghost_happy]
Title: Re: SMF BBCode basics
Post by: Midnite on October 02, 2008, 03:59:16 PM
To be even clearer, tags are used in pairs.  For each and every one of these:
Code: [Select]
[COLOR]there should also be one of these:
Code: [Select]
[/COLOR]