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

Question

Question

alignment in form

asked on October 11, 2014 Show version history

I have added a address control to my form.   I would like to add a phone and alt phone field after the address block.   I would like the phone1 field to be aligned right under the postal code/zip code field and the alt phone field to be right under the county field.

 

I have been able to get the 2 controls to show side by side using css and inline-block.  But I can't get the controls to be offset from the left side correctly.

 

Screenshot

 

 

For Phone and Alt Phone I added sbs to the css class on the advanced tab for the single line control.

 

Added the following the in the CSS block on the CSS and Javascript tag.

 

.sbs {display: inline-block; width: 30%; }

0 0

Replies

replied on October 14, 2014

Hey Michael,

 

Please post your code along with your screenshot for us to provide suggestions on how to modify your CSS.

1 0
replied on October 13, 2014

If you are asking for help with code, it's always a good idea to post your existing code. There's a code style button in Answers to make posted code more readable:

 

Furthermore, since you are asking for help with alignment, a screenshot of your current layout is also useful.

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

Sign in to reply to this post.