+ 1

How do I make div. Display as inline when I have used d class tag

<div> display:inline; .first

21st Apr 2018, 3:46 PM
Muiz Haruna
Muiz Haruna - avatar
2 ответов
+ 7
div.inline { float:left; } .clearBoth { clear:both; } <div class="inline">1<br />2<br />3</div> <div class="inline">1<br />2<br />3</div> <div class="inline">1<br />2<br />3</div> <br class="clearBoth" /><!-- you may or may not need this --> SOURCE: https://stackoverflow.com/questions/224602/how-do-you-make-div-elements-display-inline
21st Apr 2018, 3:56 PM
Baraa AB
Baraa AB - avatar
+ 1
thanks alot
21st Apr 2018, 4:04 PM
Muiz Haruna
Muiz Haruna - avatar