|
Posted by Jonathan N. Little on 12/14/06 23:09
Bergamot wrote:
> Jonathan N. Little wrote:
>> .toright { text-align: right; }
>>
>> <input name="test" type="text" size="10" class="toright" value="sample">
>
> You should use a class name that describes the content, not the style.
> In the OP's case, class="amount" or something else indicative of numeric
> content would be more suitable.
>
Normally *I* would, like I have a class "bucks" for formating my
currency cells, but A) I did not know what the OP's purpose for his
right aligned cells since he did not supply a URL and B) If a made one
up, it might confuse the OP so I chose a very clear demo label
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|