Quantcast
Channel: setting the height of a ContentPlaceHolder
Viewing all articles
Browse latest Browse all 12

Re: setting the height of a ContentPlaceHolderheifgh

$
0
0

In order to use a percentage for Height, the containing block/element must have a specific height. 

<div id="wrapper" style="height:600px;">
   <div id="header" style="height:20%;"></div>
   <div id="content" style="height:60%;"></div>
   <div id="footer" style="height:20%;"></div>
</div>

 Probably browser specific but the height may be ignored if you don't specify the overflow.

Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>