domsen Posted November 22, 2011 Report post Posted November 22, 2011 Centered layout with CSS & v4.master on SharePoint 2010 /* --------------- Centred Layout START ------------------------*/ #s4-ribbonrow > #s4-ribboncont > #RibbonContainer > #Ribbon > .ms-cui-ribbonTopBars > div { width: 990px; margin: 0 auto; float: none;} #s4-bodyContainer { width: 990px; margin: 0 auto; float: none;} #s4-ribbonrow > #s4-ribboncont > #RibbonContainer > #Ribbon > .ms-cui-ribbonTopBars > div, #s4-bodyContainer > div, body #s4-titlerow > div { width: 990px; margin: 0 auto; float: none; border-right-width:0px;} .ms-cui-ribbonTopBars > div, ul.ms-cui-tabBody{ width: 990px; margin: 0 auto; float: none;} .ms-cui-topBar2{ border-bottom:thin transparent solid;} /* --------------- Centred Layout START -------------------*/ Quote Share this post Link to post Share on other sites More sharing options...
Centered layout with CSS & v4.master on SharePoint 2010
/* --------------- Centred Layout START ------------------------*/
#s4-ribbonrow > #s4-ribboncont > #RibbonContainer > #Ribbon > .ms-cui-ribbonTopBars > div {
width: 990px; margin: 0 auto; float: none;}
#s4-bodyContainer { width: 990px; margin: 0 auto; float: none;}
#s4-ribbonrow > #s4-ribboncont > #RibbonContainer > #Ribbon > .ms-cui-ribbonTopBars > div, #s4-bodyContainer > div, body #s4-titlerow > div {
width: 990px; margin: 0 auto; float: none; border-right-width:0px;}
.ms-cui-ribbonTopBars > div, ul.ms-cui-tabBody{
width: 990px; margin: 0 auto; float: none;}
.ms-cui-topBar2{ border-bottom:thin transparent solid;}
/* --------------- Centred Layout START -------------------*/
Share this post
Link to post
Share on other sites