ryan.od Posted November 4, 2006 Share Posted November 4, 2006 If I have a two column layout with varying amount of content in the right division, how do I ensure the border between the left and right division always reaches the cleared footer at the bottom?See it here. . .http://www.evaluationsite.com/login/login.phpCurrently, the border is a left-border applied to the right column. If I switched the border to a border-right applied to the left column, it would fix the problem. However, as soon as there is enough content in the right column to push the footer down, I have the same problem again.I know this is common issue. . .I just don't know what the answer is. Thanks.Ryan OD Quote Link to comment Share on other sites More sharing options...
AndyB Posted November 4, 2006 Share Posted November 4, 2006 'CSS faux columns' - http://alistapart.com/articles/fauxcolumns/ Quote Link to comment Share on other sites More sharing options...
ryan.od Posted November 4, 2006 Author Share Posted November 4, 2006 Alright. That works. Really, I was hoping for a CSS border based solution, but using a bg image works fine. Thanks, I wouldn't have thought to try that.Ryan OD Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted November 4, 2006 Share Posted November 4, 2006 What is wrong with just using teh left border?you need to check you html there are two unlcosed div tags in there! Quote Link to comment Share on other sites More sharing options...
ryan.od Posted November 6, 2006 Author Share Posted November 6, 2006 You cannot use a left border on the right column or a right border on the left column because there is varying amounts of content in each column and CSS borders only extend down to when the content ends.As such, if you use a left border on the right column and on some page the right column is shorter than the left column, the left border will not reach the footer division. . .there will be a gap.Thanks for pointing out the div issue. I'm developing a full CMS / blog / ecommerce solution for a company in Portland, OR and have yet to slow down to look for issues such as that. I owe you one!!RyanOD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.