I\'m trying to give a fixed element a width of a percentage parent (here #container). When I use pixel instead of the percentage then it works
width
#container
You have #outer as width:300px, #container as 90% means 270px, now you have given width:inherit and position:fixed that is ambiguous to browser, so use position:fixed with width:x% for #fixed