I was wondering if there is a good way to avoid a table but achieve
the following similar behaviour:
Two divs of equal height and undefined width next to each other with a
total width of 100%.
The width of the first (left) div should be the width needed to
contain its content on one line. The other div should take the rest of
the available width. Which content that comes into the first div is
not know in advance.
This can be achieved by using a table with two cells but is there a
good alternative to obtain this with divs or list markup (and the
right css obviously)?
the following similar behaviour:
Two divs of equal height and undefined width next to each other with a
total width of 100%.
The width of the first (left) div should be the width needed to
contain its content on one line. The other div should take the rest of
the available width. Which content that comes into the first div is
not know in advance.
This can be achieved by using a table with two cells but is there a
good alternative to obtain this with divs or list markup (and the
right css obviously)?
Comment