z_diver
01-05-2007, 10:07 PM
I'm having difficulty getting a css page with 3 columns to draw each equal in height. Ideally the page formatting would be just the 3 columns running the length of the entire page with the center column containing most of the content and footer (hence it would be the longest always). Setting 100% doesn't seem to be having the effect I'd like. I've tried setting a wrapper at 100% and also the equalcolumns.js all to no avail.
Is there a trick I can use, such as putting it all in tables or something.
Here is my page: Sorry it's not very clean.
Thanks, Chuck
<!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>Playa Cochaima, Venezuela: Hotels and Posadas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Playa Cochaima Venezuela is for backpackers with posadas, Inns and hotels" />
<meta name="keywords" content="Playa Cochaima Venezuela backpackers hotels clubs kayaking diving snorkeling paragliding stay" />
<link rel="stylesheet" href="newsite.css" type="text/css" />
<link rel="shortcut icon" href="http://www.playacochaima.com/favicon.ico" />
<script src="equalcolumns.js" type="text/javascript"></script>
<style type="text/css">
a:link { color: blue; text-decoration: none; }
a:visited { color: purple; text-decoration: none;}
a:hover { color: #ffffff; text-decoration: none; background-color: green;}
a:active { color: #ff9f3f; }
a.neon:link { color: #ccff00; text-decoration: none; display:block; padding-right: 5px; }
a.neon:visited { color: #ccff00; text-decoration: none; display:block; padding-right: 5px; }
a.neon:hover { color: #000000; text-decoration: none; background-color: #ccff00; display:block; padding-right: 5px; }
a.neon:active { color: #ff9f3f; }
body
{
height: auto;
background-color: #a2a2a2; }
#columnLeft
{
left: 0;
width: 170px;
position: absolute;
top: 0px;
height: 100%
background-color: #996600;
background-image: url(images/PCV-logo2.jpg);
background-repeat: no-repeat;}
#columnCenter
{
left: 170px;
top: 0px;
width: 600px;
position: absolute;
height: 100%;
background-color: #999999;
background-image: url(images/shadow-left.png);
background-repeat: repeat-y;
padding-left: 10px;
margin-bottom: 0; }
#columnRight
{
left: 770px;
top: 0px;
background-color: #a2a2a2;
position: absolute;
height: 100%;
background-image: url(images/shadow-right.png);
background-repeat: repeat-y;
padding-left: 14px; }
.navbar
{
position: absolute;
width: 135px;
display: block;
top: 100px;
padding-left: 35px;
list-style-type: none;
font-family: Comic Sans MS, arial, helvetica, sans-serif;
color: #ccff00;
font-weight: bold;
font-size: 16px;
text-align: right; }
#footer
{ font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
text-align: center;
width: 100%;
clear: both;
height: 50px;
background-color: #FF8080;
color: #000000;
vertical-align: bottom;}
#wrapper
{
height: 100%;
background-image: url(images/bg.png);
background-repeat: repeat-y; }
</style>
</head>
<body>
<div id="wrapper">
<div id="columnLeft">
<ul class="navbar"><!-- Site navigation menu -->
<li><a class="neon" href="index.shtml">Home</a></li>
<li><a class="neon" href="hotels.shtml">Places to Stay</a></li>
<li><a class="neon" href="restaurants.shtml">Restaurants</a></li>
<li><a class="neon" href="eco-tours.shtml">Things to do</a></li>
<li><a class="neon" href="maps.shtml">How to get here</a></li>
<li><a class="neon" href="contact.shtml">Reservations</a></li>
<li><a class="neon" href="playacochaima.shtml">About Us</a></li>
</ul><!-- End Site navigation menu -->
<img src="images/santa-fe.jpg" vspace="320" alt="Santa Fe image" />
</div>
<!-- Main Page -->
<div id="columnCenter">
<img src="images/spacer.gif" width="600" height="20" alt="spacer" />
<img src="images/check-out-venezuela.png" hspace="20" alt="Check Out Venezuela" /><br /><br />
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<div id="footer">© 2004 PlayaCochaima.com | All Rights Reserved<br />
Contact the webmaster if you experience any difficulties with this site.
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" border="0" align="top" /></a>
</div><!-- End of footer -->
</div><!-- End Main Page -->
<div id="columnRight"><!-- Right Side column -->
<img src="images/beach-boat-kayak.jpg" vspace="65" alt="Boats on isla Arapo" />
</div><!-- End Right Side column -->
</div><!-- End wrapper -->
</body>
</html>
Is there a trick I can use, such as putting it all in tables or something.
Here is my page: Sorry it's not very clean.
Thanks, Chuck
<!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>Playa Cochaima, Venezuela: Hotels and Posadas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Playa Cochaima Venezuela is for backpackers with posadas, Inns and hotels" />
<meta name="keywords" content="Playa Cochaima Venezuela backpackers hotels clubs kayaking diving snorkeling paragliding stay" />
<link rel="stylesheet" href="newsite.css" type="text/css" />
<link rel="shortcut icon" href="http://www.playacochaima.com/favicon.ico" />
<script src="equalcolumns.js" type="text/javascript"></script>
<style type="text/css">
a:link { color: blue; text-decoration: none; }
a:visited { color: purple; text-decoration: none;}
a:hover { color: #ffffff; text-decoration: none; background-color: green;}
a:active { color: #ff9f3f; }
a.neon:link { color: #ccff00; text-decoration: none; display:block; padding-right: 5px; }
a.neon:visited { color: #ccff00; text-decoration: none; display:block; padding-right: 5px; }
a.neon:hover { color: #000000; text-decoration: none; background-color: #ccff00; display:block; padding-right: 5px; }
a.neon:active { color: #ff9f3f; }
body
{
height: auto;
background-color: #a2a2a2; }
#columnLeft
{
left: 0;
width: 170px;
position: absolute;
top: 0px;
height: 100%
background-color: #996600;
background-image: url(images/PCV-logo2.jpg);
background-repeat: no-repeat;}
#columnCenter
{
left: 170px;
top: 0px;
width: 600px;
position: absolute;
height: 100%;
background-color: #999999;
background-image: url(images/shadow-left.png);
background-repeat: repeat-y;
padding-left: 10px;
margin-bottom: 0; }
#columnRight
{
left: 770px;
top: 0px;
background-color: #a2a2a2;
position: absolute;
height: 100%;
background-image: url(images/shadow-right.png);
background-repeat: repeat-y;
padding-left: 14px; }
.navbar
{
position: absolute;
width: 135px;
display: block;
top: 100px;
padding-left: 35px;
list-style-type: none;
font-family: Comic Sans MS, arial, helvetica, sans-serif;
color: #ccff00;
font-weight: bold;
font-size: 16px;
text-align: right; }
#footer
{ font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
text-align: center;
width: 100%;
clear: both;
height: 50px;
background-color: #FF8080;
color: #000000;
vertical-align: bottom;}
#wrapper
{
height: 100%;
background-image: url(images/bg.png);
background-repeat: repeat-y; }
</style>
</head>
<body>
<div id="wrapper">
<div id="columnLeft">
<ul class="navbar"><!-- Site navigation menu -->
<li><a class="neon" href="index.shtml">Home</a></li>
<li><a class="neon" href="hotels.shtml">Places to Stay</a></li>
<li><a class="neon" href="restaurants.shtml">Restaurants</a></li>
<li><a class="neon" href="eco-tours.shtml">Things to do</a></li>
<li><a class="neon" href="maps.shtml">How to get here</a></li>
<li><a class="neon" href="contact.shtml">Reservations</a></li>
<li><a class="neon" href="playacochaima.shtml">About Us</a></li>
</ul><!-- End Site navigation menu -->
<img src="images/santa-fe.jpg" vspace="320" alt="Santa Fe image" />
</div>
<!-- Main Page -->
<div id="columnCenter">
<img src="images/spacer.gif" width="600" height="20" alt="spacer" />
<img src="images/check-out-venezuela.png" hspace="20" alt="Check Out Venezuela" /><br /><br />
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<br />fill
<div id="footer">© 2004 PlayaCochaima.com | All Rights Reserved<br />
Contact the webmaster if you experience any difficulties with this site.
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" border="0" align="top" /></a>
</div><!-- End of footer -->
</div><!-- End Main Page -->
<div id="columnRight"><!-- Right Side column -->
<img src="images/beach-boat-kayak.jpg" vspace="65" alt="Boats on isla Arapo" />
</div><!-- End Right Side column -->
</div><!-- End wrapper -->
</body>
</html>