By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

Matching DIV heights in layout

P: n/a
Hello,

I'm having trouble figuring out how to make sure that all my DIVs in
this layout are of the same height. Here's an example of a page where
I'm having this problem:

http://www.house.gov/velazquez/test/issues/index.html

As you can see, the main content column (the white one) cuts off while
the sidebar (yellow) keeps going. I want the white column to be the
same height as the sidebar consistently through every page.

Help! Thanks!

Luis

Feb 5 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
In article
<30**********************************@j20g2000hsi. googlegroups.co
m>,
hestres <lu**********@mail.house.govwrote:
Hello,

I'm having trouble figuring out how to make sure that all my DIVs in
this layout are of the same height. Here's an example of a page where
I'm having this problem:

http://www.house.gov/velazquez/test/issues/index.html

As you can see, the main content column (the white one) cuts off while
the sidebar (yellow) keeps going. I want the white column to be the
same height as the sidebar consistently through every page.

Help! Thanks!

Luis
Perhaps you might first fix some or all of the errors in the css
and html via http://validator.w3.org/ and
http://jigsaw.w3.org/css-validator/

Things like missing ";" in #header css (which can be misleadingly
reported as invalid property value "margin-top: 0px" because this
nomally good bit is following the missing ";")

Apart from these minor matters, consider this sort of fix:

Make background: #fff; for your #main and background: #ffffcc;
for your #sidebar.

The whole subject of colours and columns and css is complicated.

--
dorayme
Feb 5 '08 #2

P: n/a
hestres wrote:
>
I'm having trouble figuring out how to make sure that all my DIVs in
this layout are of the same height.
I'm having trouble figuring out why this same question comes up week
after bloody week. You're posting from google groups. Did you even *try*
a search through the archives?

--
Berg
Feb 5 '08 #3

P: n/a
On Feb 5, 6:52 pm, Bergamot <berga...@visi.comwrote:
hestres wrote:
I'm having trouble figuring out how to make sure that all my DIVs in
this layout are of the same height.

I'm having trouble figuring out why this same question comes up week
after bloody week. You're posting from google groups. Did you even *try*
a search through the archives?

--
Berg
Thank you for being so helpful, Berg...I sincerely appreciate your
willingness to help on this matter, and I hope I have the chance to
reciprocate someday.
Feb 6 '08 #4

P: n/a
On 02/06/08 08:13 am, hestres wrote:
>>
I'm having trouble figuring out why this same question comes up week
after bloody week. You're posting from google groups. Did you even *try*
a search through the archives?

Thank you for being so helpful, Berg...I sincerely appreciate your
willingness to help on this matter, and I hope I have the chance to
reciprocate someday.
Since you did not answer his question, I'd guess it is "No, I did not
search first."

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 6 '08 #5

P: n/a
"Jim Moe" <jm***************@sohnen-moe.comwrote in message
news:TZ******************************@giganews.com ...
On 02/06/08 08:13 am, hestres wrote:
>>>
I'm having trouble figuring out why this same question comes up week
after bloody week. You're posting from google groups. Did you even *try*
a search through the archives?

Thank you for being so helpful, Berg...I sincerely appreciate your
willingness to help on this matter, and I hope I have the chance to
reciprocate someday.

Since you did not answer his question, I'd guess it is "No, I did not
search first."
Or perhaps he/she didn't know what terms to use in their search -- which
seems to be indicated by their subject line, "Matching DIV heights in
layout".

To the OP: try using Google Groups to search for equal height columns or
equal height div in alt.html, then sort by date to get the most recent
posts.

Feb 6 '08 #6

P: n/a
Nik Coughlin wrote:
>>Bergamot wrote:

You're posting from google groups. Did you even *try*
a search through the archives?

Or perhaps he/she didn't know what terms to use in their search -- which
seems to be indicated by their subject line, "Matching DIV heights in
layout".
OK, I admit that results on that search would come up empty, but
jeepers, this question comes up so often that it would probably take
about 5 minutes to find some answers just browsing through the last
couple weeks of posts from this group or alt.html

google gropers tend to not put any effort into it at all. It annoys the
heck out of me.

--
Berg
Feb 7 '08 #7

P: n/a
"Bergamot" <be******@visi.comwrote in message
news:60*************@mid.individual.net...
Nik Coughlin wrote:
>>>Bergamot wrote:
>
You're posting from google groups. Did you even *try*
a search through the archives?

Or perhaps he/she didn't know what terms to use in their search -- which
seems to be indicated by their subject line, "Matching DIV heights in
layout".

OK, I admit that results on that search would come up empty, but
jeepers, this question comes up so often that it would probably take
about 5 minutes to find some answers just browsing through the last
couple weeks of posts from this group or alt.html

google gropers tend to not put any effort into it at all. It annoys the
heck out of me.
Yeah, fair enough too. But sometimes it is just a matter of people not
knowing any better rather than laziness.

Feb 7 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.