1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick HTML Help

Discussion in 'White Hat SEO' started by facebookdude, Jun 20, 2010.

  1. facebookdude

    facebookdude Elite Member

    Joined:
    Feb 28, 2010
    Messages:
    1,512
    Likes Received:
    2,491
    Hey I have an image and I want it to be the background (it is a screenshot) so it will act sort of like an iframe. I dont want to use an iframe because i want to put a popup on the click of the image.

    My question is, how do you make the image resize with the users screen size? So it looks realistic.
     
  2. zybz0

    zybz0 Newbie

    Joined:
    Jun 22, 2010
    Messages:
    2
    Likes Received:
    0
    Use the following css:

    PHP:
    img {width:100%; height:100%}