PDA

View Full Version : Help with some custom BBcode


WorldCraft
09-27-2012, 06:59 PM
Hello. I'm trying to implement some BBcode where a user can place an image to the far right of their posts, without the post text moving the image.

At first I thought it'd just be as simple as:
<img align="right" src="{param}" /img>

While it does provide the intended result, I would like that the quote "box" wrap around the image as well, so that it doesn't interfere with the new post.

http://gyazo.com/f59a42b87393dcd44323ca7f919aa3eb.png?1348778075

https://vborg.vbsupport.ru/external/2012/09/8.png

Is there a way to make the post format nicely when quoted? Thanks.

nerbert
09-27-2012, 10:09 PM
Maybe try <img style="float:right;" ................

WorldCraft
09-28-2012, 04:15 AM
Already tried that, you get the same result. ...............

nerbert
09-28-2012, 10:01 AM
Go to the "bbcode_quote" template. you will see three nested divisions before you get to any content. Try adding style="min-height:200px;" to each of those divisions in turn and see which one works, then adjust the value until it looks right for your image.