Freedom-n-Democrazy Posted October 7, 2011 Share Posted October 7, 2011 Is it possible to set a TEXTAREA or INPUT element to 0 by 0 px? I am trying to carry over information in a form which is not suppose to be vissible to the viewer, and the bloody INPUT and TEXTAREA boxes only shrink to about 5 by 5px when I set them both to 0px. I tried to <DIV class="id" name="id" value="<?php echo $id; ?>"></DIV> but nope. I didn't think it would. Sure, I could probably absolute position them in CSS to margin-left:-500000px and set overflow to hidden, but thats just cheap. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Freedom-n-Democrazy Posted October 7, 2011 Author Share Posted October 7, 2011 Never mind, I just set it to margin-left: -44000px; problem solved! LOL... I'll fix this another day its not critical its just a cosmetical thing. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted October 7, 2011 Share Posted October 7, 2011 Why not use <input type="hidden" or even store the values in a $_SESSION var? Quote Link to comment Share on other sites More sharing options...
Freedom-n-Democrazy Posted October 7, 2011 Author Share Posted October 7, 2011 The $_SESSION wouldn't work for this case, however, I wasn't aware there was a hidden option with inputs. So awesome, thats gonna help allot! Thanks dude! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.