Re: forms problem

From: Date: Thu, 04 Jun 2009 01:40:08 +0000
Subject: Re: forms problem
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-293589@lists.php.net to get a copy of this message
PJ wrote: > AngeloZanetti wrote: >> Shawn McKenzie wrote: >> >>> PJ wrote: >>> >>>> PROBLEM 1 solved: errant <div>s removed; strange that they were >>>> inhibiting entry of data into form field? >>>> >>>> PROBLEM 2 not resolved: but the form was off the page and >>>> clipped in upper right hand corner. What can be done to get it >>>> to show correctly? >>>> >>>> >>> Remove the link to any stylesheets that you're using and see what >>> it looks like. >>> >>> >>> >>> >> Where is your source code / form so we can see what is going on? >> >> http://www.Elemental.co.za http://www.Elemental.co.za >> http://www.wapit.co.za http://www.wapit.co.za >> > > The code: ...snip <div id="loginbox"> <form name="login" > method="post" action="<? echo $_SERVER['PHP_SELF'] ?>"> > <h2>acc&egrave;s client <br /><input type="text" > name="title" > value="<? echo $user; ?>" size="10" /><br /> mot de passe > <br > /><input type="text" name="title" value="<? echo $passwd; > ?>" > size="10" /><br /> <input class="submit" > name="submit" type="submit" > value=" entrez " /><br /></h2> <h2><a > href="inscription.php"> Inscription </a></h2> </form> </div > snip... > > I had posted this earlier... just before finding the blockage for the > input in PROBLEM 1, though I don't know why some stray <div>s would > cause that. > > Based on the fact that you said things were "off the page and clipped in the upper right hand corner", I thought that you had a style that may have positioned the div or the form or something. If you disable all styles, whether in the head of the document or via an external stylesheet, then that should show the form on the page as it should. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#293589) next »