fatcatfan
09-24-2003, 10:56 AM
To serve my own nefarious purposes, I have added the custom vB code tag "float". It permits you to... well... float a section of text to the left or right of it's container, with the HTML < span style="float: {option}" >{param}< /span > Companion to the "float" tag is the "drop" flag. This drops the text which follows it to the space immediately below any floating elements, by inserting the HTML code < br clear="{param}" >. Param can be one of "left", "right", or "all" and will drop you below any floating elements on the indicated side(s). An example follows:
2
[ float=right ]this is some text
floating on the right
side of the page[ /float ][ float=left ]this
text
is
on
the
left
side
of
the
page[ /float ][ center ]this is in the center[ /center ][ drop ]right[ /drop ]and this falls just below the floating text on the right[ float=right ]also on the right[ /float ][ drop ]all[ /drop ][ center ]and this falls below all the rest[ /center ][ /code ]
2
this is some text
floating on the right
side of the pagethis
text
is
on
the
left
side
of
the
page
this is in the centerrightand this falls just below the floating text on the rightalso on the rightall
and this falls below all the rest
2
[ float=right ]this is some text
floating on the right
side of the page[ /float ][ float=left ]this
text
is
on
the
left
side
of
the
page[ /float ][ center ]this is in the center[ /center ][ drop ]right[ /drop ]and this falls just below the floating text on the right[ float=right ]also on the right[ /float ][ drop ]all[ /drop ][ center ]and this falls below all the rest[ /center ][ /code ]
2
this is some text
floating on the right
side of the pagethis
text
is
on
the
left
side
of
the
page
this is in the centerrightand this falls just below the floating text on the rightalso on the rightall
and this falls below all the rest