I'm trying to set up a web page so the viewport is 100% minus the scrollbar width
I've tried multiple methods of doing this that I found on the net but nothing moves the webpage so I can see the scrollbar. There is still about 5/8 of an inch of the webpage that is hidden (on 27" monitor).
I've also tried other ideas using overflow.
Can someone let me know how to do this or point me to instructions?
I don't want to use Javascript for this.
Here is what I currently have:
body { width: calc(100vw - 17px;)
font-size: 1.000em; /* base font 16px */
font-family: Arial, Helvetica, sans-serif;
color: #000;
padding:0;
background:#FFF; }
#container {
width: calc(100vw - 17px;)
position:relative;
padding:0;
background-color: #FFF; }