Solved
How do I specify the size of text box using CSS?
How do I specify the size of text box using CSS?
Best answer by lillianc
Here are some CSS examples for text boxes. Edit the width parameter as you please and enter the code into the Question Text HTML View. If you want the style to hold through the whole survey and not just on the page, put the code in the custom CSS of the look and feel.
For Single Line Text Entry:
`<style>`
`.Skin .TE .SL .InputText{`
`width: 100px;`
`}`
`</style>`
For Multiple Line Text Entry:
`<style>`
`.Skin .TE .ML .InputText{`
`width: 100px;`
`}`
`</style>`
For Essay Text Entry:
`<style>`
`.Skin .TE .ESTB .InputText{`
`width: 100px;`
`}`
`</style>`
For Forms:
`<style>`
`.Skin .TE .FORM .InputText{`
`width: 100px;`
`}`
`</style>`
For Constant Sum:
`<style>`
`.Skin .CS .SumInput input.InputText, .Skin .CS .SumTotal input, .Skin .CS input.SumInput {`
`width: 40px;`
`}`
`</style>`
For Matrix Text Entry:
`<style>`
`.Skin .Matrix .TE .Short td input {`
`width: 140px;`
`}`
`</style>`
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
