You are not logged in.
Hi,
My websites are in XHTML Strict.
When I use Xinha editor and I put on an alignement button (center, left, justify, ...), the HTML code is :
<p align="justify">
.....
</p>
Is it possible to have :
<p style="text-align: justify;...."> //you can have more CSS style
....
</p>
EDIT :
There is the same problem with strong, size.
Actually, I have a post-generation and I would like to integrate to Xinha.
Thanks
Last edited by yuccaone (2011-02-07 05:34:31)
Offline
You should not expect Xinha to output HTML in compliance with any particular standard, how such styles are applied is largely up to the browser itself.
Your best bet is to clean up such styles to your own preferences by using regular expressions etc in your application logic.
James Sleeman
Offline