DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Bubble positioning within a center aligned container

Bubble positioning within a center aligned container

Hi, I have managed to setup the calendar and everything is working well apart from the positioning of the bubble events. They are fine if my container div is left aligned, but if I give it margin:0px auto 0px; (eg centred with fixed width) the bubbles appear to the right of the shadow by the same amount as the container div is from the left of the window. Bizarrely the shadow shows in the right place. This happens in FF2 and IE7 but haven't tried in others yet. Any help much appreciated. I'm going to try and decode your javascript and find out what the issue is but in case anyone else has a suggestion I thought I would ask. Cheers, r
Richard Wilson - 3/31/2008 2:27:01 PM
It's a known bug and it will be fixed soon (hopefully in the next release). Before it's fixed you can try placing the bubble control outside of that div.
Dan Letecky - 3/31/2008 3:52:48 PM
Thanks, it's in a site with master pages making that trickier as it doesn't seem to like having the bubble control in a different contentplaceholder than the main calendar control (have tried this). Have come up with a workaround by dissecting your javascript and overriding the positioning code for the layer and subtracting the distance required. Thanks for the prompt reply though.
Richard Wilson - 3/31/2008 4:42:50 PM
Post reply