Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2011-02-07 05:29:50

yuccaone
New member
Registered: 2011-01-04
Posts: 6

Paragraph align and XHTML validation

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

#2 2011-02-07 19:04:18

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Paragraph align and XHTML validation

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

Board footer

Powered by FluxBB