2010-02-20, 02:47 AM
(2010-02-20, 02:31 AM)elim Wrote: [ -> ]Therefore the challenge is still there: find a way to layout inserted attached image nicely: [float=right]..[/float]
http://community.mybboard.net/thread-650...#pid467938
(2010-02-20, 02:31 AM)elim Wrote: [ -> ]Therefore the challenge is still there: find a way to layout inserted attached image nicely: [float=right]..[/float]
(2010-02-19, 11:20 PM)Scoutie44 Wrote: [ -> ]Regular Expression;Scoutie44, Thanks a lot!
\[float=(.*?)\](.*?)\[/float\]
Replacement;
<span style="float: $1;">$2</span>
(2010-02-19, 11:20 PM)Scoutie44 Wrote: [ -> ]Regular Expression;Don't do that, unless you don't mind users injecting CSS onto your board.
\[float=(.*?)\](.*?)\[/float\]
Replacement;
<span style="float: $1;">$2</span>
[align=right][url=whatever][img]whatever[/img][/url][/align]
Or nest the URL around the image:[url=whatever][img align=right]whatever[/img][/url]
(2010-02-21, 12:50 AM)Yumi Wrote: [ -> ]You can use the built in align tag, eg:
Or nest the URL around the image:[align=right][url=whatever][img]whatever[/img][/url][/align]
[url=whatever][img align=right]whatever[/img][/url]
(2010-02-21, 12:50 AM)Yumi Wrote: [ -> ](2010-02-19, 11:20 PM)Scoutie44 Wrote: [ -> ]Regular Expression;Don't do that, unless you don't mind users injecting CSS onto your board.
\[float=(.*?)\](.*?)\[/float\]
Replacement;
<span style="float: $1;">$2</span>
\[float=(left|right)\](.*?)\[/float\]
(2010-02-21, 01:25 PM)querschlaeger Wrote: [ -> ]Thats what the thread starter wanted! The Problem is, that you can add the align-parameter only with [img]-MyCode, not in [url], [b], [i], ... So you have to create a new MyCode [float=left/right]Oh I see now. I missed that.