Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - The script insert a <br> before text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedThe script insert a <br> before text

 Post Reply Post Reply
Author
tenhultan View Drop Down
Newbie
Newbie
Avatar

Joined: 30 June 2005
Location: Sweden
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tenhultan Quote  Post ReplyReply Direct Link To This Post Topic: The script insert a <br> before text
    Posted: 30 June 2005 at 9:10pm
Hi.
I save and load my data in to a db and its works great. But my broblem is that when i use a font style like H1 and H2 and i look in the db its many blankspace before <h1> and when o look at it on the page for looking he do many blankspace in the code. så so the code is like this
 <h6>
Jallajalla








</h6>

What is wrong? when i edit the text in the editor it seems to work.

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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2005 at 5:33am
The atual HTML produced is controlled by the web browser, not any code in the RTE.

IE's API for Rich Text Editing, like all MS software, produces awful HTML code.

Try using Firefox, their Midas API for Rich Text Editing produces much cleaner better HTML.
Back to Top
tenhultan View Drop Down
Newbie
Newbie
Avatar

Joined: 30 June 2005
Location: Sweden
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tenhultan Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2005 at 7:25am
i use Firefox. but the problem is OK now. i use <span> instead of <p>

thanks
Back to Top
alpaman View Drop Down
Newbie
Newbie


Joined: 18 July 2005
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote alpaman Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 5:07pm
I know I am using an older version of the RTE, however, regardless of the browser that I am using (firefox or IE) any time I edit the HTML in the HTML mode and then post the text I end up with the mutated HTML code.
 
Do I need to switch back to the RTE view before posting?
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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2005 at 5:21pm
You do need to swich back to RTE mode before posting.

Also all browsers seem to try and re-write HTML following their own built in guidlines to how the HTML should be, this is why the HTML produced by IE is so crap.
Back to Top
 Post Reply Post Reply

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.