I am currently developing a fixed horizontal navigation bar that spans the entire width of the screen. However, when I attempt to make its position fixed, the unordered list element only occupies the width required to contain its content.
Considering that the unordered list is naturally a block element, why doesn't it automatically expand to the full width?