SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed the instructions here for removing sharepoint's ribbon positioning system and letting the ribbon float at the top. It works great, but the height of my outer divs for my custom branding are getting set to the height of the visible window, which destroys the design. Any suggestions on how to fix this?

share|improve this question
up vote 2 down vote accepted

I thought of the answer as I was typing the question, but I went ahead and entered the question and am going to document my solution below.

I had the divs relating to my design OUTSIDE the s4-workspace and s4-bodyContainer divs. I moved them INSIDE these two divs and my divs aren't getting their height set by SharePoint's javascript anymore.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.