Form size

  • Mr. Wiggles
  • Graduate
  • Graduate
  • Mr. Wiggles
  • Posts: 160
  • Loc: Brizzle

Post 3+ Months Ago

How can I make my post_main box a certain size?
Where would I put the height/length thingies?

PHP Code: [ Select ]
<form action="update.php?do=update" method=post>
 
<tr><td align=right><b>Post Main</b></td>
 
<td><input type="text" name="post_main"size="20" maxsize="3000">
 
</td></tr>
 
<tr><td align="center" colspan="2">
 
<br><input type="submit" name="log" value="Enter"></td></tr>
 
</form>
  1. <form action="update.php?do=update" method=post>
  2.  
  3. <tr><td align=right><b>Post Main</b></td>
  4.  
  5. <td><input type="text" name="post_main"size="20" maxsize="3000">
  6.  
  7. </td></tr>
  8.  
  9. <tr><td align="center" colspan="2">
  10.  
  11. <br><input type="submit" name="log" value="Enter"></td></tr>
  12.  
  13. </form>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Mr. Wiggles
  • Graduate
  • Graduate
  • Mr. Wiggles
  • Posts: 160
  • Loc: Brizzle

Post 3+ Months Ago

please?
  • quantumcloud
  • Proficient
  • Proficient
  • User avatar
  • Posts: 456
  • Loc: Dhaka, Bangladesh

Post 3+ Months Ago

Since you are talking about height, I assume that you really want a textarea instead of input text.

<form name="form1" method="post" action="">
<textarea name="textfield" cols="30" rows="10"></textarea>
</form>

Rows define height. Cols define length.
  • Mr. Wiggles
  • Graduate
  • Graduate
  • Mr. Wiggles
  • Posts: 160
  • Loc: Brizzle

Post 3+ Months Ago

Eh? How do I change my form into that?
I'm not using a form name so..
  • Skybin
  • Graduate
  • Graduate
  • Skybin
  • Posts: 104
  • Loc: Where the soy and cornfields grow...

Post 3+ Months Ago

Or you could jsut do as the man asked. I've had times I needed to change the input area's height because of changing font sizes INSIDE the input field.

<input blah blah blah style="height: 20px;">
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Code: [ Select ]
<form action="update.php?do=update" method=post>
<tr><td align=right><b>Post Main</b></td>
<td><textarea name="post_main col=30 row=10 maxsize="3000"></textarea>
</td></tr>
<tr><td align="center" colspan="2">
<br><input type="submit" name="log" value="Enter"></td></tr>
</form>
  1. <form action="update.php?do=update" method=post>
  2. <tr><td align=right><b>Post Main</b></td>
  3. <td><textarea name="post_main col=30 row=10 maxsize="3000"></textarea>
  4. </td></tr>
  5. <tr><td align="center" colspan="2">
  6. <br><input type="submit" name="log" value="Enter"></td></tr>
  7. </form>
  • Mr. Wiggles
  • Graduate
  • Graduate
  • Mr. Wiggles
  • Posts: 160
  • Loc: Brizzle

Post 3+ Months Ago

Many thanks to all. :)

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.