NetTalk Central

Author Topic: form field alignment  (Read 3289 times)

billbarker

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
form field alignment
« on: March 12, 2015, 05:27:46 AM »
Any way to get the prompts, and the field centre lines to 'line up' (see attached) - the check box  'paid' is a good example.

Is this resolved via CSS?

Thanks


[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: form field alignment
« Reply #1 on: March 15, 2015, 10:37:00 PM »
Hi Bill,

In this case it's likely to be a template setting, not CSS.
But I'm not sure what you want to line up. (That probably sounds strange but let's just accept that for now.).
so perhaps drop this screenshot into MsPaint, and manually move stuff around so I can see what the look is that you are going for.

cheers
Bruce

billbarker

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: form field alignment
« Reply #2 on: March 16, 2015, 08:01:07 AM »
I guess I'm aiming for a 'center' alignment, rather that 'top'


[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: form field alignment
« Reply #3 on: March 16, 2015, 09:24:47 PM »
Oh, ok, yes this is CSS.

CSS does not offer much in the way of alignments, but the form stuff is in a table (for now) so yes you can use center alignment.
Another way is to add a bit of padding-top to the nt-prompt class to bump the prompts down a few pixels. You might want to add a text box to your form to see what effect it has there though.

cheers
Bruce