MyBB Community Forums

Full Version: [MyCode] Fieldset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Credit: http://mybbarena.it/showthread.php?tid=50

Preview
[Image: p4TWrDo.png]

Go to MyCode page and add a new MyCode:

Title: Fieldset
Short Description: Add a table fieldset style

Regular Expression:

\[fieldset=(.*?)\](.*?)\[/fieldset\]

Replacement:

<table style="width: 100%;">
<td>
<fieldset style="background: #fff; border-radius: 3px;">
<legend><strong>$1</strong></legend>$2</td>
</fieldset>
</tr>
</table>

Save MyCode