SharePoint 2010

Friday, July 8, 2011

Scrolling content instead of a huge page...

I was faced with a serious dilemma. I needed to create a design that had a framed content area that was scrollable. I had no idea how to do this initially but as I thought about it and used the crap out of f12, I found the following solution to start me on the right path.

The following code will make it so that the content area of your SharePoint site is fully scrollable instead of being a 4000 pixel tall beast. This code, combined with some framing code that I will post later, has sofar created an elegant solution to fully customize your entire design.



Code:
.s4-ca.s4-ca-dlgNoRibbon
{
    overflow-y: scroll;
    width: auto;
    height: 460px;
    }

No comments:

Post a Comment