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

thanks!

Comments

yogi_sydbma’s picture

Category: support » task

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

yogi_sydbma’s picture

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

omnyx’s picture

Version: 6.x-1.x-dev » 5.x-1.1
Category: task » feature

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

ufku’s picture

in your themes css include a centering class:
.centered {text-align: center;}

and create a button having the content:
<div class="centered">%TEXT%</div>

mroswell’s picture

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

gagarine’s picture

Status: Fixed » Active

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

<div style="margin: auto;">%TEXT%</div>
ufku’s picture

Status: Active » Fixed

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.