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
You can use width:inherit. This will make it listen to parent. I test it and it works in Firefox.
width:inherit