dupalo - 4:56 pm on Mar 25, 2012 (gmt 0)
thanks for that, neat trick, didn't think about using the padding property to achieve that.
What if I use the
line-height:xxpx; where xxpx is the pixel value of the div's height? So in other words if I leave my code as it was and give each div a line-height depending on the height? That works fine. Is your code (with the padding) a better solution than using line-height? If yes, why?