Warning: The author of this contribution does not provide support for it anymore.

divbox

div_box_example.png
Description
Enables the use of coloured boxes and text within posts for layout purposes.

Example: [divbox=yellow]This is my divbox[/divbox]

  • For "color" you can use the name of the color that you want such as gray, blue, white or use the HEX code like #FF6A00 etc.
  • Text colour can be changed in the normal way using the 'Font colour' BBCode.
  • Images can be added to divboxes by use of the 'Img' BBCode.

Experimentation is the key ;)

Public performance attribution has been waived.

Settings

BBCode Usage: Select all
[divbox={COLOR}]{TEXT}[/divbox]

HTML Replacement: Select all
<div style="background-color:{COLOR}; border:1px solid black; margin:10px 10px; padding-left: 5px; padding-right: 5px;">{TEXT}</div>

Help Line: Select all
[divbox=#color]TEXT[/divbox]
  • Revisions
    Version
    phpBB Version(s)
  • divbox 1.0.0
    1.0.0
    3.0.x
    Validation time: Mar 21, 2013 4:06 am

    BBCode Usage: Select all
    [divbox={COLOR}]{TEXT}[/divbox]

    HTML Replacement: Select all
    <div style="background-color:{COLOR}; border:1px solid black; margin:10px 10px; padding-left: 5px; padding-right: 5px;">{TEXT}</div>

    Help Line: Select all
    [divbox=#color]TEXT[/divbox]
cron