Regarding the screen resolution

G

Greoasy

I have an asp.net webapplication,designed in laptops having resolution
0f 1280x800.
Now the same application when i run on a Desktop with a different
resolution the display of the screen is different from my system.We
need to scroll horizontally to reach to the end of the page.
i want to avoid this and the screen display in all the system with
different resolutions should be same,no scrollbars should appear.
How can this be done.?any easy way to set this or any code?

Very urgent.
 
M

Masudur

I have an asp.net webapplication,designed in laptops having resolution
0f 1280x800.
Now the same application when i run on a Desktop with a different
resolution the display of the screen is different from my system.We
need to scroll horizontally to reach to the end of the page.
i want to avoid this and the screen display in all the system with
different resolutions should be same,no scrollbars should appear.
How can this be done.?any easy way to set this or any code?

Very urgent.

Hi Greoasy ,

Onload apply javascript to resize the layout to your desired size...
in one of our project we did the same thing...
the client wanted a application with is resolution independent..
here is a little preview of the code...

var windowwidth = screen.availWidth;
var windowheight = screen.availHeight;
document.getElementbyId('leftnav').style.width = windowwidth/5 ;

resize the controls according to your needs.

Thanks
Masudur
www.kaz.com.bd
http://munnacs.110mb.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top