Hight Of Input Field

Discussion in 'HTML & Website Design' started by SEOdir.net, Jan 4, 2007.

Thread Status:
Not open for further replies.
  1. #1
    SEOdir.net, Jan 4, 2007 IP
  2. vinodkv

    vinodkv Peon

    Messages:
    183
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    php or asp?

    please copy and paste the code where it display...only so that we can understand where to change....

    Vinod
     
    vinodkv, Jan 4, 2007 IP
  3. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #3
    								<td><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/spacer.gif" width="20" height="1" alt=""></td>
    								<td nowrap style="padding:9px 0px 0px 0px; "><b>Search</b></td>
    								<td style="">
    									<form action=""><table cellpadding="0" cellspacing="0" border="0" style=" height:30px; ">
    										<tr>
    										  <td height="10" style="vertical-align:middle; "><input name="text" type="text"></td>
    											<td><a href="#"><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/search_btn.gif" alt="" style="margin:8px 0px 0px 9px;"></a></td>
    										</tr>
    								</table>
    									</form>
    
    Code (markup):
     
    SEOdir.net, Jan 4, 2007 IP
  4. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #4
    						<td><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/spacer.gif" width="20" height="1" alt=""></td>
    								<td nowrap style="padding:9px 0px 0px 0px; "><b>Search</b></td>
    								<td style="">
    									<form action=""><table cellpadding="0" cellspacing="0" border="0" style=" height:30px; ">
    										<tr>
    										  <td height="10" style="vertical-align:middle; "><input name="text" type="text" [B]style="width: 250px; height: 150px"[/B]></td>
    											<td><a href="#"><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/search_btn.gif" alt="" style="margin:8px 0px 0px 9px;"></a></td>
    										</tr>
    								</table>
    									</form>
    Code (markup):
    You can change the width & height in bold according to your needs:)
     
    eXe, Jan 5, 2007 IP
    iatbm likes this.
  5. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #5
    works, thx a lot! :)
     
    SEOdir.net, Jan 5, 2007 IP
  6. AndrewR

    AndrewR Peon

    Messages:
    108
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I would recommend using:
    <textarea rows="10" cols="40"></textarea>
    Code (markup):
    at least for a description. Then the user can have multiple lines whereas a input field will only display one line.
     
    AndrewR, Jan 5, 2007 IP
  7. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #7
    Agreed, using textarea is better here.
     
    eXe, Jan 5, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'd also use a proper form structure instead of using tables for the form's layout.
     
    Dan Schulz, Jan 6, 2007 IP
  9. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #9
    ok guys thx for help ;)
     
    SEOdir.net, Jan 6, 2007 IP
Thread Status:
Not open for further replies.