Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Preventing break before text in posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Preventing break before text in posts

 Post Reply Post Reply
Author
Mevad View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mevad Quote  Post ReplyReply Direct Link To This Post Topic: Preventing break before text in posts
    Posted: 30 November 2005 at 2:11pm
Minor format issue...
 
Sometimes (not all the time) a break (or something) is inserted before the text of a post, even though the user is not entering one.
 
Anyone know what causes this, and how it might be resolved? I can't seem to locate the relevant code, hopefully someone can point me in the right direction.
 
Thanks to borg by the way, for all your work. It's much appreciated!
Back to Top
Mevad View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mevad Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2005 at 9:54am
No one else has this prob?
 
I've tested it several times, and without entering a break, one often appears once posted. Although the preview will show it without the preceding break.
 
Odd that it doesn't happen 100% of the time though...
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: 06 December 2005 at 10:49am
This can be down to a number of things as the WYSIWYG (RTE) Editor is quite complex.

It could be due to yoru web browser, or it maybe that you have anti-add/popup software, or even your firewall is injecting code into your web pages that you vew which is coursing the problem.
Back to Top
seanlail View Drop Down
Groupie
Groupie


Joined: 01 December 2004
Location: United Kingdom
Status: Offline
Points: 101
Post Options Post Options   Thanks (0) Thanks(0)   Quote seanlail Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2005 at 4:05pm
I have seen exactly the same thing.
Even on this forum.

It's to do with <p> being inserted before the text.

I have no idea how to fix it though Confused

But it's food for thought.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2005 at 5:11pm
I did something with an older version of the rte to change the size of the paragraph spacing. Where the rte inseted a <p>, I changed it to insert <p class="rteP">

Then on the stylesheet for the page it was displayed on, I included
rteP {margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:2px;}

Lead me not into temptation... I know the short cut, follow me.
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.