How to make the

前端 未结 5 1189
清酒与你
清酒与你 2020-12-06 13:08

I need to make the images show up side by side horizontally in the div. How can I do that?

HTML:



        
5条回答
  •  孤城傲影
    2020-12-06 13:34

    On the general assumption of your code being something like this

    Then, a simple CSS property will get the job done.

    div img { display: inline; }
    

    On seeing your HTML portion. You can use the following CSS to get them online.

    .partners img { display: inline; }
    

提交回复
热议问题