To display div horizontally using css follow this code. Just put this css code in div tag using style attribute.
<div style="float: left; width: 25%"> Some code here </div> <div style="float: left; width: 25%"> Some code here </div> <div style="float: left; width: 25%"> Some code here </div> <div style="float: left; width: 25%"> Some code here </div>
Question and answer is powered by AnsPress.io