HTML/CSS: Making two floating divs the same height

I have a little peculiar problem that I currently solve using a table, see below. Basically, I want to have two divs take up 100% of the available width, but only take up as much vertical space as needed (which isn’t really that obvious from the picture). The two should at all times have the exact same height with a little line between them, as shown.

alt text

This is all very easy to do using table, which I’m currently doing. However, I’m not too keen on the solution, as semantically this is not actually a table.

HTML/CSS: Making two floating divs the same height