Currently, I am experiencing an issue with my layout. I have a hidden div with a fixed position that becomes visible when a button on the page is clicked. Inside this div, there is a table of buttons for the user to choose from.
The problem arises when I do not specify a height for this div - it expands to full page height. This is problematic because the number of buttons may vary, making it difficult to set a fixed height for each one of them.
I have created a couple of fiddles to demonstrate the issue. The first fiddle shows the div with a specified height: http://jsfiddle.net/gbRzt/. The second fiddle does not have a height set: http://jsfiddle.net/gbRzt/1/.
On a side note, I am facing another issue where the buttons in the last row, specifically #7 and #8, are not centered like the rest. Is there a way to center them properly?