Background sizing

Discussion in 'XHTML/HTML/CSS' started by Gewing2, Oct 20, 2011.

  1. Gewing2 New Member

    Member Since:
    Sep 24, 2011
    Message Count:
    112
    Likes Received:
    1
    Hi, I'm using an image for my web background, but I have a little problem. I have to go and size the image correctly in the image editing program for it to look right, but then if you resize the webpage it doesn't look right. Is there a way to make the image automatically resize itself depending on the size of the person's screen?
  2. Elia Member

    Member Since:
    Nov 17, 2011
    Message Count:
    32
    Likes Received:
    2
    Location:
    Timisoara
    For this job you need your background image to be in CSS. Apply an absolute positioning and set its width at 100%, that should do.

Share This Page