2

I am working on a SharePoint online site where I removed the navigation, top bar etc using script editor and CSS, and added my own HTML page. However I there is a space between the page and the right scroll bar (as shown in the image below).

How do I remove it ?

enter image description here

  • Have you fixed width of HTML content? – Viraj Gorajia Dec 6 '16 at 7:38
2

Add CSS on page

    #contentBox {
        margin-right: 0px !important;
    }
    #contentBox table table {
        padding: 5px 0px 10px 10px !important;
    }
| improve this answer | |
  • 1
    there is still a tiny bit more space in the left. updated the image in the question. – Rinu Dec 6 '16 at 8:35
1

using !important in CSS should be done with care

#contentBox{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0
}

Will cover the whole viewport;

| improve this answer | |

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