I have an HTML table displaying various background images in a number of cells. The table needs to be responsive, so I've set its width to be 100%. However, I need the table's height to be proportionate to its width. Say for example 30% of its width.
I've tried the padding trick used for divs but it doesn't work here. Is there a CSS or JavaScript/jQuery solution?