在SP前臺頁面中 添加webpart 後再IE10以上版本中默認是有空行去掉
/*****隱藏webpart見空格********/
.ms-PartSpacingVertical{
display:none!important;
margin:0px!important;
padding:0px!important;
}
.ms-webpartzone-cell
{
margin:0px!important;
padding:0px!important;
}
.ms-webpart-zone {
display: block;
}
目前在IE10版本有效,但是向下的兼容還沒有調整好,如果誰有更好的樣式 希望完善哦~~
在IE9及以下版本可以考慮試試以下代碼:
.ms-webpart-chrome-vertical
{
display:inline!important;
}
.ms-webpart-cell-vertical
{
display:inline!important;
}