Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    27
    Thanks
    3
    Thanked 0 Times in 0 Posts

    making an image fit to the Resolution/size of a screen

    alright peeps

    right down to business,

    i need to know if it is possible to have an image fixed to the background and have it stretched to the size/resolution of the screen?

    i have created an image of some grass and i want it to be fixed to the bottom of my screen no matter what the screen Resolution or screen size is just would like it to be there.

    does anybody know of any code or something what would help me out please.

    i will be looking forward to the comments left

    Thanks

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    i need to know if it is possible to have an image fixed to the background and have it stretched to the size/resolution of the screen?
    You may emulate it by placing an img tag with 100% width and height, but the quality of the output may not be fare. See http://www.cssplay.co.uk/layouts/background.html
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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