Quick HTML Help

Proxy Cake

Elite Member
Jr. VIP
Joined
Feb 28, 2010
Messages
5,497
Reaction score
4,415
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.
 
Use the following css:

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