miroslavgojic
12-23-2006, 05:55 AM
1) CODE TITLE: CSS THREE COLUMN TEMPLATE
2) AUTHOR NAME/NOTES: MIROSLAV GOJIC
3) DESCRIPTION: Three column CSS template with auto high *vertical stretch*
4) URL TO CODE: http://www.miroslavgojic.rs.ba
or, ATTACHED BELOW (see #3 in guidelines below):
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 0px;
text-align: center;
width: 790px;
}
#contaniner {
background: #66CCFF;
width: 790px;
margin-left: auto;
margin-right: auto;
position: relative;
}
#headerBlock {
width: 790;
background: #0000FF;
height: 125px;
}
#navbar {
width: 790px;
height: 25px;
}
#content {
height: auto;
}
#leftBlock {
width: 175px;
height: auto;
background-color: #ffff00;
float: left;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#rightBlock {
width: 175px;
height: auto;
background-color: #ffff00;
float: right;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#mainBlock {
width: 440px;
height: auto;
background-color: #ffff00;
float: left;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#footerBlock {
height: 40px;
background: #9966FF;
clear: both;
}
.glossymenu{
list-style-type: none;
margin: 5px 0;
padding: 0;
width: 165px;
border: 0px solid #9A9A9A;
border-bottom-width: 0;
text-align: left;
}
.glossymenu li a{
background: white url(glossyback.gif) repeat-x bottom left;
font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
color: white;
display: block;
width: auto;
padding: 3px 0;
padding-left: 10px;
text-decoration: none;
}
*html .glossymenu li a{ /*IE only. Actual menu width minus left padding of A element (10px) */
width: 160px;
}
.glossymenu li a:visited, .glossymenu li a:active{
color: white;
}
.glossymenu li a:hover{
background-image: url(glossyback2.gif);
}
</style>
<div id="contaniner">
<div id="headerBlock">headerBlock
</div>
<div id="navbar">navbar
</div>
<div id="content">
<div id="leftBlock">
<ul class="glossymenu">
<li><a href="http://www.dynamicdrive.com/" >dynamicdrive</a></li>
<li><a href="http://www.dynamicdrive.com/style/" >dynamicdrive</a></li>
<li><a href="http://www.javascriptkit.com/jsref/">javascriptkit</a></li>
<li><a href="http://www.javascriptkit.com/domref/">javascriptkit</a></li>
<li><a href="http://www.cssdrive.com">cssdrive</a></li>
<li><a href="http://www.codingforums.com/" style="border-bottom-width: 0">codingforums</a></li>
</ul>
</div>
<div id="rightBlock">rightBlock
</div>
<div id="mainBlock">mainBlock
</div>
</div>
<div id="footerBlock">footerBlock
</div>
</div>
2) AUTHOR NAME/NOTES: MIROSLAV GOJIC
3) DESCRIPTION: Three column CSS template with auto high *vertical stretch*
4) URL TO CODE: http://www.miroslavgojic.rs.ba
or, ATTACHED BELOW (see #3 in guidelines below):
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 0px;
text-align: center;
width: 790px;
}
#contaniner {
background: #66CCFF;
width: 790px;
margin-left: auto;
margin-right: auto;
position: relative;
}
#headerBlock {
width: 790;
background: #0000FF;
height: 125px;
}
#navbar {
width: 790px;
height: 25px;
}
#content {
height: auto;
}
#leftBlock {
width: 175px;
height: auto;
background-color: #ffff00;
float: left;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#rightBlock {
width: 175px;
height: auto;
background-color: #ffff00;
float: right;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#mainBlock {
width: 440px;
height: auto;
background-color: #ffff00;
float: left;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
#footerBlock {
height: 40px;
background: #9966FF;
clear: both;
}
.glossymenu{
list-style-type: none;
margin: 5px 0;
padding: 0;
width: 165px;
border: 0px solid #9A9A9A;
border-bottom-width: 0;
text-align: left;
}
.glossymenu li a{
background: white url(glossyback.gif) repeat-x bottom left;
font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
color: white;
display: block;
width: auto;
padding: 3px 0;
padding-left: 10px;
text-decoration: none;
}
*html .glossymenu li a{ /*IE only. Actual menu width minus left padding of A element (10px) */
width: 160px;
}
.glossymenu li a:visited, .glossymenu li a:active{
color: white;
}
.glossymenu li a:hover{
background-image: url(glossyback2.gif);
}
</style>
<div id="contaniner">
<div id="headerBlock">headerBlock
</div>
<div id="navbar">navbar
</div>
<div id="content">
<div id="leftBlock">
<ul class="glossymenu">
<li><a href="http://www.dynamicdrive.com/" >dynamicdrive</a></li>
<li><a href="http://www.dynamicdrive.com/style/" >dynamicdrive</a></li>
<li><a href="http://www.javascriptkit.com/jsref/">javascriptkit</a></li>
<li><a href="http://www.javascriptkit.com/domref/">javascriptkit</a></li>
<li><a href="http://www.cssdrive.com">cssdrive</a></li>
<li><a href="http://www.codingforums.com/" style="border-bottom-width: 0">codingforums</a></li>
</ul>
</div>
<div id="rightBlock">rightBlock
</div>
<div id="mainBlock">mainBlock
</div>
</div>
<div id="footerBlock">footerBlock
</div>
</div>