Heather Solomon's Blog

SharePoint 2007 Branding

Article Categories
Post Categories


  Jump to: Follow speheather on Twitter Follow Heather Solomon on Facebook
Search:  

If you specify a HTML 4.0 DOCTYPE tag in your master page, the Calendar control will present a couple of issues. First, Appointments in Week View that are longer than a 1/2 hour block, will not expand down to fill the appointment area.  Second, the All Day Event marker in Month View will push past the right border.  Click here to see examples.

I don't have a fix for the first issue. I have tried every hack and workaround that I could think of or find to force the height of the appointment, but to no avail.  I do however have a fix for the second issue.

In your custom CSS file, add the following style:
.ms-cal-workitem .contB, .ms-cal-muworkitem .contB {
 width:95%;
}

This will reduce the width of the All Day Event marker, bringing it back within the constraints of the day borders.

posted on Wednesday, February 21, 2007 10:02 AM
Comments
  •  re: All Day Event Width Display Fix for Master Pages Using DOCTYPE
    Mlota
    Posted @ 5/15/2007 10:49 AM
    Hi Heather,

    Did you ever have any luck with the first problem (height of appointment area)? This one is driving me absolutely nuts :)
  •  re: All Day Event Width Display Fix for Master Pages Using DOCTYPE
    CM
    Posted @ 1/14/2008 5:40 PM
    Thanks this fixed a problem I was just going to ignore and pretend didn't exist ;)
  •  re: All Day Event Width Display Fix for Master Pages Using DOCTYPE
    Sammy
    Posted @ 3/2/2008 8:30 PM
    Hi Heather,
    For some reason, the fix is not working for me. I am using blueband master page and belltown theme. I have also tried inserting the css script in the head section of the master page. Is there anything else that I need to do to make it work?

    Thanks
  •  re: All Day Event Width Display Fix for Master Pages Using DOCTYPE
    Chris
    Posted @ 1/8/2010 12:17 PM
    Another in the long line of Heather's patented "I wish I knew about this a week ago" posts.
Comments have been closed on this topic.

Copyright © 2005-2010. Heather Solomon.
Site design by Heather Solomon

Blog Stats:
Posts - 388
Stories - 39
Comments - 1795
Trackbacks - 183
Follow speheather on Twitter

Follow Heather Solomon on Facebook

Branding/UI/UX Courses for SharePoint taught by Heather Solomon

VIEW COURSE SCHEDULE