June 4, 200818 yr Hi Guys I have rebuilt my home site only I keep coming across the same problem. I have a DIV with a left border BUT the site is content managed, so if the left content is longer than the right content, the left border of the right content stops before the footer. It might be easier to see what I mean by going here. I have tried to set "height: 100%" but it does nothing. I can set the min-height, but this is a messy fix which may break depending on the content on the page. Any help would be greatfully accepted.
June 4, 200818 yr Why not put your border in your #left div, I think ther will be about a 2px difference in its position. Pat
June 5, 200818 yr Author Thanks Pat, but putting the border on the right side of the left DIV leaves me with the same problem when the content doesn't force the DIV to expand as much as the right div. The right DIV is usually the longest so the problem is only obvious on one or two pages. Either side I end up with the same problem.
June 5, 200818 yr Author Thanks bluedreamer, I had thought of that but it seems like a cop out as I must be able to make a DIV expand to fit the whole height governed by an adjacent DIV. When needs must in the end, but does anybody have any ideas on using css to get this to work?
June 5, 200818 yr There are a few solutions to this. The easiest one in my opinion is like bluedreamer said, to make it a background image. There are some other methods mentioned in this article: http://www.ejeliot.com/blog/61
June 5, 200818 yr Author Thanks guys. What a faff!! Easy option is the bg image but I am disappointed it is this way. Oh well, on to the next project ;-)
Create an account or sign in to comment