| Calendar Positioning in IE ¶ | |
| I am having some difficulty getting my calendar to position correctly in IE6 on WinXP. | |
| Re: Calendar Positioning in IE ¶ | |
| hmmm... i did a bit more checking and it appears that the strangeness i was seeing was to do with <br /> tags in IE, but only when combined with some dodgy css.. more details when i work it out, but for now please don't worry about getting a solution. Thanks, | |
| last |
| Re[2]: Calendar Positioning in IE ¶ | |
| right, as it turns out, IE doesn't calculate offsets correctly if the container box is positioned using relative and the element having the offset determined isn't also positioned using relative (or absolute.. it breaks in a different way with absolute). What happens is that IE returns the offset relative to the body, but still returns the container box as the offsetParent... confused? you will be. What i did was update the getAbsolutePos() method to take this into account and stop recursing when it hits an element in a relatively positioned box and no (static/fixed) positioning itself. The other broken bit is this: IE will append the body offset to the last absolute positioned element with a relatively positioned box between it and the body.. not that IE will give you the body offset mind :( i can't think of a way to fix this and for now, will just make sure that none of my body elements have and margins/padding... gah! | |
| last |
| Re: Calendar Positioning in IE ¶ | |
| I am having a similar problem except when I view my page locally (IE 6,XP Pro, IIS). The calendar is displaying horizontally across the entire screen. Also in Firefox 1.0(locally - IIS and Tomcat 5), there is a big empty space next to the 'next year' and 'next month' buttons, which are stacked instead of side by side. I can fix the IE problem in the style sheet(*-system.css) but it doesn't fix the Firefox issue and they may be related (as if I know..). I hardly ever post to forums but it's a great calendar and we really want to use it in our web app. | |
| last |
| Re[2]: Calendar Positioning in IE ¶ | |
| hmmm, maybe I should have added this to the Re: Resizing thread. oops, anyway, help with be greatly appreciated | |
| last |
| Re[2]: Calendar Positioning in IE ¶ | |
| I have the same exact problem. I am using DIVs heavily already tried the hack to make sure is on top and that is not the problem.. resizing it does help on mozilla but not IE. | |
| last |














