I am interested in creating a navigation bar similar to Google's or StackExchange's new one, where it is always positioned at the top. It does not need to be fixed there, but I would like it to have links only. How can I achieve this layout with the navigation bar staying at the top of the screen? And more importantly, how can I ensure that it spans the full width of the screen without a set width?
Currently, my navigation bar consists of a simple inline list, but its width is predefined.
I am open to incorporating new HTML5 techniques and using CSS extensively to accomplish this task.