472,138 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,138 software developers and data experts.

Matching DIV heights in layout

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
7 2971
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
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
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
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
"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
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
"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.

Similar topics

31 posts views Thread by bart | last post: by
8 posts views Thread by Andrew Ayre | last post: by
reply views Thread by Andrew Ayre | last post: by
3 posts views Thread by cpt | last post: by
5 posts views Thread by jim_briers_us | last post: by
2 posts views Thread by sfeher | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.