|
Lets say if you have to align text left and right within one line/div, then here is how you do it.
<style>
.clear {
clear:both;
}
.left {
float:left;
text-align:left;
}
.right {
float:right;
text-align:right;
}
</style>
<div class="clear"></div>
<div class="row">
<div class="left">Hello I'm Left</div>
<div class="right">Hello I'm right</div>
</div>
<div class="clear"></div>
|