I know this is a simple problem but it bedevils me.
I'd like to have a container with two columns with the following
properties:
1. Both columns dynamically adjust their width to fit their
contents, with the total width of both columns completely filling
the width of the container block.
2. When the browser window gets narrow, the column blocks should stay
side-by-side and not jump one below the other.
3. If one column has less information vertically than the other, the
column with more information won't wrap its text under the column
with less information.
4. If the width of one column is defined narrower than whatever I
put in it, the column block adjusts its width to fit throughout the
entire height of the container block that holds both columns.
A table having 1 row and 2 cells do exactly that. I'd like to
duplicate that behavior with CSS because I suspect using tables
is messing up something else unrelated to this problem. I'm not
displaying tabular data here, so I don't need tables, but the column
behavior I want is sure easy to get using tables. I can get some of
the above behavior with CSS but not all of it. Any suggestions?
-A
axlq - 11 Sep 2007 22:37 GMT
Anyone...? Just wondering how it's possible to replicate the
dynamic behavior of table columns using CSS without tables.
-A
>I know this is a simple problem but it bedevils me.
>
[quoted text clipped - 24 lines]
>
>-A
dorayme - 11 Sep 2007 22:44 GMT
> I'd like to
> >duplicate that behavior with CSS because I suspect using tables
> >is messing up something else unrelated to this problem. I'm not
> >displaying tabular data here, so I don't need tables, but the column
> >behavior I want is sure easy to get using tables.
If that is the reason you don't want to use tables, how about a
url to see if it is the tables that are causing you trouble.

Signature
dorayme
GArlington - 13 Sep 2007 14:13 GMT
> I know this is a simple problem but it bedevils me.
>
[quoted text clipped - 24 lines]
>
> -A
Google for "css style three columns"...
axlq - 29 Sep 2007 03:13 GMT
>> I know this is a simple problem but it bedevils me.
>>
[quoted text clipped - 26 lines]
>
>Google for "css style three columns"...
Thanks. Hmm, I suspected it wasn't straightforward. None of the
examples so far meet all my criteria but they come close.
-A
dorayme - 29 Sep 2007 03:52 GMT
> >> I'd like to have a container with two columns
> > Google for "css style three columns"...
And if he wanted 3 cols, would you tell him to google for 2 cols?

Signature
dorayme
axlq - 29 Sep 2007 04:15 GMT
>> >> I'd like to have a container with two columns
>
>> > Google for "css style three columns"...
>
>And if he wanted 3 cols, would you tell him to google for 2 cols?
Wouldn't a 3-column layout be modifiable to create the two columns I
need?
-A
dorayme - 29 Sep 2007 22:30 GMT
> >> axlq) wrote:
> >
[quoted text clipped - 6 lines]
> Wouldn't a 3-column layout be modifiable to create the two columns I
> need?
Perhaps it would be easier to modify your average googled 3 col
to 2 col than your averaged 2 col to 3 col. If I was looking for
a 2 col I would google for 2 col first. As a first try at least.
But, clearly, someone else thinks differently. Earthling
reasoning... I have heard that most American eathlings hear
voices from the beyond, ditto in the Middle East generally...
Nothing can be done about any of this. Evolution will take care
of things.

Signature
dorayme