Log in

View Full Version : Ability to center/right align [div] tags?



Vishnal
12-28-2015, 05:42 AM
Sort of a question/suggestion, but anyway:

Is it possible to center or right align tags? I know it's possible with text (including tags that simply contain text), but I wish to center an image with text on it. For example, here is an older signature of mine that uses
and tags:

[CENTER][div=font-size:19px; font-family:Comic Sans MS; color:rgba(218, 2, 0, 0.8);]http://i.imgur.com/zTYvz.png

Here is the raw code for reference:


[div="position: relative; left:39%; top:22%;"][div=font-size:19px; font-family:Comic Sans MS; color:rgba(218, 2, 0, 0.8);]http://i.imgur.com/zTYvz.png

Though I have [center] tags wrapped around it, it is not centered. I have tried using align elements within div tags, but they do not work, either.

iirc it is possible in vB4—I think the HTML for the [div] BBCode had to be adjusted so it could be centered/right aligned? Alternatively, I recall having to create a new alignment BBCode using the following HTML (for the Replacement section): <div align="{option}">{param}</div>

If it can be fixed, or if someone can tell me how to center/right align [div] tags on here, I would greatly appreciate it.

Thank you!

Pokemon Trainer Sarah
01-01-2016, 01:46 AM
http://i.imgur.com/zTYvz.png

Created a new bbcode divalign

Works like

div is aligned to right
div is aligned to center

Hopefully that works for what you need? Let me know, Serena! :)

Vishnal
01-01-2016, 06:01 AM
http://i.imgur.com/zTYvz.png

Created a new bbcode divalign

Works like

div is aligned to right
div is aligned to center

Hopefully that works for what you need? Let me know, Serena! :)
It works! Thank you very much~