2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Nattynooster
0

ignoring proper html that validates, just to show the necessary code

<table>
<tr>
<td align='right'>label :</td>
<td> content</td>
</tr>
<tr>
<td align='right'>long label :</td>
<td> content</td>
</tr>
</table>

table ( tacky)
or

<style type='text/css'>
.left { width:35%; text-align:right; float:left;}
.right {width:60%: text-alight:left; float:right;}
</style>
<div>
<span class='left'>label</span>
<span class='right'>content</span>
</div>
<div>
<span class='left'>long label</span>
<span class='right'>content</span>
</div>

css

0

Thank you kind sir! I'm not sure if this was meant to happen but the label was on the very left and content on very right, I changed both to float left and it now works! Thank you :) Hopefully this will work with all browsers, rep!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.