SharePoint Masterpage items in dialogs

If you create contents to masterpage body, such as a div containing a footer, it will show in modal views (dialog windows).

To keep this from happening, add the no dialog class to the div:


<div id="footer" class="s4-notdlg">
Copyright @ 2010
</div>


-> remember to place the div before the last div (inside s4-workspace)


div#footer
{
clear:both;
text-align:center;
position:relative;
padding:10px;
}



optionally, use css negative clauses to undo the "damage":

.ms-dialog .class
{
background:none;
}


http://www.heatherwaterman.com/blog/Lists/Posts/Post.aspx?ID=23

Comments

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated