Print Page | Close Window

RTE XHTML Transitional Compliant

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=16740
Printed Date: 28 March 2026 at 9:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: RTE XHTML Transitional Compliant
Posted By: Amateur
Subject: RTE XHTML Transitional Compliant
Date Posted: 29 September 2005 at 9:47am
I am attempting to make my RTE editor XHTML Transitional compatible or as close as possible to it..
 
I have a couple problems:
  1. When the return is key pressed, a <div> tag is produced. According to the Transitional guidelines, it needs an id. How could I go about producing a unique id for each tag?
  2. My other problem is that the tags are rendered in upper case, while the guideline states lowercase, how can I change such?

Help would be very gratefully accepted.




Replies:
Posted By: WebWiz-Bruce
Date Posted: 29 September 2005 at 10:37am
It's the browsers own built in RTE API that produces the HTML code, so until the browser is updated to produce better HTML you are stuck with what you get.

IE produces very bad HTML code, where as Firefox produces much cleaner HTML.

Hopefully Microsoft will have sorted out this problem and maybe even made it XHTML compliant with IE 7, but I've not had chance to test IE 7 yet to see what if any improvements MS have made in the RTE API within IE.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Amateur
Date Posted: 29 September 2005 at 11:36am
Originally posted by -boRg- -boRg- wrote:

It's the browsers own built in RTE API that produces the HTML code, so until the browser is updated to produce better HTML you are stuck with what you get.

IE produces very bad HTML code, where as Firefox produces much cleaner HTML.

Hopefully Microsoft will have sorted out this problem and maybe even made it XHTML compliant with IE 7, but I've not had chance to test IE 7 yet to see what if any improvements MS have made in the RTE API within IE.
 
Thanks borg. Its outside of my hands so I can forget that idea for the moment!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net