MyBB Community Forums

Full Version: [MyCode] Columns MyCode compatible 1.4.x
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
That's unuseful if two columns have the same text... :\
Change your regular expression to
\[col=(.*?)\](.*?)\[/col\]

and your replacement to
<table width="100%"><tr><td><div style="width:48%; float:left;">$1</div><div style="width:48%; float:left; margin-left:4%;">$2</div> </td></tr></table>

then use as [col=Text 1]Text 2[/col]
(2009-06-04, 01:40 AM)Scoutie44 Wrote: [ -> ]Change your regular expression to
\[col=(.*?)\](.*?)\[/col\]

and your replacement to
<table width="100%"><tr><td><div style="width:48%; float:left;">$1</div><div style="width:48%; float:left; margin-left:4%;">$2</div> </td></tr></table>

then use as [col=Text 1]Text 2[/col]

Hey, thanks, I'll try this tomorrow.

Cheers,
Gene
Jag100 Wrote:Why release a product which isn't finished?

ummm.. Its a finished product BTW, you can call it a Bug, that needs to be fixed Smile
Scoutie tried to fixed this, I not tested yet, But I assume that it will done the clue
Duplicate Column Bug Fixed:
=====================
I fixed the duplicate column Bug, so now you can add the two different sentences in two columns, I realize now that your browser must be open to greater than 900 pixels for it to work, otherwise the second column drops down below the first.
Please read the first post to get the Fixed MyCode
Thankyou
Pages: 1 2