Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<HTML DIR=rtl> is affecting my alert boxes

Status
Not open for further replies.

FesterSXS

Programmer
Feb 4, 2002
2,196
GB
I have a preview popup window on my site that displays a large graphic on the main frame on the right and has a smaller frame on the left with various options to do with the graphic.

The options frame on the left sometimes has a large number of options that would cause the frame to scroll on low resolution screens. Because of this I have used the code <HTML DIR=rtl> to force the scrollbar to appear on the left so it does not appear between the two frames.

My problem is this: A handful of the links in the lefthand frame trigger alert boxes and these alert boxes are appearing back-to-front because of the rtl setting. Is there anyway to stop this from happening????

Many thanks in advance
Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
thought I'd close this post with the solution I found.

I moved the DIR=&quot;rtl&quot; into the BODY tag and then surrounded the page contents with a <DIV DIR=&quot;ltr&quot;>
Code:
<HTML>
<HEAD></HEAD>

<BODY DIR=rtl>
<DIV DIR=ltr>
page content
</DIV>
</BODY>
</HTML>
Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top