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 PostIs something like this?
.my-nav-bar { width: 100%; /* the parent must have 100% either */ overflow: hidden; /* hides overflow */ }
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.