Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
When we are creating a page in asp.net,the width can be adjusted with the screen size when we set it as 100%,but height is not adjusted with screen resolution when we set it as 100% height.


i need to view the entire page without scroll bar with 100% height and 100% width in any resolution.Please help me.
Posted
Updated 13-Oct-11 20:09pm
v3
Comments
Mehdi Gholam 14-Oct-11 2:03am    
EDIT -> retagged

Don't be so naive. Vertical and horizontal directions are not symmetrical. Only width is adjusted like that, you are right. HTML is heavily oriented to design based on vertical scrolling, but horizontal scrolling is considered dirty, and for a good reason. I would suggest you leave with it.

You can also use absolute-positioning CSS, but this is very non-flexible. You can also combine absolute and relative positioning, but it won't help you to solve the vertical problem. Again, what's wrong with vertical scrolling?

Please read this opinion: http://www.iteracy.com/resources/build-a-better-website/size-and-layout-of-a-web-page/[^] (see the section "Page height").

—SA
 
Share this answer
 
Comments
shefeekcm 14-Oct-11 3:22am    
customer need to see the entire page in single view without scrolling.
If it is running ok in IE7 and you want it to run similar to IE7 in IE8 as well then,
write this below <title></title>
HTML
<meta http-equiv="X-UA-Compatible" content="IE=7" />


There can be some other issue like wht property are you using in css because of that it behave diffrent in diffrent browser.

and for Resolution,i think you hv to design pages in %.
 
Share this answer
 
v2

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