php - Form posted values depends on textbox input length -


i have 2 php files: form.php , noform.php

in form.php have:

<span style="position:relative; left:10px;"><input type="text" id="fname" name="fname"> <span style="position:relative; left:155px;"><input type="text" id="gname" name="gname"> </span></span> <hr> <span style="position:relative; left:10px;">family name <span style="position:relative; left:242px;">given name</span></span> <br> 

when submit form, in noform.php values $_post method.

then, in noform.php have:

<div id="familyname" style="position:relative; left:10px; float:left;"><?php echo $_post['fname'];?></div> <span style="position:relative; left:350px;"><div id="givenname"><?php echo $_post['gname'];?></div></span> <hr> <span style="position:relative; left:10px;">family name <span style="position:relative; left:242px;">given name</span></span> 

the problem have want in noform.php, family name , given name starts above given name , family name label, position changes function of textbox input length.

any advice? thanks

solved!

what did changing divs of noform.php .

now these textbox fixed regardless input value.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -