Right Align Form TextBox

[Total: 0    Average: 0/5]

This will place the text in a form box to the right.

Head Code:

<style>
.rightalign
{
  color: blue;
  background-Color: #A0A0F0;
  text-align: right;
}
</style>

Body Code:

<form name=f1>
<input type=text name=t1 value="one two three" class="rightalign">
<BR>
<input type=text name=t2 value="four five six" class="rightalign">

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *