Print Page | Close Window

Problem with RTE in a <DIV>

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=26077
Printed Date: 28 March 2026 at 8:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem with RTE in a <DIV>
Posted By: ghostlight
Subject: Problem with RTE in a <DIV>
Date Posted: 06 August 2008 at 4:34pm
Hi there. I recently downloaded RTE and I'm evaluating it for a site. The site I am testing on is built using DIVs and CSS; the RTE code sits inside the main content layer. However, when I run the page the iFrame popups for font, size, etc, appear well below the textarea to which the RTE toolbar is attached.
 
I've looked inside the RTE_javascript.asp file and changed the CSS position of the iFrame elements from 'absolute' to 'fixed' or 'static', which does ensure that the iFrames pop up where expected, but the whole textarea, along with the toolbars are shifted down in the form. This doesn't happen if the whole form is not inside a DIV.
 
Has anyone else experienced this and is there a workaround?
 
Thanks in advance,
Paul



Replies:
Posted By: InLine
Date Posted: 17 October 2008 at 11:04am
I have the same problem and would be very happy to find a solution :-)


Posted By: InLine
Date Posted: 18 October 2008 at 3:22pm
Nevermind, I figured it out.
 
You have to remove the functions getOffsetTop & getOffsetLeft from RTE_javascript.asp (function FormatText) and position the iframes with css.



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