How can I make a nav bar stretch the entire width of the browser (every size browser, even when zoomed in or out) without getting a horizontal scroll bar?
The url to my site is www.accupresh.com. I have a nav bar that I want to be stretched to fill the entire width of the browser, no matter what the size of the screen. How can I do that without getting a horizontal scrollbar at the bottom?
Thanks!
suavedesign 0 Junior Poster in Training
Recommended Answers
Jump to PostWrap your nav div in a wrapper div. Set the wrapper div width:100% set the nav div to the width of the page content than margin:0 auto; :
.nav_wrapper{ width:100%; background-color: #FFF; //Change this to the background color of your nav bar } .nav_bar{ width: 800px; //Change …
All 4 Replies
suavedesign 0 Junior Poster in Training
AleMonteiro 238 Can I pick my title?
GliderPilot 33 Posting Whiz
suavedesign 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.