Home › Forums › CSS › Vertically centred images with slideshow › Re: Vertically centred images with slideshow
May 8, 2012 at 10:55 am
#102509
Inactive
You can do it with CSS if the height will be constant for the portrait *and* landscape images. For example, if portrait images are always 600px tall, and landscape 450px, then the difference in height is 150px and applying a padding-top of 75px to the landscape images will center them.