www.webdeveloper.com
Results 1 to 3 of 3

Thread: IE6 image positioning

  1. #1
    Join Date
    Jun 2007
    Posts
    9

    IE6 image positioning

    I did search the forums first to address this but I noticed other people who had this problem also listed a number of other problems so I couldn't extract just what I needed.

    Simply, I'm trying to position an image in the lower right of the window for IE6. I'm trying to make it so that when one scrolls up and down a page the image stays in place, at the bottom right.

    Of course it works in a bunch of other browsers (including IE5 for mac)

    Currently the image I'm using is in an image tag, but if it'll work, I can make it a background image.

    This is the code im using now

    .Align {
    position:fixed;
    bottom: 0px;
    right: 0px;
    }

    Any help is appreciated!
    Last edited by bobbyopulent; 07-19-2007 at 11:22 AM. Reason: adding code

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    There are javascripts that do this, but if you're wanting something really simple, try:
    Code:
    <body style="background: url(file.jpg) no-repeat right bottom fixed;">
    (Some browsers do not recognize "fixed" unless it is in the body tag.)

  3. #3
    Join Date
    Jun 2007
    Posts
    9

    Thanks!!!

    thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles