You are viewing limited content. For full access, please sign in.

Question

Question

How to centralize text entered by participant ?

asked on February 11, 2016 Show version history

Within our forms (see attached) some of our field headings/names have been centralized for a better and sleeker appearance, however once the participant has entered the data and we view the data here in the office through the repository; it doesnt look great. (see second attachment)

 

Is there a way to align the text entered by the participant so when we view it, it lines up correctly with the named field?

 

Thanks.

 

Christian

Centralising Fields.JPG
Centralising issue.JPG
0 0

Answer

SELECTED ANSWER
replied on February 12, 2016

Hi Cristobal,

 

Unfortunately I couldn't get your CSS above to work (perhaps my wrong doing), however I had a play around with a few things and managed to get what I was looking for. I firstly identified using CSS the name field using 'Name' and input the following CSS;

.Name input {text-align: center;}

This subsequently made the flashing curser centralized and text to be centralized within the field. See attached screen shot of code in action.

 

Thanks,

 

Christian

Centralized fixed.JPG
Centralized fixed 2.JPG
0 0

Replies

replied on February 11, 2016 Show version history

You would use the following CSS

#Field<number of field> { text-align: center; }

for example if field 10

#Field10 { text-align: center; }

You would get the number from the id which is usually 'q' and then the number for the field.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.