Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Html generated
posted

Hi,

I would like to know why the Html generated is different if I generated the code from Firefox 2.0 or IE 6 or 7.

Ex: I use Firefox with the HtmlEditor

Code = <div style="text-align: center;">test</div>

Ex2: I use IE 7 with the HtmlEditor

Code = <P align=center>test</P>

Is there a way I can force the html generation to be like Firefox, because the one from IE is not very clean and doesn't work ...

thx

Parents
No Data
Reply
  • 24497
    posted

    Hi,

    To build text, WebHtmlEditor uses htmlElement.innerHTML. That is correct that different browsers will return different values, but WebHtmlEditor is not able to analyze it and possibly fix or modify that.

Children
No Data