I'm a newbie when it comes to HTML and that, but I have been trying to make my own BBCode and I've encountered some problems.
Here's a picture on how it looks:
The problem is that I can't use any other BBCodes inside of it and I can't switch to a new line by pressing enter.
I'd like some assistance to figure out on how to edit the HTML code so I can use BBCodes inside the box and to switch to new lines.
Here's the code for example and the HTML:
Code: Select all
[fieldset={COLOR},{COLOR2}]{TEXT},{TEXT2}[/fieldset]
Code: Select all
<fieldset style="width: auto; border: 1px solid #000000; padding: 10px; background-color: white; ">
<legend style="font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 1.1em; border1 1px solid #000000; padding: 4px; color: {COLOR}; background-color: {COLOR2};"><b> {TEXT}</b></legend>
<div style="margin-left: 1em;">{TEXT2}</div>
</fieldset>