CSS:
Expand|Select|Wrap|Line Numbers
- /* CONTAINERS */
- .contentcontainer
- {
- position:relative;
- margin-left:auto;
- margin-right:auto;
- top: 20px;
- width: 1000px;
- }
- .topsectioncontainer
- {
- clear: both;
- margin: 0px 0px 0px 0px;
- padding: 0px 0px 0px 0px;
- position: relative;
- height:100px;
- }
- .menusectioncontainer
- {
- clear: both;
- position: relative;
- height: 30px;
- }
- .middlesectioncontainer
- {
- clear: both;
- border: solid 1px #000000;
- position: relative;
- }
- .gapsectioncontainer
- {
- clear: both;
- position: relative;
- height:5px;
- }
- .footersectioncontainer
- {
- clear: both;
- position: relative;
- height: 30px;
- }
- .footermenusectioncontainer
- {
- clear: both;
- position: relative;
- height: 30px;
- }
- /* SPACERS */
- .leftspace
- {
- border: solid 1px #000000;
- background-color:#ffccff;
- float: left;
- width: 110px;
- height: 100%;
- }
- .leftspacer
- {
- border: solid 1px #000000;
- background-color:#ffffcc;
- float: left;
- width: 110px;
- min-height: 100px;
- height: 100%;
- }
- .rightspace
- {
- background-color:#ccffff;
- float: right;
- width: 116px;
- height: 100%;
- border: solid 1px #000000;
- }
- /*SECTIONS*/
- /*sections.width*/
- .topsection, .gapsection, .middlesection, .footersection, .footermenusection, .mainmenusection
- {
- width: 768px;
- }
- /*sections.defines*/
- .topsection
- {
- float:left;
- height:100px;
- position:relative;
- }
- .gapsection
- {
- float:left;
- height:5px;
- position:relative;
- }
- .mainmenusection
- {
- float: left;
- height: 30px;
- }
- .middlesection
- {
- float:left;
- padding: 0 0 0 0;
- /*fa2c574521*/
- }
- .footersection
- {
- float: left;
- position:relative;
- padding: 0 0 0 0;
- height: 30px;
- }
- .footermenusection
- {
- float: left;
- position:relative;
- padding: 0 0 0 0;
- height: 30px;
- }
- .finalfooter
- {
- clear: both;
- position: relative;
- width: 100px;
- background-color: Green;
- }
- /* SECTION CONTENT */
- .logo
- {
- position: relative;
- top: 0;
- left: 0;
- width: 555px;
- height:100px;
- }
- .loginbox
- {
- position: absolute;
- text-align:center;
- width:220px;
- top: 0;
- right:0;
- }
- .middlesectioncontent
- {
- float:left;
- top:0;
- left:0;
- width: 551px;
- }
- .submiddlesectioncontent
- {
- }
- .middlesectionsidebar
- {
- float: right;
- width:217px;
- top: 0;
- right:0;
- }
HTML
[html]
<!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>Untitled Page</title>
<link href="CSS/MasterPagePositioningStyles.css" rel="stylesheet"
type="text/css" />
<link href="CSS/MasterPageVisualStyles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="contentcontainer">
<div class="gapsectioncontainer">
<div class="leftspace"></div>
<div class="gapsection"></div>
<div class="rightspace"></div>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- ------------------------------------------------------------------------------------ -->
<div class="topsectioncontainer">
<div class="leftspace"></div>
<div class="topsection">
<div class="logo">
logo
</div>
<div class="loginbox">
loginbox
</div>
</div>
<div class="rightspace">
</div>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- ------------------------------------------------------------------------------------ -->
<div class="gapsectioncontainer">
<div class="leftspace"></div>
<div class="gapsection"></div>
<div class="rightspace"></div>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- ------------------------------------------------------------------------------------ -->
<div class="middlesectioncontainer">
<div class="leftspacer" >left
</div>
<div class="middlesectioncontent" >
<div class="submiddlesectioncontent">
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
TOO MUCH CONTENT GOES HERE<br />
</div>
</div>
<div class="rightspace">right</div>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- ------------------------------------------------------------------------------------ -->
<div class="gapsectioncontainer">
<div class="leftspace">
</div>
<div class="gapsection">
</div>
<div class="rightspace">
</div>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- ------------------------------------------------------------------------------------ -->
<div class="footersectioncontainer">
<div class="leftspace">
</div>
<div class="footersection">
footer goes here
</div>
<div class="rightspace">
</div>
</div>
</div>
</body>
</html>[/html]