How to set max visible width for text input ?

How to set max visible width for text input ?

I have an 4 input tags and it displays each on its own line, full width. I expect an short input - five or six characters maximum. I can set the maximum input, but visibly, the box is still drawn full width. Other than putting each input tag inside the column of a table, how else can I force the input box to appear short (50px for example).

I did try CSS of
input.Num4      { width: 50px; text-align: right; }

It limited the input, but the box that was drawn was full length.

All help... greatly appreciated :)