calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Tue Feb 15, 2005 7:32 pm Post subject: [PopCalendarXP]How come the calendar does not show up or is offseted at a weird location in IE6? |
|
|
1st, please make sure the calendar iframe tag is NOT surrounded by other html tags except the <body> tag - the best practice is to place it right after your page's <body> tag.
2nd, if the problem still exists most likely the calendar's popup trigger (button or image or input) was within a relative-positioned tag - it's a well-known css bug of IE. To work around, you just need to add the following rules to your css file (suppose the id of the relative-positioned tag is myTagId).
Code: | * html #myTagId {height: 1%;} /* for IE/Win */
*>html #myTagId {height: auto;} /* for IE5/Mac */ |
Of course you may use css class rule .myTagClass instead of the id rule #myTagId, but you must keep the "* html" prefix to make the fix apply to IE without affecting the other browsers.
This workaround is also known as "Holly Hack", you may follow the link for details if you are interested.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|