Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>
Site Name
</title>
<style type="text/css">
/* using Erik Meyer's almost-global-reset */
html, body, div, span,
applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dd, dl, dt, li, ol, ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
line-height: 1.3em;
font-family: inherit;
text-align: left;
vertical-align: baseline;
}
a img, :link img, :visited img {
border: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
ol, ul {
list-style: none;
}
q:before, q:after,
blockquote:before, blockquote:after {
content: "";
}
/* commented backslash hack \*/
html, body{height:100.1%;}
/* end hack */
html,body {margin:0;padding:0}
/* all other styles by ratan */
/* global style */
body {
font:100%/1.25 arial, helvetica, sans-serif;
line-height: 1.3em;
background:#fff;
}
/* typographic styles */
h1, h2, h3, h4, h5, h6 {
margin:0;
padding:0;
font-weight:normal;
}
h1 {
padding:10px 0 10px 5px;
letter-spacing:-1px;
font:2em trebuchet ms, helvetica, sans-serif;
}
h2 {
padding:20px 0;
letter-spacing:-1px;
font:1.5em arial, helvetica, sans-serif;
}
h3 {
font:1em arial, helvetica, sans-serif;
font-weight:bold;
}
h4 {
padding:6px 5px 6px 5px;
letter-spacing:-1px;
font:1.3em trebuchet ms, helvetica, sans-serif;
color:#edf7ff;
background:#073c78;
}
h5 {
padding:5px;
font: 1.3em trebuchet ms, helvetica, sans-serif;
color:#edf7ff;
background:#073c78;
}
h6 {
padding:5px;
font:1.3em trebuchet ms, helvetica, sans-serif;
color:#fefefe;
background:#3e3e3e;
}
/* custom style */
div {border:0px solid red;}
#pagemax {
width:100%;
height:100%;
min-width:100%;
min-height:100.1%;
background:#eee;
overflow:visible;
}
#head {
height:100px;
background:#fff;
padding:5px;
}
#topnav {
height:20px;
background:#474747;
padding:2px;
margin:5px 0px 0px 0px;
}
#content {
width:95%;
height:100%;
padding:7px;
margin:1% auto;
background:#fff;
text-align:center;
}
#footer {
height:150px;
background:#eee;
border-top:3px solid #999;
clear:both;
position:relative;
margin-top:10px;
}
#content-col1 {
width:70%;
height:100%;
background:#fff;
float:left;
padding:0px;
overflow:visible;
margin:5px 0px 5px 0px;
}
#content-col2 {
width:305px;
height:100%;
background:#eee;
float:left;
padding:3px;
overflow:visible;
margin:5px 0px 5px 5px;
}
#col2-nav {
background:#2c2c2c;
padding:5px;
}
#col2-nav-inner {
background:#eee;
text-align:center;
}
#footer-content {
width:90%;
height:100%;
padding:7px;
margin:1% auto;
background:#ccc2a7;
}
/* for testing only */
div {border:1px solid #ffcc00;}
.pad5 {padding:5px:]
.pad10 {padding:10px;}
</style>
</head>
<body>
<div id="pagemax">
<div id="content">
<div id="head">
<a href="#"><!--<img src="cmlogo.gif" alt="Career Mania - Your window to opportunities" title="Career Mania" />-->
</a>
</div>
<div id="topnav">
nav
</div>
<div id="content-col1">
<h2>content alternate #cdf0ff for h1</h1>
<br/>
<br/>
<br/>
<br/>
dummy text
<br/><br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
</div>
<div id="content-col2">
<!-- end nav-->
<br/>
nav text
<br/><br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>
</div>
<!-- end col2 -->
<div id="footer">
footer
</div>
<!-- end both -->
</div>
</div>
<br/>
<br/>
</body>
</html>
Bookmarks