•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 456,583 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,636 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 955 | Replies: 2
![]() |
I'm a newbie to css and I've hit the wall 
I would like the user of the web page/site to scroll down the page and still have the navigation bar shown at all times. I've managed to do this, however, the text scrolls over the top of the navigation bar. I would like the navigation bar to hide the text as the user scrolls.
I've tried playing around with the position values (e.g. relative/absolute) but nothing seems to work. Any ideas out there? Thanks

I would like the user of the web page/site to scroll down the page and still have the navigation bar shown at all times. I've managed to do this, however, the text scrolls over the top of the navigation bar. I would like the navigation bar to hide the text as the user scrolls.
I've tried playing around with the position values (e.g. relative/absolute) but nothing seems to work. Any ideas out there? Thanks
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Rep Power: 4
Solved Threads: 12
Okay...
Have you tried using z-index: nnn;
(nnn being some numeric value).
It would also help if the Navigation was not "in the document flow"... meaning it should be seperate to everything else, jsut in case certain browsers don't want to play properly.
Have you tried using z-index: nnn;
(nnn being some numeric value).
It would also help if the Navigation was not "in the document flow"... meaning it should be seperate to everything else, jsut in case certain browsers don't want to play properly.
Sometimes life holds wonderful suprises - shame I sleep through them all.
http://www.choose-easyweb.com - Not my design, nor my idea :)
http://www.choose-easyweb.com - Not my design, nor my idea :)
•
•
Join Date: Sep 2007
Location: North Bay Ontario
Posts: 176
Reputation:
Rep Power: 2
Solved Threads: 20
•
•
•
•
Okay...
Have you tried using z-index: nnn;
(nnn being some numeric value).
It would also help if the Navigation was not "in the document flow"... meaning it should be seperate to everything else, jsut in case certain browsers don't want to play properly.
I'm going to make a guess that you are testing with a version of IE < 7, and are trying to use 'position:fixed'?
IE does not understand 'position:fixed', as you will discover if you do a search for 'IE position fixed'. FF understands it and complies, but good old IE does not. Many work-arounds include the advice given above, to get the 'fixed' div out of the main content flow. It is possible to make it work.
Trying to get a site looking good in both browsers, and at 800x600 AND 1024x768 will drive you nuts.
Amer Neely - Web Mechanic
"Others make web sites. We make web sites work!"
"Others make web sites. We make web sites work!"
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Css floating problem (HTML and CSS)
- CSS positioning problems (HTML and CSS)
- CSS border problem in Firefox .. (HTML and CSS)
- CSS Working in FF, not in IE problem :) (HTML and CSS)
- CSS seperator problem (HTML and CSS)
- What am i doing wrong with CSS in Firefox? (HTML and CSS)
- Making T.Greer's JavaScript-synthesised combobox dynamic (JavaScript / DHTML / AJAX)
- WordPress Calendar CSS, anchor problem (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Document.writeln??
- Next Thread: blink option in HTML


Linear Mode