A little help with a simple table...

Discussion in 'HTML' started by Just Allan, Jun 10, 2005.

  1. Just Allan

    Just Allan Guest

    Could someone please take a look at the text below... (Sorry it's a
    bit of a mess - I copied it from somewhere online and have been
    chopping away at it for a while.)

    See the thin, white, spacer line just above the javascript button?
    How can I make that same line (& size) appear between the top blue
    section and the data section? I've inserted it several times, but
    can't get it the same thickness!?

    Thanks for reading...

    Allan.

    ---

    <html>
    <script language="JavaScript">
    <!-- Hide from the oldies!// Check the form details when user tries to
    submit function goSubmit(form) { if (form.DP_fPcode.value == "") {
    alert("Please include a lodgement postcode.");
    form.DP_fPcode.focus();
    return false;
    }
    else if (form.DP_tPcode.value == "") {
    alert("Please include a destination postcode.");
    form.DP_tPcode.focus();
    return false;
    }
    else if ((form.DP_fPcode.value.length < 3) ||
    (form.DP_fPcode.value.length > 4)) {
    alert("Please include a valid lodgement postcode (3 or 4
    numbers).");
    form.DP_fPcode.focus();
    return false;
    }
    else if ((form.DP_tPcode.value.length < 3) ||
    (form.DP_tPcode.value.length > 4)) {
    alert("Please include a valid destination postcode (3 or 4
    numbers).");
    form.DP_tPcode.focus();
    return false;
    }
    else if ((form.DP_fPcode.value == "2899") || (form.DP_fPcode.value
    == "6798") || (form.DP_fPcode.value == "6799") ||
    (form.DP_fPcode.value == "7151")) {
    alert("Please call 13 13 18 or go to your nearest Australia Post
    outlet for pricing details");
    form.DP_fPcode.value = '';
    form.DP_fPcode.focus();
    return false;
    }
    else if ((form.DP_tPcode.value == "2899") || (form.DP_tPcode.value
    == "6798") || (form.DP_tPcode.value == "6799") ||
    (form.DP_tPcode.value == "7151")) {
    alert("Please call 13 13 18 or go to your nearest Australia Post
    outlet for pricing details");
    form.DP_tPcode.value = '';
    form.DP_tPcode.focus();
    return false;
    }
    else {
    return true;
    }

    }

    function check_externalterritories_fPcode()
    {
    if ((document.domesticParcel_a.DP_fPcode.value == "2899") ||
    (document.domesticParcel_a.DP_fPcode.value == "6798") ||
    (document.domesticParcel_a.DP_fPcode.value == "6799") ||
    (document.domesticParcel_a.DP_fPcode.value == "7151"))
    {
    alert("Please call 13 13 18 or go to your nearest Australia Post
    outlet for pricing details");
    document.domesticParcel_a.DP_fPcode.value = '';
    document.domesticParcel_a.DP_fPcode.focus();
    }
    }

    function check_externalterritories_tPcode()
    {
    if ((document.domesticParcel_a.DP_tPcode.value == "2899") ||
    (document.domesticParcel_a.DP_tPcode.value == "6798") ||
    (document.domesticParcel_a.DP_tPcode.value == "6799") ||
    (document.domesticParcel_a.DP_tPcode.value == "7151"))
    {
    alert("Please call 13 13 18 or go to your nearest Australia Post
    outlet for pricing details");
    document.domesticParcel_a.DP_tPcode.value = '';
    document.domesticParcel_a.DP_tPcode.focus();
    }
    }
    // -->
    </script>


    <link rel="stylesheet"
    href="http://www1.auspost.com.au/include/stylesheet/mainstyle.css"
    type="text/css">

    <head>
    <title>EBAY SALE</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    </head>



    <body bgcolor="#FFFFFF" text="#000000">
    <div align="center">
    <p align="center">
    <font face="Arial, Helvetica, sans-serif" color="#000033">
    <b><font size="4">
    <br>
    <font color="white">
    </font>
    </font>
    </b>
    </font>
    <font face="Arial, Helvetica, sans-serif">
    </font>
    </p>
    <p align="center"><font face="Arial, Helvetica, sans-serif">
    <b>
    <font face="Courier New, Courier, mono" size="5">
    <font color="red" size="3" face="Arial, Helvetica, sans-serif">

    Use this table to estimate Postage Costs.

    </font>
    <font color="GREEN" size="2" face="Arial, Helvetica, sans-serif">
    <p>

    I've included my Postcode and approximate Package Weight.<br>
    Just enter your own Destination Postcode and click the button.<br><br>

    <font color="white" size="3" face="Arial, Helvetica, sans-serif">
    </b>

    <div align="center">
    <table width="100" border="0" cellpadding="0" cellspacing="10">
    <tr valign="top">
    <td width="490">
    <div align="center">
    </div>

    <form name="domesticParcel_a"
    action="http://www1.auspost.com.au/pac/aus_parcel_select.asp"
    method="post" onSubmit="return goSubmit(this)">
    <div align="center">
    <table border="0" cellpadding="0" cellspacing="0" width="490">
    <tr>
    </tr>
    <tr>

    <!-- Data -->
    <td>
    <table width="490" border="0" cellpadding="5" cellspacing="0">
    <tr>

    <!-- Section heading -->
    <td colspan="3" bgcolor="blue"><table border="0" cellpadding="0"
    cellspacing="0"><tr><td width="32"></td></table></td></tr>

    <!-- Postcode search -->
    </td>
    <tr>

    <!-- Postcodes -->
    <td bgcolor="#ffcc00">
    <font face="arial, helv" size="2">
    <b>

    POSTCODES

    </b>
    </td>

    <td bgcolor="#ffcc00"><font face="arial, helv" size="2">

    Send From

    <br>

    <input value="3000" name="DP_fPcode" >
    </td>

    <td bgcolor="#ffcc00"><font face="arial, helv" size="2">

    Destination

    <br>
    <input type="text" name="DP_tPcode" size="10" maxlength="4" value=""
    onBlur="check_externalterritories_tPcode();return true;">
    </td>
    </tr>
    <tr>

    <!-- Weight -->
    <td bgcolor="#ffcc00">
    <font face="arial, helv" size="2">
    <b>

    WEIGHT in kg

    </b></td><td bgcolor="#ffcc00" colspan="2">
    <font face="arial, helv" size="2">
    <select name="DP_parcelWeight">
    <option value="0.001" >1g up to 250g </option>
    <option value="0.251" >251g up to 500g </option>
    <option value="0.501" >501g up to 1000g </option>
    <option value="1.001">1001g up to 2000g </option>
    <option value="2.001">2001g up to 3000g </option>
    <option value="3.001">3001g up to 4000g </option>
    <option value="4.001">4001g up to 5000g </option>
    <option value="5.001">5001g up to 6000g </option>
    <option value="6.001">6001g up to 7000g </option>
    <option value="7.001">7001g up to 8000g </option>
    <option value="8.001">8001g up to 9000g </option>
    <option value="9.001">9001g up to 10000g </option>
    <option value="10.001">10001g up to 11000g </option>
    <option value="11.001">11001g up to 12000g </option>
    <option value="12.001">12001g up to 13000g </option>
    <option value="13.001">13001g up to 14000g </option>
    <option value="14.001">14001g up to 15000g </option>
    <option value="15.001">15001g up to 16000g </option>
    <option value="16.001">16001g up to 17000g </option>
    <option value="17.001">17001g up to 18000g </option>
    <option value="18.001">18001g up to 19000g </option>
    <option value="19.001">19001g up to 20000g </option>
    </select> &nbsp;&nbsp;</td></tr><tr></td></tr></table></td></tr><tr>

    <!-- Spacer row --><td><img
    src="http://www1.auspost.com.au/images/spacer.gif" width="1"
    height="2"></td></tr><tr>

    <!-- Calculate Button -->
    <td bgcolor="blue">
    <table border="0" cellpacing="0" cellpadding="4">
    <tr>
    <td width="45">&nbsp;</td>
    <td>
    <font face="arial, helv" size="2">
    <input type="submit" value="Surprise Me!">
    </td>
    <td>
    <font face="arial, helv" size="2" color="white">

    Please ensure JavaScript is turned on.

    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>

    <!-- Spacer row --><td><img
    src="http://www1.auspost.com.au/images/spacer.gif" width="1"
    height="2"></td></tr>
    Just Allan, Jun 10, 2005
    #1
    1. Advertising

  2. Just Allan wrote:
    > Could someone please take a look at the text below... (Sorry it's a
    > bit of a mess - I copied it from somewhere online and have been
    > chopping away at it for a while.)
    >
    > See the thin, white, spacer line just above the javascript button?


    I see a bunch of text. Maybe if you put it on the web somewhere and
    gave me a url I could see the little white line you are taking about.
    --
    -=tn=-
    Travis Newbury, Jun 10, 2005
    #2
    1. Advertising

  3. Just Allan

    Just Allan Guest

    On Fri, 10 Jun 2005 04:57:21 -0400, Travis Newbury
    <> wrote:

    >> Could someone please take a look at the text below... (Sorry it's a
    >> bit of a mess - I copied it from somewhere online and have been
    >> chopping away at it for a while.)
    >>
    >> See the thin, white, spacer line just above the javascript button?

    >
    >I see a bunch of text. Maybe if you put it on the web somewhere and
    >gave me a url I could see the little white line you are taking about.


    Sorry about that - I thought it was best to post just the text
    (instead of an attachment) and let people copy/paste it & rename to
    *.html themselves.

    Here 'tis: http://snipurl.com/fht6

    Thanks for the reply too...

    Allan.
    Just Allan, Jun 10, 2005
    #3
  4. Just Allan

    wayne Guest

    Just Allan wrote:
    > On Fri, 10 Jun 2005 04:57:21 -0400, Travis Newbury
    > <> wrote:
    >
    >
    >>>Could someone please take a look at the text below... (Sorry it's a
    >>>bit of a mess - I copied it from somewhere online and have been
    >>>chopping away at it for a while.)
    >>>
    >>>See the thin, white, spacer line just above the javascript button?

    >>
    >>I see a bunch of text. Maybe if you put it on the web somewhere and
    >>gave me a url I could see the little white line you are taking about.

    >
    >
    > Sorry about that - I thought it was best to post just the text
    > (instead of an attachment) and let people copy/paste it & rename to
    > *.html themselves.
    >
    > Here 'tis: http://snipurl.com/fht6
    >
    > Thanks for the reply too...
    >
    > Allan.
    >

    try removing:

    <!-- Spacer row --><td><img
    src="http://www1.auspost.com.au/images/spacer.gif" width="1"
    height="2"></td></tr><tr>

    which is just above the calculate button

    wayne
    wayne, Jun 12, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Williams
    Replies:
    2
    Views:
    1,102
    Jacob Yang [MSFT]
    Aug 12, 2003
  2. Rio
    Replies:
    4
    Views:
    1,171
  3. ThaDoctor
    Replies:
    3
    Views:
    370
    Alan Woodland
    Sep 28, 2007
  4. gregNelson
    Replies:
    0
    Views:
    286
    gregNelson
    Feb 27, 2009
  5. Daniel
    Replies:
    1
    Views:
    199
    Bart van Ingen Schenau
    Jul 9, 2013
Loading...

Share This Page