I have the following CSS style on a fixed header element
width: calc(100% - 17px);
I'm working inside of SharePoint, and with the way SharePoint generates the scrollbar on the side, my header element (100% width) appears on top of the scrollbar. To account for this, I'm trying to remove the 17px for the scrollbar.
However, when the page renders, the width ends up being 83% and I'm not sure why. I unfortunately can't give you a link to the page in question because it's in our test environment. Any ideas why this would be producing a result of 83%?
EDIT: I should also mention I'm using LESS to write my styles. I just checked the compiled CSS document, and it is producing a final output of width: 83%.