Jump to content

Automatically Resize Page


stockton
 Share

Recommended Posts

I have a web page containing an image as background at http://www.stockton.co.za/LB-LIVE/PLBF.PHP and would appreciate getting pointers on how I could automatically resize that page depending on the size of the monitor/screen it was being displayed on.In other words my screen is a 15" and it fills the available space but how do I make it do the same automatically on a 17" or 19" or for that matter my 10" netbook screen.

Link to comment
Share on other sites

As long as this is a true background image, even JavaScript cannot help you. The results would be pixelated and ugly, even if you could do it. You could always use layering and absolute positioning to put an image in an <img> tag behind your content. I don't exactly recommend that, but it's possible, and then it could be resized.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...