asko1981 Posted January 3, 2006 Share Posted January 3, 2006 What's the best way to adjust the page view according to user's monitor resolution?Thanks Asmir Link to comment Share on other sites More sharing options...
boen_robot Posted January 3, 2006 Share Posted January 3, 2006 Using relative sizes probably. In other words: percentage values(like 100%) I think. Link to comment Share on other sites More sharing options...
aspnetguy Posted January 3, 2006 Share Posted January 3, 2006 That is the only way really unless you center your page and have a background that will show on either size of the page. Link to comment Share on other sites More sharing options...
asko1981 Posted January 3, 2006 Author Share Posted January 3, 2006 Can someone post the html or javascript code on how to do this?Thank you very much.Asmir Using relative sizes probably. In other words: percentage values(like 100%) I think.<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
aspnetguy Posted January 3, 2006 Share Posted January 3, 2006 in css .someClass{width:100%} HTML with inline css <div style="width:100%"></div> This will cause the elements to take up 100% of the available space and if the window is resized the page will resize it self to match. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now