SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    May 2007
    Location
    Montreal
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Floating image fixed position over half over content

    Hi

    I want to create a fixed image over the content area but that doesnt
    move even if you resize browser etc...

    Also, that works in IE6+

    Any ideas?

    Here is an example of what I would like, tested in firefox only so far:
    http://www.clients.digadesign.com/ka...nal/verre.html

    Thanks,
    Chris

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Change position: fixed to position: absolute. E.g.

    Code:
    #image {
      position:absolute;
      bottom:0;
      right:0;
    }

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, if you still need position:fixed and not absolute, then to get IE6 working you'd need an expression for it to simulate it
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  4. #4
    SitePoint Evangelist
    Join Date
    May 2007
    Location
    Montreal
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Change position: fixed to position: absolute. E.g.

    Code:
    #image {
      position:absolute;
      bottom:0;
      right:0;
    }
    HI

    Basically I wanted the image to be fixed half in the content area and half outside the content area of that link. This way would make it fixed on the whole site.

    Anyway to do this?


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
  •