input alignment

input alignment

LapointeLapointe Posts: 430Questions: 81Answers: 4
edited October 2019 in Free community support

Hello
Is there a way to set format input right (in editor form) as:

Login: <input  style="text-align: right" type="text" name="Login"/>

for numeric fields by default or as needed
Thanks

This question has accepted answers - jump to:

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    Answer ✓

    Hi @Lapointe ,

    You can do something like this - see the Age column.

    Cheers,

    Colin

  • LapointeLapointe Posts: 430Questions: 81Answers: 4

    hi @colin
    Using css is ok to set right alignment for each input associated with calssName... but setting width in the classname style does not run... this property is overlayed by the editor input styles
    I'm not sure the good way is #DTE_fields_"each numeric fiels name" because on need to update each time the css part.
    another way to set input visible width for those I want to ?

  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Answer ✓

    Try adding !important to your CSS - e.g.:

    width: 50px !important;
    

    Allan

This discussion has been closed.