HighDots Forums  

Programming Help

Websites/HTML pages critique & reviews Discuss and review existing WWW material (alt.html.critique)


Discuss Programming Help in the Websites/HTML pages critique & reviews forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill Helbron
 
Posts: n/a

Default Programming Help - 03-18-2006 , 12:23 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 (AT) verizon (DOT) 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

Reply With Quote
  #2  
Old   
Barbara de Zoete
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 12:31 PM






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

Quote:
Would someone please tell me what is wrong with the following code lines?
<URL:http://validator.w3.org/> can do that perfectly.

Quote:
td <a href="mailto:jw.helbron (AT) verizon (DOT) 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:

Reply With Quote
  #3  
Old   
mbstevens
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 12:35 PM



Bill Helbron wrote:
Quote:
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 (AT) verizon (DOT) 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/


Reply With Quote
  #4  
Old   
mbstevens
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 12:46 PM



mbstevens wrote:
Quote:
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 (AT) verizon (DOT) 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.
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.


Reply With Quote
  #5  
Old   
Barbara de Zoete
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 12:54 PM



On Sat, 18 Mar 2006 18:46:38 +0100, mbstevens
<NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote:

Quote:
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/2003/05/05/why_we_wont_help_you> and
<URL:http://www.spartanicus.utvinternet.ie/help_us_help_you.htm> explain.

--
______PretLetters:

Reply With Quote
  #6  
Old   
mbstevens
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 01:16 PM



Barbara de Zoete wrote:

Quote:
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.


Reply With Quote
  #7  
Old   
Bill Helbron
 
Posts: n/a

Default Re: Programming Help - 03-18-2006 , 03:42 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 (AT) verizon (DOT) net> wrote:

Quote:
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 (AT) verizon (DOT) 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

Reply With Quote
  #8  
Old   
Martin Clark
 
Posts: n/a

Default Re: Programming Help - 03-21-2006 , 09:13 AM



Barbara de Zoete wrote...
Quote:
On Sat, 18 Mar 2006 18:23:44 +0100, Bill Helbron
jw.helbron (AT) verizon (DOT) 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 (AT) verizon (DOT) 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.

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


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.