Skip Ribbon Commands
Skip to main content

Quick Launch

nextFLOW > BLOG > Posts > SharePoint 2010 Wiki Site Height Issue with custom CSS
Juli 13
SharePoint 2010 Wiki Site Height Issue with custom CSS

​Issue:

When using a custom css file for SharePoint 2010, it can happen that the content of a WIKI site is not displayed correctly.

It specially happens in the case, if you are using a background image or a custom background color.

WikiStyleCSS.png
 
Solution:
 
Open the masterpage file v4.master and add the following JavaScript Code at the bottom of the file, right before the </body> tag:
 
 <script type="text/javascript">  
    var mainAreaHeight = document.getElementById('s4-mainarea').offsetHeight;
    document.getElementById('MSO_ContentTable').style.height = mainAreaHeight + 'px';
 </script>
 
 
 

Comments

There are no comments for this post.