Question
Adding Spaces to each Form Fields
I have a form that I want to have spacing between each fields. It shows like this:
*State:_________________
*__Yes, you may use the information I provided on this form to send me information about these other offerings.
>Submit >Clear
I need spacing to each field around 50px to put some text above them. I got jQuery code below that I got to other post but I am dont know how to use this and where to put it.
-------------------------
<script type="text/javascript" language="Javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" language="Javascript">
// use no conflict mode for jQuery
if (typeof $jQ == 'undefined') { var $jQ = jQuery.noConflict();}
$jQ(document).ready(function($){
// find the form input's li element
$AddPad = $('#Status").closest('li');
// get the li's parent current padding value if it exists
$curPad = parseInt($AddPad.css('padding-bottom')) + 20;
// set the new padding value
$AddPad.css('padding-bottom',$curPad + 'px');
})
</script>
-------------------------
*State:_________________
*__Yes, you may use the information I provided on this form to send me information about these other offerings.
>Submit >Clear
I need spacing to each field around 50px to put some text above them. I got jQuery code below that I got to other post but I am dont know how to use this and where to put it.
-------------------------
<script type="text/javascript" language="Javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" language="Javascript">
// use no conflict mode for jQuery
if (typeof $jQ == 'undefined') { var $jQ = jQuery.noConflict();}
$jQ(document).ready(function($){
// find the form input's li element
$AddPad = $('#Status").closest('li');
// get the li's parent current padding value if it exists
$curPad = parseInt($AddPad.css('padding-bottom')) + 20;
// set the new padding value
$AddPad.css('padding-bottom',$curPad + 'px');
})
</script>
-------------------------