+ 1
How do I make div. Display as inline when I have used d class tag
<div> display:inline; .first
2 odpowiedzi
+ 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
+ 1
thanks alot