Hey everyone,
I'm not new to web design, but I have been working on this project for a while and my eyes are crossing! I think its a fairly simple issue...
I have a footer with a background image, and within that footer I have 3 columns, evenly distributed and floated left. I try not to do any absolute positioning when possible because I know the background won't repeat if your absolutely positioned div's expand. col1 containts text, col2 and col3 have <ul>'s that are outputted by a wp plugin. Also, I use cufon to display it in a nice font.
Since the <ul>'s will vary in length sometimes, I want the background on the #footer to repeat. The problem is that if I give the #footer a min-height, it repeats, but if the text expands past that min-height, it doesn't repeat anymore. If I remove the min-height, it shows the background real small right at the top of the div.
Here's my css:
#footer {color: #fff; width: 1020px; margin-left: auto; margin-right: auto; background: url(images/ourbg2.png) repeat; }
#footer .strong {font-weight: bold; font-size: 14px;}
#footer a, a:hover, a:visited {color: #000608;}
#footer ul {list-style-type: none; }
#footer .col1 {float: left; padding: 10px 0 10px 10px; width: 30%; }
#footer .col2 {float: left; padding: 10px 0 10px 0; width: 34%; }
#footer .col3 {float: left; padding: 10px 0 10px 0; width: 34%; }
Here's my HTML:
<div id="footer">
<div class="col1">
<p>
<span class="strong">Harvest Time Tabernacle</span<br />
901 Wildcat Drive<br />Abbeville, LA 70510<br />
<span class="strong">555-555-5555</span>
</p>
</div><!--col1-->
<div class="col2">
<p>
<span class="strong">Our Recent Blog Posts</span>
<?php recent_posts(); ?>
</p>
</div><!--col2-->
<div class="col3">
<p>
<span class="strong">Our Most Popular Blog Posts</strong>
<?php popular_posts(); ?>
</p>
</div><!--col3-->
</div><!--footer-->
If you need to see the page in action let me know, the reason I haven't posted the url here is because I have the site in "maintenance mode" and you need an admin account to view it.
Any help is GREATLY appreciated!!
-Dru