Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > A little help with a simple table...

Reply
Thread Tools

A little help with a simple table...

 
 
Just Allan
Guest
Posts: n/a
 
      06-10-2005
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>
 
Reply With Quote
 
 
 
 
Travis Newbury
Guest
Posts: n/a
 
      06-10-2005
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=-
 
Reply With Quote
 
 
 
 
Just Allan
Guest
Posts: n/a
 
      06-10-2005
On Fri, 10 Jun 2005 04:57:21 -0400, Travis Newbury
<(E-Mail Removed)> 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.

 
Reply With Quote
 
wayne
Guest
Posts: n/a
 
      06-12-2005
Just Allan wrote:
> On Fri, 10 Jun 2005 04:57:21 -0400, Travis Newbury
> <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get back my simple little string after re search and replace Gontrand Trudau Python 0 01-13-2010 05:12 AM
little coding help [ very simple need quick replies ;) ] gregNelson Java 0 02-27-2009 02:42 AM
1 little 2 little 3 little Kennedys dale Digital Photography 0 03-23-2008 01:03 PM
having a little problem with some code for a little game I am creating. ThaDoctor C++ 3 09-28-2007 03:28 PM
little red X in little white box Puzzled Computer Support 8 12-13-2004 09:11 AM



Advertisments