Link to home
Start Free TrialLog in
Avatar of CABRLU63
CABRLU63Flag for United States of America

asked on

Auto size web page to fit in browser

When a user adjust the browser size such as the width, the web pages' divisions, images, and other content become out of place. How can we adjust a web page to always fit in a browser without disturbing how the web page appears?
ASKER CERTIFIED SOLUTION
Avatar of sixpack434
sixpack434

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you mean like this: http://www.postpoems.org

If so, use tables like the previous poster stated and use width="100%"
Avatar of John-Bayles
John-Bayles

sixpack434 has got the right kind of idea, But its not only the table that needs to be specified into a percentage.  any part of your sight that has a dimension eg..Columns Rows Images Iframes etc..  all need to be specefied as a percentage. So when it loads it someones elses browser it loads as a percentage of there screen.
EXAMPLE:

<img src="PICTURE.jpg" width="50%" height="50%" />

this picture would load as 50% of your sceen size where if i load it it loads as 50% of my screen size.
Avatar of CABRLU63

ASKER

Thank you for your anwsers
How can the web page continue to fit in the browser when using divisions? Is there any javascript that would help out with this issue?

What do you mean by divisions?