Results 1 to 2 of 2

Thread: Static Banner (if thats what its called)

  1. #1
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Static Banner (if thats what its called)

    Hey guys,

    I've just started web design but i have a idea in my head and i cant seem to find the code on the internet.

    What i would like to do it have the top part of my home page (that has the menu and logos in it) to not move, so you can scroll up and down the page but the menu and logo will allways remain at the top of your screen, to save having to scroll back upto the top of the page just to navigate around.

    If this is possible please get back to me.

    Thanks

    -Jake

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    What you need can be done using the CSS property position:fixed;.
    There are also a number of scripts here that achieve that effect. Some examples are below, but you will find more if you browse through the scripts:
    http://www.dynamicdrive.com/dynamici...taticmenu3.htm
    http://www.dynamicdrive.com/dynamicindex1/sm/index.htm


    The two terms you may want to use while searching are "static" and "fixed". Also "scroll" might bring up things that don't scroll.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •