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
Description

Any ideas? The align tag is deprecated. I guess I could use styles but how would I go about doing that?

thanks!

#1

yogi_sydbma - May 4, 2008 - 12:13
Category:support request» task

ohhh yeah.. that would be neat... anyone got the code to make a button (and code)?

#2

yogi_sydbma - May 4, 2008 - 12:18
Version:5.x-1.1» 6.x-1.x-dev

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

omnyx - May 4, 2008 - 17:26
Version:6.x-1.x-dev» 5.x-1.1
Category:task» feature request

wait, why change versions?
I guess we're interested in seeing this feature implemented in both 5 and 6.

#4

ufku - May 5, 2008 - 18:02

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

mroswell - July 9, 2008 - 19:32

I used this, and added it to a drop down
style="display: block; margin-left: auto; margin-right: auto"

#6

gagarine - September 12, 2008 - 08:06

You can do simply like this, it's XHTML valide...:

%TEXT%

 
 

Drupal is a registered trademark of Dries Buytaert.