View previous topic :: View next topic |
Author |
Message |
bjornbak
Joined: 26 Jul 2005 Posts: 1
|
Posted: Fri Jun 11, 2010 12:38 pm Post subject: Workaround for position:relative? |
|
|
Hi
We host a booking facility for several hotel partners and portals.
We offer our partners to wrap our solution in a template loaded from their website at runtime.
As a consequence of this we can't control whether they insert our solution within a div with the style position:relative.
An example: http://test.touristonline.dk/hotelalexandra/details.do?language=da
We are experiencing the problem that the PopCalendarXP datepicker (which was suppose to be placed directly under the month dropdown in the yellow box to the left) is positioned 337px to far right and 123px to far down.
The 337px*123px match the distance from the upper left corner of the Booking frame to the upper left corner of the browser window.
Our partner uses the position:relative to middle align the page.
According this forum topic http://www.calendarxp.net/forum/viewtopic.php?t=190&highlight=relative position:relative is the reason for the misplacement of the datepicker.
Is there a way to workaround the position:relative?
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Fri Jun 11, 2010 2:11 pm Post subject: |
|
|
Just move the calendar iframe tag out of the relatively positioned div. The iframe tag can be put anywhere but better leave it alone without being enclosed by any tag other than the html body tag.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
|