When we apply position:fixed to an element, it\'s taken out of the normal flow of the document, therefore it doesn\'t respect it\'s parent\'s element width. Are the
position:fixed
A workaround might be: left:8px; right:0; width:18%; in the CSS for the nav. Not the best solution though.
left:8px; right:0; width:18%;