Now this is funny.
I installed fckEditor in my app cause able to output xhtml 1.0 strict on any browser...the point is that the default installation do not produce valid code at all and in the documentation I do not find any help for setting this feature that in my opinion should be the defaukt one.
Now someone knows how to set the editor in a way to get clean and valid code??????
Thank you
Andrea
I installed fckEditor in my app cause able to output xhtml 1.0 strict on any browser...the point is that the default installation do not produce valid code at all and in the documentation I do not find any help for setting this feature that in my opinion should be the defaukt one.
Now someone knows how to set the editor in a way to get clean and valid code??????
Thank you
Andrea
Re: XHTML 1.0 strict
I scanned thousand of post about the same matter......but there has never been an answer.................
Even the demo editors id demo page do not produce valid code but in the homepage the first feature of the editor is :
OUTPUT XHTML 1.0 STRICT.
Cannot be true.
Someone get clean code from the editor?????
Thanks
Andrea
Re: XHTML 1.0 strict
--serializer
Re: XHTML 1.0 strict
if I type a simple word es:
hello world the editor code :
and that's fine.
Now if a select the words and center them the editor code :
And this is not xhtml but a deprecated attribute that as you know is not validating the page.
The editor should code:
Hope is clear.
Andrea
Re: XHTML 1.0 strict
what is wrong in
in XHTML 1.0 strict? You don't know the standard, isn't it? There is this piece of DTD:
<!-- text alignment for p, div, h1-h6. The default is
align="left" for ltr headings, "right" for rtl -->
<!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">
Re: XHTML 1.0 strict
<p style="text-align:center;">Hello World</p>
instead of
<p align="center">Hello World</p> ?
Re: XHTML 1.0 strict
the w3c docs can say anything.....
Write <p align="" in a strict document and validate that.
Don't you see any error?????????????
Let me Know
Andrea
Re: XHTML 1.0 strict
Using the http://validator.w3.org/ , the <p align attribute fails against xhtml and html strict.
Validation Output: 1 Error
1. Error Line 10, Column 9: there is no attribute "align".
<p align="center"> Nicci </p>
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
Re: XHTML 1.0 strict