471,599 Members | 1,352 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Fit the page to the monitor's resolution

Hai i have a doubt in the screen resolution of my page. i m using the screen resolution of my pc as 1024*762 pixels. i have done a jsp web page page in this resolution.while copying the page and running it in my friends room it appears differently because he s using the resolution as 1152*864 . Its there any way to solving the problem of viewing the page similarly in any kind of resolution...

plz help me ....


My friend says it may poss in js. how to do that
Oct 5 '07 #1
3 2789
dmjpro
2,476 2GB
Hai i have a doubt in the screen resolution of my page. i m using the screen resolution of my pc as 1024*762 pixels. i have done a jsp web page page in this resolution.while copying the page and running it in my friends room it appears differently because he s using the resolution as 1152*864 . Its there any way to solving the problem of viewing the page similarly in any kind of resolution...

plz help me ....


My friend says it may poss in js. how to do that
Yeah it's possible with JavaScript.
Put the total O/P in a table and resize the table with your corresponding screen resolution.
Try with "screen.availWidth" & "screen.availHeight".

Kind regards,
Dmjpro.
Oct 5 '07 #2
pbmods
5,821 Expert 4TB
Heya, elangobala.

Before falling back on JavaScript to solve what is arguably a design issue, make sure your HTML / CSS is up-to-date.

I'm going to go ahead and move this thread to the HTML/CSS forum, where our resident Experts will be better able to help you out.
Oct 5 '07 #3
drhowarddrfine
7,435 Expert 4TB
Yes, CSS is the solution but without seeing the generated markup we can't help.
Oct 5 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by KJM | last post: by
179 posts views Thread by SoloCDM | last post: by
10 posts views Thread by santiago538 | last post: by
3 posts views Thread by Sivaswami Jeganathan | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.