Calculator script adjustment suggestions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Collectors-info
    General

    • Feb 2006
    • 8703

    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>
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project
  • Karen Mac
    General

    • Apr 2006
    • 8332

    #2
    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
    02036089024 / United Kingdom
    291916438 / Australia

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

    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)


    Comment

    • Collectors-info
      General

      • Feb 2006
      • 8703

      #3
      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.
      Regards Chris.

      Collectables, Collecting, collectors-info.com

      www.chrismorris.co.uk

      House build project

      Comment

      Working...
      X