calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Wed Mar 23, 2005 10:57 pm Post subject: [PopCalendarXP]Why the horizontal scroll bar keep showing up in a right-to-left directed page? |
|
|
If you set the dir property of your body tag to "RTL", all contents in a page will start show from right to left, which is the natual layout for some regional culture. e.g.
Code: | <body dir="rtl">
...
</body> |
However, because the original position of the calendar tag is set as "left:-500px", the page will now show up the horizontal scroll bar. To fix it, simply set it to "left:3000px" instead. e.g.
Code: | <iframe name="gToday:normal:agenda.js" id="gToday:normal:agenda.js"
src="ipopeng.htm" scrolling="no" frameborder="0"
style="visibility:visible; z-index:999; position:absolute; top:-500px; left:3000px">
</iframe> |
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|