I am trying to code in a navigation bar that is at the top of the screen no matter how the user scrolls down the page. The only obvious way I know how to do this is a top frame..but..ugh. Is there an easier way to do this with css or dhtml? Thanks.
fashezee
10:47 pm on Apr 15, 2004 (gmt 0)
Layers.
Lyra
10:48 pm on Apr 15, 2004 (gmt 0)
Any chance you could be more specific on that? I've got Dreamweaver, I can draw in the layers.. but how do I have it stay at the top of the screen even with scrolling?
4serendipity
11:12 pm on Apr 15, 2004 (gmt 0)
You can use position:fixed to keep a navigation bar fixed on one part of a page.
Unfortunately, IE doesn't support this CSS property. However, there are a few workarounds available to get around IE's lack of support. They are detailed at: [devnull.tagsoup.com...]
Lyra
12:50 am on Apr 16, 2004 (gmt 0)
Thanks, that helped a lot. I got my fixed bar in.. one other question though.. (I'm not very good with css) Everything in that div is on the left.. and no matter what I change in the files, I can't get it centered. Is there some trick to this?