How to horizontally center images added through BUEditor?
omnyx - April 24, 2008 - 17:20
| Project: | BUEditor |
| Version: | 5.x-1.1 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Any ideas? The align tag is deprecated. I guess I could use styles but how would I go about doing that?
thanks!

#1
ohhh yeah.. that would be neat... anyone got the code to make a button (and code)?
#2
ohhh yeah.. that would be neat... anyone got the code to make a button to align (and code) to align the image that would be used by the editor...
repost wrong version .. cheers
#3
wait, why change versions?
I guess we're interested in seeing this feature implemented in both 5 and 6.
#4
in your themes css include a centering class:
.centered {text-align: center;}and create a button having the content:
<div class="centered">%TEXT%</div>#5
I used this, and added it to a drop down
style="display: block; margin-left: auto; margin-right: auto"
#6
You can do simply like this, it's XHTML valide...:
%TEXT%