I have a search form - the search box belongs to class form1 and the submit button belongs to form submit button. Now I need to align them, the search box and the submit button, how can I do it ?
Hi my friend write this command align="" write what side you want for left, right or center inside your <div class="form1-element-"> for example for left write: <div class="form1-element-" align="left"> and next about submit button the same command for <div class="form-submit-button" align="left"> . I hope to help you
Although that's not valid code. align has been deprecated. It will work in most (if not all) browsers, but in css you would use margins to line them up. Thing is, they should be lining up be default (in an unstyled form) so what's in your code to make them NOT line up?