CSS:
.shortmenu {
background: #007080;
float: left;
width: 180px;
height: 100%;
padding: 6px 6px;
font-size: 0.9em;
border-left: 5px solid white;
font-size: 12px;
font-family: verdana;
color: white;
}
ASP:
<body>
<form id="form1" runat="server">
<div class="container">
<div class="header">
<img src="Logo_small.jpg" alt="Leagues Ahead" /><br />
</div>
<div class="shortmenu">
<br />
<asp:Login ID="lgnMain" runat="server" BorderPadding="0" BorderStyle="None" BorderWidth="0px" Font-Names="Verdana" Font-Size="10pt" LoginButtonText="Log in" PasswordLabelText="Password" PasswordRequiredErrorMessage="Password is required" RememberMeText="Remember me" TitleText="You are not logged in" UserNameLabelText="Username" UserNameRequiredErrorMessage="Username is required">
<TitleTextStyle CssClass="login" Font-Bold="True" HorizontalAlign="Left" />
<CheckBoxStyle CssClass="login" HorizontalAlign="Left" />
<TextBoxStyle Width="75pt" />
<LoginButtonStyle CssClass="login" Font-Bold="True" />
<LabelStyle CssClass="login" />
<FailureTextStyle CssClass="login" />
</asp:Login>
</div>
<div class="headmenu">
</div>
<div id="divMain" class="content">
<asp:contentplaceholder id="placeholder" runat="server">
</asp:contentplaceholder>
</div>
<div class="footer">
</div>
</div>
</form>
</body>
<body>
<div style="height:100%;background-color:#FF4444;">
<form id="form1" runat="server">
<div class="container">
<div class="header">
<img src="Logo_small.jpg" alt="Leagues Ahead" /><br />
</div>
<div class="shortmenu">
<br />
<asp:Login ID="lgnMain" runat="server" BorderPadding="0" BorderStyle="None" BorderWidth="0px" Font-Names="Verdana" Font-Size="10pt" LoginButtonText="Log in" PasswordLabelText="Password" PasswordRequiredErrorMessage="Password is required" RememberMeText="Remember me" TitleText="You are not logged in" UserNameLabelText="Username" UserNameRequiredErrorMessage="Username is required">
<TitleTextStyle CssClass="login" Font-Bold="True" HorizontalAlign="Left" />
<CheckBoxStyle CssClass="login" HorizontalAlign="Left" />
<TextBoxStyle Width="75pt" />
<LoginButtonStyle CssClass="login" Font-Bold="True" />
<LabelStyle CssClass="login" />
<FailureTextStyle CssClass="login" />
</asp:Login>
</div>
<div class="headmenu">
</div>
<div id="divMain" class="content">
<asp:contentplaceholder id="placeholder" runat="server">
</asp:contentplaceholder>
</div>
<div class="footer">
</div>
</div>
</form>
</div>
</body>
.container {
width:1024px;
height:100%;
margin-left: auto;
margin-right: auto;
text-align: left;
}
A {text-decoration: none;}
A:hover {text-decoration: underline;}
A:visited {color: black;}
A.shortmenu_content:visited {color: white;}
.normal {font-size: 12px; font-family: verdana; color: black}
.detail {font-size: 12px; font-family: verdana; color: #508806}
BODY {
font-size: 14px;
font-family: verdana;
background-color: #EEEEEE;
background-position: center;
margin: 0;
text-align: center;
height: 100%
}
.container {
width:1024px;
height:100%;
margin-left: auto;
margin-right: auto;
text-align: left;
}
.header {
background: white;
width: 1024px;
height: 125px;
}
.shortmenu {
background: #007080;
float: left;
width: 180px;
height: 100%;
padding: 6px 6px;
border-left: 5px solid white;
font-size: 12px;
font-family: verdana;
color: white;
}
.shortmenu_content
{
font-size: 13px;
font-family: verdana;
color: white;
}
.headmenu {
background: #508806;
float: left;
width: 809px;
height: 25px;
padding: 6px 6px;
border-left: 1px solid white;
border-right: 5px solid white;
font-size: 0.8em;
font-weight: bold;
color: white;
}
.content {
background: #fff;
float: left;
width: 817px;
height: 100%;
border: 5px solid white;
}
.shortmenu_filler {
background: #007080;
float: left;
width: 150px;
height: 25px;
border-left: 5px solid white;
}
.footer {
background: #106070;
width: 1014px;
height: 35px;
border: 5px solid white;
}
<html>
<head>
<style>
A {text-decoration: none;}
A:hover {text-decoration: underline;}
A:visited {color: black;}
A.shortmenu_content:visited {color: white;}
.normal {font-size: 12px; font-family: verdana; color: black}
.detail {font-size: 12px; font-family: verdana; color: #508806}
BODY {
font-size: 14px;
font-family: verdana;
background-color: #EEEEEE;
background-position: center;
margin: 0;
text-align: center;
height: 100%
}
.container {
width:1024px;
background-color:FF4444;
Height:100%;
margin-left: auto;
margin-right: auto;
text-align: left;
}
.header {
background: white;
width: 1024px;
height: 125px;
}
.shortmenu {
background: #007080;
float: left;
width: 180px;
padding: 6px 6px;
border-left: 5px solid white;
font-size: 12px;
font-family: verdana;
color: white;
}
.shortmenu_content
{
font-size: 13px;
font-family: verdana;
color: white;
}
.headmenu {
background: #508806;
float: left;
width: 809px;
height: 25px;
padding: 6px 6px;
border-left: 1px solid white;
border-right: 5px solid white;
font-size: 0.8em;
font-weight: bold;
color: white;
}
.content {
background: #fff;
float: left;
width: 817px;
border: 5px solid white;
}
.shortmenu_filler {
background: #007080;
float: left;
width: 150px;
height: 25px;
border-left: 5px solid white;
}
.footer {
background: #106070;
width: 1014px;
height: 35px;
border: 5px solid white;
}
</style>
</head>
<body>
<div class="container" >
<form id="form1" runat="server">
<div class="header">
<img src="Logo_small.jpg" alt="Leagues Ahead" /><br />
</div>
<div class="shortmenu">
<br />
<asp:Login ID="lgnMain" runat="server" BorderPadding="0" BorderStyle="None" BorderWidth="0px" Font-Names="Verdana" Font-Size="10pt" LoginButtonText="Log in" PasswordLabelText="Password" PasswordRequiredErrorMessage="Password is required" RememberMeText="Remember me" TitleText="You are not logged in" UserNameLabelText="Username" UserNameRequiredErrorMessage="Username is required">
<TitleTextStyle CssClass="login" Font-Bold="True" HorizontalAlign="Left" />
<CheckBoxStyle CssClass="login" HorizontalAlign="Left" />
<TextBoxStyle Width="75pt" />
<LoginButtonStyle CssClass="login" Font-Bold="True" />
<LabelStyle CssClass="login" />
<FailureTextStyle CssClass="login" />
</asp:Login>
</div>
<div class="headmenu">
</div>
<div class="content">
<asp:contentplaceholder id="placeholder" runat="server">
</asp:contentplaceholder>
</div>
<div class="footer">
</div>
</form>
</div>
</body>
</html>
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test</title>
<style type="text/css">
A {text-decoration: none;}
A:hover {text-decoration: underline;}
A:visited {color: black;}
A.shortmenu_content:visited {color: white;}
.normal {font-size: 12px; font-family: verdana; color: black}
.detail {font-size: 12px; font-family: verdana; color: #508806}
body {height:100%; background-color:#FF4444;min-height:100%;}
.container {
width:1024px;
background-color:FF4444;
Height:100%;
margin-left: auto;
margin-right: auto;
text-align: left;
}
.header {
background: white;
width: 1024px;
height: 125px;
}
.shortmenu {
background: #007080;
float: left;
width: 180px;
padding: 6px 6px;
border-left: 5px solid white;
font-size: 12px;
font-family: verdana;
color: white;
}
.shortmenu_content
{
font-size: 13px;
font-family: verdana;
color: white;
}
.headmenu {
background: #508806;
float: left;
width: 809px;
height: 25px;
padding: 6px 6px;
border-left: 1px solid white;
border-right: 5px solid white;
font-size: 0.8em;
font-weight: bold;
color: white;
}
.content {
background: #fff;
float: left;
width: 817px;
border: 5px solid white;
}
.shortmenu_filler {
background: #007080;
float: left;
width: 150px;
height: 25px;
border-left: 5px solid white;
}
.footer {
background: #106070;
width: 1014px;
height: 35px;
border: 5px solid white;
}
</style>
</head>
<body style="">
<div>
<form id="form1" runat="server">
<div class="header">
<img src="Logo_small.jpg" alt="Leagues Ahead" /><br />
</div>
<div class="shortmenu">
<br />
<asp:Login ID="lgnMain" runat="server" BorderPadding="0" BorderStyle="None" BorderWidth="0px" Font-Names="Verdana" Font-Size="10pt" LoginButtonText="Log in" PasswordLabelText="Password" PasswordRequiredErrorMessage="Password is required" RememberMeText="Remember me" TitleText="You are not logged in" UserNameLabelText="Username" UserNameRequiredErrorMessage="Username is required">
<TitleTextStyle CssClass="login" Font-Bold="True" HorizontalAlign="Left" />
<CheckBoxStyle CssClass="login" HorizontalAlign="Left" />
<TextBoxStyle Width="75pt" />
<LoginButtonStyle CssClass="login" Font-Bold="True" />
<LabelStyle CssClass="login" />
<FailureTextStyle CssClass="login" />
</asp:Login>
</div>
<div class="headmenu">
</div>
<div class="content">
</div>
<div class="footer">
</div>
</form>
</div>
</body>
</html>
---Master Page --
<%@ Master Language="VB" CodeFile="Main.master.vb" Inherits="Main" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>IT Support Utilities</title>
</head>
<body>
<form id="form1" runat="server">
<div id="wrapper">
<div id="header">
<div class="logo">
<asp:HyperLink ID="hlLogo" runat="server" NavigateUrl="~/index.aspx" ImageUrl="~/_images/logo.jpg"></asp:HyperLink>
</div>
</div>
<div id="content">
<div class="sitemap">
<asp:SiteMapPath ID="smp_1" runat="server" CssClass="font">
</asp:SiteMapPath>
</div>
<asp:ContentPlaceHolder ID="cphMain" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<div id="footer">
<!-- footer -->
</div>
</form>
</body>
</html>
--Layout CSS Page--
html, body {margin:0 0; padding:0 0; height:100%;}
#wrapper {width:830px; min-height:99.5%; min-width:800px; margin-left:auto; margin-right:auto; border-left:solid 1px #596F80;border-right:solid 1px #596F80;}
#header {width:inherit; min-height:99.5%; border-bottom:solid 1px #596F80;}
#footer {width:830px; min-height:5px; max-height:5px; margin-left:auto; margin-right:auto;border-left:solid 1px #596F80;border-right:solid 1px #596F80;}
.logo {width:80px; height:80px;}
.clear {clear:both;}
.sitemap {float:left; margin:0 10px;}
.content {margin:10px 10px;}
<body>
<form id="form1" style="height:100%" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div id="wrapper">
...
http://css-discuss.incutio.com/?page=HundredPercentHeight