Results 1 to 4 of 4

Thread: CSS & position:fixed;

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Beans
    329
    Distro
    Ubuntu 8.04 Hardy Heron

    CSS & position:fixed;

    I have a small problem, with using CSS and position:fixed; on a login bar. What I am trying to do, is have this login bar be well, fixed. However, when I scroll down over any text that is being written with javascript, or has javascript attached to it in some way (via jQuery, the example in the screenshot is a news feed that scrolls through 3 feeds)

    Does anyone have a solution?

    http://imgur.com/kg0py.png

  2. #2
    Join Date
    Jan 2008
    Location
    Norway
    Beans
    1,527
    Distro
    Ubuntu Development Release

    Re: CSS & position:fixed;

    I am quite tired, so I am a little confused about your post. You can try to use this.
    Code:
    position:absolute;
    left:100px;
    top:150px;

  3. #3
    Join Date
    Oct 2005
    Beans
    155

    Re: CSS & position:fixed;

    Check out the z-index property of the login bar. A higher z-index will make sure it is always on top of the other text.

  4. #4
    Join Date
    Nov 2007
    Beans
    329
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: CSS & position:fixed;

    Thank you very much, that fixed it.

Tags for this Thread

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
  •