Designing a clean, flexible, three column website is more difficult with CSS than you may think. Unlike when working with tables, CSS styled content does not necessarily always flow in the most flexible manner. You cannot always expect CSS to expand with the content, in the same way that tables might.
This can cause difficulties when, for example, you might want to build a web page with multiple columns. Where table columns would all expand together to fit the column with the most content, CSS columns are typically controlled individually. As such, it can be a challenge to build a three column website where all columns are equal height and can flex with the amount of content within them.
Fortunately, solutions DO exist. One of the best solutions to this problem that I have found so far, can be found at this link: 3 col layout with equalizing columns and footer
In his example, the author has created a flexible CSS layout that will run a three column website, leaving the columns to be flexible enough to grow or shrink as content demands. This design also demonstrates the ability to keep the footer at the bottom of the page, regardless of lack of content. If there is more content than room on the page, the column will extend down. However, if there is less content than needed to fill the page, the footer will stay fixed at the bottom of the window.
Feedback
Related Entries
Links:
- ReputationDefender
- Web Hosting Canada hosting packages starts at $3.95/m. 24/7 toll free support.
Recommended:
Other Information:
Programming Related
Articles we've written related to the topic of PHP Programming.
- Beware of Thieves like AmazonPress
(April 22nd, 2010 – 2 Comments) - Paginated Navigation Bar
(December 21st, 2009 – 2 Comments) - Wicked Cool PHP – Review
(November 23rd, 2009 – One Comment) - PHP Object Unit Testing
(June 5th, 2009 – Comment on This) - Link Directory Plugin Work
(April 8th, 2009 – Comment on This)
Website Development Tips
Tips and strategies related to the development of great websites.
- Aptana and Eclipse Mouse Click Problems
(January 21st, 2010 – Comment on This) - Captcha Insanity?
(June 18th, 2009 – One Comment) - PHP Object Unit Testing
(June 5th, 2009 – Comment on This) - FormContact 1.1 with PHP5 Support
(June 24th, 2008 – 2 Comments) - Website Subversion Backup
(April 8th, 2008 – One Comment)
General Information & Resources
General information and resources from WarkenSoft Productions.
- Beware of Thieves like AmazonPress
(April 22nd, 2010 – 2 Comments) - Aptana and Eclipse Mouse Click Problems
(January 21st, 2010 – Comment on This) - Wicked Cool PHP – Review
(November 23rd, 2009 – One Comment) - New Webmaster Tool – The Regular Expression Editor
(June 15th, 2007 – Comment on This) - Where to Start with a Website
(March 19th, 2007 – Comment on This)







