If I have two <input type="text" ...
and I know that one should aceept text and the other a numeric value (and will check that in PHP when validating the form), can I align the contents of the text box left & the contents of the numeric box right using CSS?
views:
20answers:
1
+2
A:
<style type="text/css">
.right { text-align: right; } </style>
<input type="text" /> <input type="text" class="right"/>
Rob
2010-09-25 01:53:57
+1 an dthe answer. D'oh! I had put the class on the enclosing DIV
LeonixSolutions
2010-09-25 02:06:55