This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Site Ratings & Reviews > March 2006 > Programming Help





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Programming Help
Bill Helbron

2006-03-18, 6:20 pm

Would someone please tell me what is wrong with the following code lines? The
icon appears normally but the link to the email address does not.

<td <a href="mailto:jw.helbron@verizon.net"/a><img
src="http://www.geocities.com/jwhelbron/email_earth.gif" height=40 width=54
border=0 align="center"></a><br><br>
</td>

Thanks!

Bill
Barbara de Zoete

2006-03-18, 6:20 pm

On Sat, 18 Mar 2006 18:23:44 +0100, Bill Helbron <jw.helbron@verizon.net>
wrote:

> Would someone please tell me what is wrong with the following code lines?


<URL:http://validator.w3.org/> can do that perfectly.

> <td <a href="mailto:jw.helbron@verizon.net"/a><img
> src="http://www.geocities.com/jwhelbron/email_earth.gif" height=40
> width=54
> border=0 align="center"></a><br><br>
> </td>


Although it wouldn't pick up on what a mess this code really represents.
Makes me curious about the rest of this page...

BTW: there's a > missing for the opening tag of the element to create the
table data cell.

--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
mbstevens

2006-03-18, 6:20 pm

Bill Helbron wrote:
> Would someone please tell me what is wrong with the following code lines? The
> icon appears normally but the link to the email address does not.
>
> <td <a href="mailto:jw.helbron@verizon.net"/a><img
> src="http://www.geocities.com/jwhelbron/email_earth.gif" height=40 width=54
> border=0 align="center"></a><br><br>
> </td>
>
> Thanks!
>
> Bill


To start with, <td..... needs to be closed as <td> before you start
the anchor.

A habit you need to get into is getting everything closed as you write.

Stage1:
<td></td>
Stage2:
<td><a></a></td>
Stage3:
.....only _Now_ should you start filling in the details.

Also, the code posted is obsolete. Push the border
and align stuff into a CSS file. Also, any time you
see things like <br><br> it probably means you should
be doing something in your CSS instead of your markup.
--
mbstevens
http://www.mbstevens.com/howtothumb/
mbstevens

2006-03-18, 6:20 pm

mbstevens wrote:
> Bill Helbron wrote:
>
>
>
> To start with, <td..... needs to be closed as <td> before you start
> the anchor.
>
> A habit you need to get into is getting everything closed as you write.
>
> Stage1:
> <td></td>
> Stage2:
> <td><a></a></td>
> Stage3:
> ....only _Now_ should you start filling in the details.
>
> Also, the code posted is obsolete. Push the border
> and align stuff into a CSS file. Also, any time you
> see things like <br><br> it probably means you should
> be doing something in your CSS instead of your markup.


And as long as I'm on this, let's look at how the skelton
might look with indentation:

<td>
<a>
<img>
</a>
</td>

Problems will be easier to see if you do this.
Barbara de Zoete

2006-03-18, 6:20 pm

On Sat, 18 Mar 2006 18:46:38 +0100, mbstevens
<NOXwebmasterx@xmbstevensx.com> wrote:

> And as long as I'm on this, let's look at how the skelton
> might look with indentation:
>
> <td>
> <a>
> <img>
> </a>
> </td>
>
> Problems will be easier to see if you do this.


And/Or if one uses an editor that color highlights the code for you like
TextPad (Free -endless- trial version). And one should definately _first_
validate to find/correct the simple mistakes with forgetting < and > or
nesting problems et cetera, before posting such a silly thing in here, as
<URL:http://diveintomark.org/archives/20...e_wont_help_you> and
<URL:http://www.spartanicus.utvinternet....us_help_you.htm> explain.

--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |
mbstevens

2006-03-18, 6:20 pm

Barbara de Zoete wrote:

> And/Or if one uses an editor that color highlights the code for you
> like TextPad (Free -endless- trial version).


My favorite is Gvim. You can code all day without touching your
mouse, but can use it if you have forgotten some command you need.
It has highlighting for a larger number of languages and markups
than any other editor except maybe emacs.
Bill Helbron

2006-03-18, 6:20 pm

Thanks for all your inputs! First off, I should have pointed out that this is
NOT my coding! If anything, I'm a novice at HTML programming. It was done by
Yahoo!'s PageBuilder, which may, to some, say a lot, but nevertheless, since
everything else works. I just need to know how to fix those few lines. FWIW!

Bill

On Sat, 18 Mar 2006 17:23:44 GMT, Bill Helbron <jw.helbron@verizon.net> wrote:

>Would someone please tell me what is wrong with the following code lines? The
>icon appears normally but the link to the email address does not.
>
><td <a href="mailto:jw.helbron@verizon.net"/a><img
>src="http://www.geocities.com/jwhelbron/email_earth.gif" height=40 width=54
>border=0 align="center"></a><br><br>
> </td>
>
>Thanks!
>
>Bill

Martin Clark

2006-03-21, 6:17 pm

Barbara de Zoete wrote...
>On Sat, 18 Mar 2006 18:23:44 +0100, Bill Helbron
><jw.helbron@verizon.net> wrote:
>
[color=darkred]
><URL:http://validator.w3.org/> can do that perfectly.


>
>Although it wouldn't pick up on what a mess this code really
>represents. Makes me curious about the rest of this page...
>
>BTW: there's a > missing for the opening tag of the element to create
>the table data cell.
>

Plus, I don't think there should be a /a at the end of <a href="mailto
:jw.helbron@verizon.net"/a>
--
Martin Clark
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews