Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

i make an application in which i use the css div tag but one problem is that in other or big resolution moniter shows different view on that screen and some other moniter shows other view of my Website. so how can i fix the view for all the moniter resolution. please help me.....

Thanks in advance.
Mitesh
Posted

What you can do is, you can scale your webpage's <html> (area covered by html tag) by using scale property available in CSS.
Using scale property you can scale any element in webpage by any size.
For example,
XML
<div id ="t_div"></div>

Now we can scale the size of the division as follow:
#t_div
{
-moz-transform:scale(1.5,1.5); //for Firefox
}

Above code will increase the size of division by x1.5 . Same way we can scale height width of <html> tag.

I have shown the solution using jQuery to apply scaling dynamically, according to user's resolution at this: How to Fix/Solve the Website Screen Resolution Problem?.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900