Discussion board
CSS
By ganesh pradhan
Hi
Actually I wanted to know.If I created a "div" again I want to created same "div" just right side the first "div"
I am trying to do but its come bottom of the first "div"
what is the code for this.Please help me.
Reply
Post   Reset
Sanjay S Nair replied to ganesh pradhan Friday, January 22, 2010
<div style="float:left;width:100px;height:100px;background-color:#cccccc">This is div 1</div>
<div style="float:left;width:100px;height:100px;background-color:#666666">This would second div</div>


You have to use float property