Forum : classification
Brief description  about Online courses   join in Online courses
View Alok Ranjan Rai 's Profile

classification

Dear Sir,
I am using float: right
but it not proper working. i had to used margin-top:-500px;
if i am using float: right, then
The div element should be display the right of the parent div element.

Thanks
Asked by Alok Ranjan Rai | Jan 12, 2011 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi

Try this code hope this will solve your problem
<div style="float:left; background-color:#FF0000; width:200px;">left box </div>
<div style="margin-left:200px; background-color:#006600;"> Right part </div>

Regards
Jan 12, 2011