Results 1 to 6 of 6
  1. #1
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Alt Text for Graphics (Netscape 7.01)

    I recently installed Netscape 7.01 and in general I like it, except for some really regressive moves with the email client. My current stumper is this: how do I get the browser to display the alternate text for a graphic when the mouse hovers over it? If I hovered over the little graphic at the end of the subject of a WOPR Lounge post, NS 4.xx would tell me, for example, that a graphic was attached to that post.

    Cheers,
    Regards,
    PaulB

  2. #2
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Alt Text for Graphics (Netscape 7.01)

    Well, I ain't much of a web authority (HTML) but since Netscape 7.x is based on Mozilla code and I use Mozilla.....

    When Mozilla 1.0 came out, all the ALT= tags in an HTML document no longer worked if you hovered over the image. The response I found from Mozilla was something like they are NOW using the correct "standards" (whatever that means) and the ALT= tag only works if the graphic isn't available (or words something like that). Evidently, in order for the hovering technique to work, the document must use the TITLE= tag instead.

    That's what little I know.

  3. #3
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Alt Text for Graphics (Netscape 7.01)

    Big Al:

    Thanks for your answer. As usual, you are being much too modest. Your answer to my query was right on. I changed the "alt" tags in my local-file home page to "title" and voila, I now have alternate text!

    I did some checking and found that the coding used in the WOPR lounge uses a mixture of "alt" and "title". Your post (about Mozilla send mail freeze) in the index to this forum has a graphic that should display "Picture Attached" but because it uses the "alt" tag, I get nothing. Other graphics, such as the "Make a new post" one on the index page, use the "title" tag, making navigation easier.

    Someone once observed that Mozilla looks a lot more like Microsoft's Internet Explorer than Navigator 4. Strange how they are now using Microsoft's "by design" excuse.

    HOLD THE PRESSES!!! Al, I just noticed that you are now a WMVP. Congratulations on your appointment. Perhaps you now have the clout to suggest/implement some changes to the lounge... the graphic heralding your status (little red ghost?) uses the "alt" tag instead of the "title" tag <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15> .

    Cheers,
    Regards,
    PaulB

  4. #4
    KTYorke
    Guest

    Re: Alt Text for Graphics (Netscape 7.01)

    Great answer Al, and what a way to show off your new ribbon... congratulations! (I'm glad we have such an avid Mozilla fan in our midst)
    I have a question for you about this ALT/TITLE tag business. Should I, for the benefit of those using Moz and NS7, use BOTH ALT and TITLE tags? ALT for when a graphic is not there and TITLE for popup text. Or would the TITLE tag suffice for both? Just curious.
    have fun

  5. #5
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Alt Text for Graphics (Netscape 7.01)

    According to what I read, the TITLE tag won't do it for both and I've been noticing some code where people ARE using both. I even believe some of my web design co-workers at KET are using both. But be careful, 'cause as I said, I don't pretend to know very much (if anything) about HTML standards.

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Alt Text for Graphics (Netscape 7.01)

    I think you should use both. In IE 5.5, with Show Pictures turned on, a mouse-over of this tag yields the TITLE attribute:


    (You can slap that into a Notepad doc, Save As test.htm, then open test.htm with a browser.)

    With Show Pictures turned off, the ALT attribute is displayed where the picture should be. The ALT tag is best used to provide "accessibility" to the image for the visually impaired. The TITLE tag is best used as a kind of "pop-up help" for someone viewing the image. So... now you get double work!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •