Borders to display on the entire height.
# November 21, 2012 at 12:00 am
I’m working on this site:
but I’m wondering, how do I get the borders to display down the entire thing? (left and right borders that are in the middle).
I’ve tried min-height: 100% and height: 100% and they both don’t seem to work.
Also, is overflow: auto the best solution to keep backgrounds covering the back of the content. Without it the background doesn’t want to cover everything.# November 21, 2012 at 12:15 am
@robertallen : If you just want a box that will have borders going down the side, just add this to the
However, if you do that then only add border left and border right.
But i would suggest using a sticky footer (im assuming you will have a footer and content that will grow).# November 21, 2012 at 4:19 am
This reply has been reported for inappropriate content.
What you’re attempting to do is one of the problems with columns in that you can’t really have all columns match height without specifying an actual height in PX (which is usually not possible taking into account the content will be variable.
What I have done in situations like this is to cheat, using a background image on the container for all the columns. Alternatively you could go one further and use a gradient for the background that will ensure the percentages etc are correct, but again it’s not an easy fix.
You must be logged in to reply to this topic.