HighDots Forums  

Matching DIV heights in layout

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Matching DIV heights in layout in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hestres
 
Posts: n/a

Default Matching DIV heights in layout - 02-05-2008 , 12:41 PM






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


Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-05-2008 , 03:26 PM






In article
<30be2319-38d0-4400-a385-7829afd0c2e4 (AT) j20g2000hsi (DOT) googlegroups.co
m>,
hestres <luis.hestres (AT) mail (DOT) house.gov> wrote:

Quote:
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


Reply With Quote
  #3  
Old   
Bergamot
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-05-2008 , 05:52 PM



hestres wrote:
Quote:
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


Reply With Quote
  #4  
Old   
hestres
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-06-2008 , 09:13 AM



On Feb 5, 6:52 pm, Bergamot <berga... (AT) visi (DOT) com> wrote:
Quote:
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.


Reply With Quote
  #5  
Old   
Jim Moe
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-06-2008 , 02:05 PM



On 02/06/08 08:13 am, hestres wrote:
Quote:
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)


Reply With Quote
  #6  
Old   
Nik Coughlin
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-06-2008 , 03:01 PM



"Jim Moe" <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> wrote

Quote:
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.



Reply With Quote
  #7  
Old   
Bergamot
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-06-2008 , 06:38 PM



Nik Coughlin wrote:
Quote:
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


Reply With Quote
  #8  
Old   
Nik Coughlin
 
Posts: n/a

Default Re: Matching DIV heights in layout - 02-06-2008 , 08:32 PM



"Bergamot" <bergamot (AT) visi (DOT) com> wrote

Quote:
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.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.