Forum : CSS
Brief description  about Online courses   join in Online courses
View ganesh  pradhan 's Profile

CSS

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.
Asked by ganesh pradhan | Jan 21, 2010 |  Reply now
Replies (3)
View sanjay s nair 's Profile
My name is Sanjay
Jan 24, 2010
View ganesh pradhan 's Profile
thanks you sir
Jan 23, 2010
View sanjay s nair 's Profile
<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
Jan 22, 2010