How to fixed Auto Height web .aspx page any resolution?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Manoj BhoirRank #599 · 4K pointsPosted May 24, 2015, 7:09 AM EDT
0
Hi,
width and height do set absolute widths and heights of an element respectively. max-width, max-height, min-width and min-height are seperate properties.
Example of a page with 1054px square content and a full background:
html { min-width: 100%; min-height: 100%; }
body { width: 1054px; height: 1054px; background-color: #FFF; }
Also, check this link :
How to make the web page height to fit screen height
Manoj BhoirRank #599 · 4K pointsPosted May 24, 2015, 7:09 AM EDT
Example of a page with 1054px square content and a full background:
html {
min-width: 100%;
min-height: 100%;
}
body {
width: 1054px;
height: 1054px;
background-color: #FFF;
}