473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 3005
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: bart | last post by:
Why is it that everybody likes the follwowing curly braces syntax function() { implementations; } I find the following much better to read (C style) function() {
8
by: Andrew Ayre | last post by:
Hi, I have the following table layout: --------------------- | A | E | ------ |
0
by: Andrew Ayre | last post by:
I have the following table layout: --------------------- | A | E | ----- | | B | | ----- | | C | | ----- |...
9
by: Markus Ernst | last post by:
Hi I am building an admin environment for a CMS system. For the issues described I have a testcase available at http://www.ernstdeslebens.ch/csstest/ I am sorry the links are not useable as...
3
by: cpt | last post by:
I read that if one uses "table-layout:fixed" then table rendering is speeded by setting row height. All my rows are 285 px high. 1) Is this true? 2) If true, how does one set row-height for the...
5
by: jim_briers_us | last post by:
Hi Pretty starightforward question I'm sure so hopefully someone can enlighten me. If I have two divs next to each other how can I ensure that both are the same height? E.g. if the right hand...
7
by: lauren quantrell | last post by:
A while back I got a requirement for the client to be able to adjust the relative heights of two subforms by click-dragging the mouse and I came up with a kludge solution using a border control...
2
by: sfeher | last post by:
Hi All, I am having trouble big times figuring out a way of forcing a DIV to be in synch with another DIV's height in a (mostly vertically) fluid layout in a web app context. The first one has...
5
by: Stan R. | last post by:
Greetings. I have a couple of questions concerning CSS layouts, as apposed to the old <tablemethod for creating layouts . Even after spending the last few days searching all over Google Groups, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.