![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Would someone please tell me what is wrong with the following code lines? |
|
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 |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#3
| |||
| |||
|
|
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 |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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. |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#6
| |||
| |||
|
|
And/Or if one uses an editor that color highlights the code for you like TextPad (Free -endless- trial version). |
#7
| |||
| |||
|
|
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 |
#8
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |