I have a layout using table cells. I know, using tables is quite out-dated, but I needed it for this one to make each row the same height without using absolute values for their height
See this fiddle or this draft.
I needed the .wrapper
div, to display the .infobox
correctly in firefox. Before that, I had the .infobox
set as 100% height (with position absolute) which worked fine on chrome, since the parenting td
-element had position:relative
.
I want the hover-effect to be applied to the whole table cell but I'm desperate to figure out, how. I only want to use relative values (like em or %) for height and width, to make the layout sort of responsive/fluid.
Edit: Ok, using @OneTrickPony's idea, I tried wrapping them around in another "table-row"-div. So how can I now make both "table-cell"-divs the same height, with kind of vertical-align: middle
but without specifying an absolute height for "table-row"-div?