How do I keep two divs on the same line?

后端 未结 5 1915
梦谈多话
梦谈多话 2021-01-07 16:37

I\'ve been working on a dropdown menu similar to suckerfish. I\'ve got the dropdown side working now, but I have some images I\'m trying to put on either side of the links.

5条回答
  •  春和景丽
    2021-01-07 17:15

    If you want to make more than one div in a single continuation, then just add the below line of code to your css file, with each div, div class etc.

    display: inline-block;
    

提交回复
热议问题