Child div width exceeding parent's div width

wo0t

New Member
Child element's width is exceeding its parent div's width. I assume this must have been caused because I'm setting the position to be fixed, but I don't know what to replace it with. This div is a navigation bar that should be fixed to the top of the window. When I get rid of position:fixed, the size is fit to the parent div nicely. However, the nav bar is no longer fixed to the top. How do I solve this problem?reference: pageCSS:\[code\].fixed_pos { position: fixed;}\[/code\]View:\[code\]<div class="container-fluid"> <div class="row-fluid"> <div class="span11 fixed_pos"> <ul class="nav nav-tabs"> </ul> </div> </div></div>\[/code\]Thanks a lot in advance!
 
Back
Top