Align images horizontally CSS

前端 未结 5 2122
轻奢々
轻奢々 2020-12-20 15:57

I want to align my three images horizontally instead of vertically what is the easiest way to achieve this? example

5条回答
  •  失恋的感觉
    2020-12-20 16:06

    You need the div's containing the images to be floated.

    Add this section of code into your css:

    #christmas_promotion_boxes > *{
        float:left;
    }
    

    http://jsfiddle.net/tDfCR/5/

提交回复
热议问题