Hi,
How can I create a form with two columns side by side, with left column text right aligned, and right column text left aligned?
The below code doesn’t seem to work for the left column text is not getting right aligned. Please help.
HTML
Code:
Master Service Line Description
CSS
Code:
div.formfield-title{float: left;
margin-left: 10px; margin-top: 5px; margin-right:0px;
text-align: right;
vertical-align:middle;}
div.formfield{ text-align:right;
vertical-align: middle;
margin-right: 20px;
margin-top: 5px;}