Forum Moderators: open

Message Too Old, No Replies

Wierd thing happening with alt

alt="image discription" shows just "image

         

DJFlite

9:03 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



Wierd things have been happening with some of my alt tags.

Lets say I input an alt tag like this

<Img SRC="image1" alt="image description">

When I hover over this image the little box that pops up just says "image

At first I thought it was because of an unclosed " but I cant seem to find any. The wierd thing is that it only happens on certain pages. The site in question is the one in my profile. Turntable Reviews, is one of the pages which I am having the problem with.

I really have spent a lot of time trying to figure this one out. Id REALLY appreciate it if you could help a brother out ;)

[edited by: DJFlite at 9:52 pm (utc) on Jan. 8, 2004]

pageoneresults

9:11 pm on Jan 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It looks like those quoted attributes are using smart quotes instead of normal quotes. Smart quotes are curly, normal quotes are vertical without any serif or curl.

Could I ask that you please remove the URI reference to your site as we do not allow request for site reviews. Thanks in advance for your understanding.

P.S. View the source code for that page and you'll see black rectangles where your quotes should be. This tells me you are using a character that is not recognized. In this case, the smart quotes which is what I believe they are referred to as. They are non-SGML characters.

You may want to run your site through the HTML validator. There are additional errors there that should be corrected.

DJFlite

9:53 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



Thanks, it has been done, sorry bout that

Anyways, how do I change the quotes?

DJFlite

9:59 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



Ok, i went into the file and deleted the bad quotes an retyped them in and now its fine. I dont understand how I used those wierd quotes, sincee I typed the whole page myself! Jeez, all that time trying to correct something so stupid and easy!

Anyways thanks for the help pageone, btw, what were some of the other errors you saw in my page? Just a little something to get me started. I do use HTML validator but it always gives me errors that really dont matter, like amperstands in url and whatnot.

pageoneresults

10:25 pm on Jan 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You may want to review this topic from 2002 which discusses most of the common validation errors which you have on your site.

Common Validation Errors [webmasterworld.com]

The best thing to do is start with the errors at the top of the list and work your way down. As you correct the ones at top, others will go away.

Note that the validator will only show you one instance of an error at a time. So, if you have the same error in 20 lines of code, it is only going to show you the first one. If you fix that first one, then the next one will appear. It can be frustrating so make sure you correct all the errors if you can.

P.S. If you run into errors that you do not understand, feel free to ask questions on how to correct them.