I have 4 input fields all together. I want the first 2 side by side and then the next 2 under them side by side. Need some help with code.
I have 4 input fields all together. I want the first 2 side by side and then the next 2 under them side by side. Need some help with code.
http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes
Look for the "gf_inline" or "gf_left_half"/"gf_right_half" classes.
Great ~ that worked perfect. Now I'm using the an image as the submit button and on my second line I will have two input boxes and the inline with those I will have the submit button. If I use the gf_left_half and the gf_right_half to get the imput boxes in line how do I get the submit button inline as well.
Thanks so much.
Cool. Glad that got you started. It will be easier to give more specific guidance if I can see the actual form. Can you post a URL where I can see it?
http://whistlerworks.com/clients/remax/site/
as you can see I have the submit button very close to where I need it to be, but margin top is not working to get it into place. (It is the top form in the blue box)
Thanks
Try this out:
[css]
.gform_wrapper .gform_footer {
padding-top: 0 !important;
clear: none !important;
float: left;
margin: -15px 0 0 0 !important;
}
OR You can try this..
[css]
input#gform_submit_button_2 {
margin-left: 320px;
margin-top: -45px;
position: absolute;
}
screenshot: http://bit.ly/GzNtXq
but you're going to run into problems with the validation because your background image won't expand to accomodate the validation message and the validation styles. You're going to either have to omit the validation, figure out how to expand the container background or re-style/override the validation styles to make it work.
screenshot: http://bit.ly/GzNtXq
Either way, you're going to need to do a bit more work to get it right