2011-01-30, 05:52 PM
(This post was last modified: 2011-01-30, 06:08 PM by Wes the Bes.)
Hey guys, I'm posting on how to make a FULL table with all HTML Attributes intact!
I know there is already a thread posted about tables, but this one you have 100% control of everything!
First you need to create the table code.
Simple Expression:
(note items bold below are things you can change freely)
Attributes you may use in the BBCode:
Align="Left"
Align="Right"
Align="Center"
BGColor="#FF0000"
BGColor="Red"
Background="images/smilies/tongue.gif"
Border="1px"
Class="CSSTable"
width="50%"
Now you need to make the table rows!
Simple Expression:
HTML Replacement:
_______________________________________________
Lastly, you need the table columns!
Simple Expression:
HTML Replacement:
__________________
Now your tables will work, you will need the columns and row codes!!!
Please rate out of 10, I need to know where I stand!!!
I know there is already a thread posted about tables, but this one you have 100% control of everything!
First you need to create the table code.
Simple Expression:
\[table(.*?)\](.*?)\[/table\]
HTML Replacement:<table$1>$2</table>
The (.*?) (next to [table) Enables the use of attributes!(note items bold below are things you can change freely)
Attributes you may use in the BBCode:
Align="Left"
Align="Right"
Align="Center"
BGColor="#FF0000"
BGColor="Red"
Background="images/smilies/tongue.gif"
Border="1px"
Class="CSSTable"
Note to Others Wrote:Class Defines what CSS or Javascript it may follow!!!width="50px"
width="50%"
Note to Others Wrote:These attributes will also work for the codes below_______________________________________________________
Now you need to make the table rows!
Simple Expression:
\[row(.*?)\](.*?)\[/row\]
HTML Replacement:
<tr$1>$2</tr>
_______________________________________________
Lastly, you need the table columns!
Note to Others Wrote:Table columns should be inside table rows.
AKA
[row class="ARow"][col class="AColumn"]TEXT HERE[/col][/row]
Simple Expression:
\[col(.*?)\](.*?)\[/col\]
HTML Replacement:
<td$1>$2</td>
__________________
Now your tables will work, you will need the columns and row codes!!!
Please rate out of 10, I need to know where I stand!!!
http://community.mybb.com/thread-99571-p...#pid726699
I wanna a response to that thread... any help?
I wanna a response to that thread... any help?