Results 1 to 3 of 3

Thread: Calculator script adjustment suggestions
      
   

  1. #1
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Calculator script adjustment suggestions

    Hi, i am trying to adjust the display length of the script so there is no space under the 4 choices in the selection boxes. Any suggestions to making it look less vertical in length.?
    Link to working script.

    Thanks.


    <form style="padding:0;margin:0" name="cat=Length">
    <table align=center style="width:300px;font-family:Verdana;font-size:100%" border=0 bgcolor="#a1a1a1" cellpadding=0 cellspacing=0><tr><td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px">From:<br><input style="width:100%;font-family:Verdana;font-size:100%" type=text name="bindid=left;base=1"></td><td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px">To:<br><input style="width:100%;font-family:Verdana;font-size:100%" type=text name="bindid=right"></td></tr><tr><td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px">
    <select name=left size=14 style="width:100%;font-family:Verdana;font-size:100%"><option value="meter" selected>meter</option><option value="kilometer">kilometer</option><option value="mile">mile </option><option value="yard">yard</option></select></td><td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px">
    <select name=right size=14 style="width:100%;font-family:Verdana;font-size:100%"><option value="meter" selected>meter</option><option value="kilometer">kilometer</option><option value="mile">mile </option><option value="yard">yard</option></select></td></tr><tr><td colspan=2 style="padding:1.2ex 1.5ex;font-family:Verdana;font-size:13px">Result:<br><input style="width:100%;font-family:Verdana;font-size:100%" type=text name="type=result;bindid=left;bindid2=right"></td></tr></table>
    </form>
    <script>converter3.js></script>

  2. #2
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: Calculator script adjustment suggestions

    Code:
    <form style="padding:0;margin:0" name="cat=Length">
    <table align=center style="width:300px;font-family:Verdana;font-size:100%" border=0 bgcolor="#a1a1a1" cellpadding=0 cellspacing=0 height="273"><tr>
      <td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px" height="54">From:<br>
      <input style="width:100%;font-family:Verdana;font-size:100%" type=text name="bindid=left;base=1" size="20"></td>
      <td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px" height="54">To:<br>
      <input style="width:100%;font-family:Verdana;font-size:100%" type=text name="bindid=right" size="20"></td></tr><tr>
        <td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px" height="100">
    <select name=left size=14 style="width:132;font-family:Verdana;font-size:100%; height:132"><option value="meter" selected>meter</option><option value="kilometer">kilometer</option><option value="mile">mile </option><option value="yard">yard</option></select></td>
        <td style="padding:1.2ex 1.5ex;width:50%;font-family:Verdana;font-size:13px" height="100">
    <select name=right size=14 style="width:128;font-family:Verdana;font-size:100%; height:128"><option value="meter" selected>meter</option><option value="kilometer">kilometer</option><option value="mile">mile </option><option value="yard">yard</option></select></td></tr><tr>
        <td colspan=2 style="padding:1.2ex 1.5ex;font-family:Verdana;font-size:13px" height="7">Result:<br>
        <input style="width:100%;font-family:Verdana;font-size:100%" type=text name="type=result;bindid=left;bindid2=right" size="20"></td></tr></table>
    </form>
    <script>converter3.js></script>
    not unless you did the above to the code

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Calculator script adjustment suggestions

    I wish i was that good. On the site i got it from they have a script generator that lets you use it on your own site, but didn't seemed to generate the code properly. So i pinched the code & sorted the the calculations i needed but for some reason cant shrink the display verticaly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49