I am trying to design my site without tables, using CSS for
positioning and am having limited success. My main issue is I have a
three column layout and my footer needs to run across the page, after
the longest content from any column has finished. I've found a few
examples and I thought I had mine set up correctly, but obviously
something is wrong. So if there is any CSS expert out there willing to
give me some tips...
The page is http://www.ukhoopsfans.com/csstest2.php
The CSS is
body {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
margin: 0;
padding: 0;
}
td {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
}
th {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
}
h2 {
background-color:#CCCCCC;
color:#003399;
font-size: larger;
}
#header {
clear: both;
margin-left: 10px;
text-align: center;
color: #000;
border-bottom: 1px solid #333;
}
#leftcol {
position: absolute;
left; 0;
width: 150px;
margin-left: 10px;
margin-top: 0px;
color: #000;
padding: 3px;
}
#rightcol {
position: absolute;
left: 80%;
width: 140px;
padding-left: 10px;
z-index: 3;
color: #000;
padding: 3px;
}
#content {
margin-right: 0px 25% 0 165px;
padding: 3px;
color: #000;
}
#footer {
clear: both;
width: 95%;
margin: 10px;
text-align: center;
padding: 3px;
bordoer-top: 1px solid #333;
color: #000;
}