How to align two div in same row ?

Tuesday, December 1, 2009

This is one of the Issue which make developer to pull His/Her Hair,

To align two div in same row, is really very simple, after you know, how it is done.

See the Demo below,

Code :

Output :

Solution to this Problem,

Code :
<div style="float:left;">Rajesh</div><div>Singh</div>

Output :

Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)

No comments :