Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: Fixed Image

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    5
    Member #
    5732
    I have a page with a css positioned div where the content. It has a background image and it is fixed. I also want another image in the lower-left corner. I'd like the image to not scroll, like a fixed background, but I do not know how to.

    If i put it on the background image, it'll be cut off in smaller resolutions.

    How do I achive this?
    I dont want the image to move at all, like a fixed background.

  2.  

  3. #2
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    You could do this by using absolute positioning. Specify the bottom: and left: to be 0px. Of course you will have to make sure that your element is not inside of another positioned element or else it will not work correctly. I suggest you move the element directly inside of the body tag, outside of any other elelments. This will cause the image to 'stick' to the bottom of the browser no matter how big/small it is.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:25 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com