I am trying to use DIV's instead of tables. I want every other cell to have a green background and the others to have a white background.
The problem is that when data on the white cell is larger than that of the other white cell in that row, the smaller one doesn't stretch to meet the height of the other "cell".
It won't stretch unless the heights are given.
A solution is to give the containing div the same background color as the shorter of the 2 child div's.
Most modern browsers support the table display properties, unfortunately IE doesn't.
The data you are using is essentially table data, so you could use a table.
10-23-2008, 03:55 AM
felgall
Looks to me like the correct semantic tag to use for that data is <table>
10-23-2008, 08:38 AM
mgieser
Well a real table is a likely possibility but the data is all dynamically generated therfore divs are just easier without col and row spans. Thought i'd give you guys all a shout see if anyone knew a trick.