Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Uppercase HTML tags with RTE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedUppercase HTML tags with RTE

 Post Reply Post Reply Page  12>
Author
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Direct Link To This Post Topic: Uppercase HTML tags with RTE
    Posted: 02 November 2004 at 3:27am

Can anyone tell me why the HTML tags are formatted in uppercase when using the rich text editor function of the forum but not when it is disabled.

ie. <P align="center">
vs. <p align="center">

or. <FONT
vs. <font

is this something that can be changed in the RTE?

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Direct Link To This Post Posted: 02 November 2004 at 3:33am
Why does it matter? It works doesn't it...
Back to Top
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Direct Link To This Post Posted: 02 November 2004 at 3:41am

Actually it doesn't for many of my users who's browsers require strict conformance with XHTML guidelines. Which by W3C standards for XHTML lowercase is the standard.

Back to Top
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Direct Link To This Post Posted: 02 November 2004 at 3:47am

One other thing I just found is that it does not happen when you manually enter the forum codes ie ([FONT=Arial]Arial[/FONT]) only when using the RTE buttons/menus above the message window.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 02 November 2004 at 5:25am
The RTE fetaures of the forum, use the built in RTE fetaures of the web browser.

For some reason Internet Explorer, when RTE features are enabled converts allot of HTML tags to uppercase.

The RTE fetaures of Mozilla (which I think are better and more w3c complient) don't do this.

This has nothing to do with the code in the forum as this dose not change the tags, it's Internet Explorer itself that changes it to uppper case before the message (post) is submitted.

If you have a look at the standalone version in the ASP section of this site it has a button to switch to HTML view. You can use this with verious different browsers to see how they change and format the HTML in the editor.

Even if you copy and paste lower case HTML tags into IE when in RTE mode, it will often convert them to uppercase.

This is a browser problem, and the only fix is to get onto Microsoft and get them to change their RTE implementation in IE.


Edited by -boRg-
Back to Top
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Direct Link To This Post Posted: 02 November 2004 at 10:52am

Thanks -borg-

So I guess what your saying is I would have to catch any bad tags before the insert and replace them with the correct ones.

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 02 November 2004 at 1:15pm
You may also want to check out default.asp and add a transitional doctype to it before the <html> tag. Should be understood by strict XHTML browsers and ignore the case issues.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
rx7tt View Drop Down
Groupie
Groupie


Joined: 25 October 2004
Location: United States
Status: Offline
Points: 53
Direct Link To This Post Posted: 02 November 2004 at 3:22pm

I always use a docytpe in my pages, either transitional or mobile for phone browsers. With either the tags must be in lower case to be valid XHTML by W3C standards

Quote From w3schools.com
The Most Important Differences:
XHTML elements must be properly nested
XHTML documents must be well-formed
Tag names must be in lowercase
All XHTML elements must be closed

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.