2009-06-04, 09:33 AM
This will arrange a paragraph into columns. It uses CSS3. This means that only certain browsers will see the columns. However, browsers that don't support CSS3, such as IE, will just see it as normal text; it won't break or anything, they'll just miss out on the effects.
Regular expression:
Replacement:
And obviously have it activated/enabled.
Then you would do this:
for three columns, or
for five columns, or
for a million columns... you get the idea. Don't really need to see a screenshot, it's basically like a newspaper
Also, I'm not totally sure about the (.*?) stuff and whether that's secure, if it isn't, please, tell me
Regular expression:
\[column=([0-9]+?)\](.*?)\[/column\]
Replacement:
<div style="-moz-column-count: $1; -webkit-column-count: $1;">$2</div>
And obviously have it activated/enabled.
Then you would do this:
[column=3]Text here[/column]
for three columns, or
[column=5]Text here[/column]
for five columns, or
[column=1000000]Text here[/column]
for a million columns... you get the idea. Don't really need to see a screenshot, it's basically like a newspaper
Also, I'm not totally sure about the (.*?) stuff and whether that's secure, if it isn't, please, tell me