INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Links inconsistant, some work others dont, why?

Links inconsistant, some work others dont, why?

(OP)
Hello, I added two (image and text) links, but they are not working consistantly. But, I have added others and some work and some do not. Can someone please review my code and provide some new insight. Thanks.



<TD vAlign=top width=191 height=140>
<P style="TEXT-ALIGN:center"><a href="page_10852.html"><img src="img_1161987028_new_15220_1369718807.jpg" class="c381" width= "161" height="140" border="0"></a></p></TD>

<TD vAlign=top width=191 height=45>
<P style="text-align:center"><a href="page_10852.html"><span class="s383f4 s12">Tygon&reg; Sanitary Silicone<br>Pressure Tubing 3370 I.B.</br></SPAN></a></p></td>

RE: Links inconsistant, some work others dont, why?

Quote:


Hello, I added two (image and text) links, but they are not working consistantly

What does this mean? Just saying they don;t work consistently is rather vague. Tell us what happens, in what browsers this happens, when it happens etc...

When the links don't work what do they look like? What do they do?

As it stands, and based on your code, the only thing I can say, is you have a rather odd tag naming convention going on, with uppercase and lower case tags strewn about. But I doubt that would really cause any issues, unless you are a stickler for Validation or the browser being used is extremely picky.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech

RE: Links inconsistant, some work others dont, why?

Hi

Quote (Phil)

As it stands, and based on your code, the only thing I can say, is you have a rather odd tag naming convention going on, with uppercase and lower case tags strewn about.
Beside that, there is another oddity, which may mess up the link text abit : the closing br tag. There is no such thing in HTML.

Feherke.
feherke.github.io

RE: Links inconsistant, some work others dont, why?

(OP)
Hi, the browser is IE 8 and when I go to the web page they do not work. the links do not do anything and they look normal.

I don't understand it. As the capitilization should not be an issue. Please help. Let me know if you need more information. thanks.

RE: Links inconsistant, some work others dont, why?

Go here to validate your page:
http://validator.w3.org/

The online validator is a good way to find mistakes.

RE: Links inconsistant, some work others dont, why?

your line break, and IMG tags are incorrect

CODE

<br /> <img ... /> 

it is also a self closing tag and does NOT have an opening tag.

All tags must be closed.

Darryn Cooke
www.darryncooke.com | Marketing and Creative Services

RE: Links inconsistant, some work others dont, why?

(OP)
Thank you!

RE: Links inconsistant, some work others dont, why?

Quote:

Tygon&reg; Sanitary Silicone<br>Pressure Tubing 3370 I.B.</br>

I assume you've already got it working but look at this initial code. Open and close tags define the characteristics of the content between them. The <br> tag is used to tell the HTML parser to write a line break - it is the content, not an open tag.

-Geates

P.S. Because there is no open tag, no separateclosing tag is required. However, as Darryn alluded to, all tags should be terminated - which is way a <br> becomes a <br /> and <img...> becomes <img.../>

http://ns7.webmasters.com/caspdoc/html/vbscript_la...

RE: Links inconsistant, some work others dont, why?

As a side note, your image file naming system seems a bit clumsy - maybe you could sort out some shorter file names for these with some descriptive component combined with the numerical part? It may help further down the line when you try to remember what those images were!

Similarly with your class naming - personally I'd go for something more descriptive - helps with de-bugging the code.

Finally, I heard somewhere that HTML files should be named with the 3-letter extension 'htm' rather than 'html', to avoid issues with certain servers. maybe someone can advise on that?

Apart from that, I think all code issues have already been spotted - did much of this come from an HTML compiling program?

Regards, Andy.
My pathetic attempts at learning HTML can be laughed at here:
http://qsl.net/2e0waw/index.htm

RE: Links inconsistant, some work others dont, why?

(OP)
Hi,

Yes,it did. I am working with it and learning as I try to maintain the website. I made the changes everyone suggested (thanks) and it went just fine from there. I found out the one link did not work because some text was interfering (in the table) with the link some how - so I moved it somewhere else. That seems to have corrected the problem, for now...

Thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close