I have two different divs with different contents, and they would like them to be the same height and width. It seems like a bad idea to set their height and width to a fixed pixel size, because their size probably depends on the size of the browser / screen. Setting their width in percent works, but percent is not an option for height.
Is there a way to ensure that two divs are the same size without setting fixed pixel sizes? Or are fixed pixel sizes really that bad?
source share