Announcement

Collapse
No announcement yet.

"alt" tags in Mozilla Firefox?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "alt" tags in Mozilla Firefox?

    Does anyone know why alt tags dont work in Firefox?

    ie:
    Code:
    alt="This is an alt tag"
    I've always wondered, but just thought to ask.

    Any info appreciated.

    Thanks....
    "CREEPSHOW CREEPS ONLINE" - The first & best online resource dead-icated to Stephen King & George A. Romero's 1982 horror anthology classic!!!!

  • #2
    it works for me.

    <img src="whatever.jpg" alt="Image" />

    Comment


    • #3
      Works for me as well. What is the code you're trying to use it in?
      Congratulations on the death of vBulletin, Internet Brands.

      Comment


      • #4
        The alt tag is not designed specifically to be rendered by the browser as a tooltip but rather to provide alternate text for the visually impaired. If you're relying on a tooltip to convey information (a bad idea), also use the title attribute.
        --filburt1, vBulletin.org/vBulletinTemplates.com moderator
        Web Design Forums.net: vB Board of the Month
        vBulletin Mail System (vBMS): webmail for your forum users

        Comment


        • #5
          Originally posted by filburt1
          The alt tag is not designed specifically to be rendered by the browser as a tooltip but rather to provide alternate text for the visually impaired. If you're relying on a tooltip to convey information (a bad idea), also use the title attribute.
          Filburt is correct. Firefox will render ALT tags if the image fails to load. Otherwise, if you want a tooltip, you will need to set the object's TITLE attribute.
          :)

          Comment


          • #6
            Originally posted by DirectPixel
            Otherwise, if you want a tooltip, you will need to set the object's TITLE attribute.
            How do you do that?

            title="whatever" ?
            "CREEPSHOW CREEPS ONLINE" - The first & best online resource dead-icated to Stephen King & George A. Romero's 1982 horror anthology classic!!!!

            Comment


            • #7
              Originally posted by Creepshow
              How do you do that?

              title="whatever" ?
              Yup, that's right... as in <img src="filename.jpg" title="file title" />

              MGM out

              Comment


              • #8
                Originally posted by MGM
                Yup, that's right... as in <img src="filename.jpg" title="file title" />

                MGM out
                You're missing an ALT attribute.

                As per XHTML specs, IMG tags always need to have ALT info.
                :)

                Comment


                • #9
                  Thanks guys, well I've got the alt tags, so I guess I'll just add the title tags too.

                  Thanks.
                  "CREEPSHOW CREEPS ONLINE" - The first & best online resource dead-icated to Stephen King & George A. Romero's 1982 horror anthology classic!!!!

                  Comment


                  • #10
                    Or use some javascript to set it like we do in vBulletin
                    Scott MacVicar

                    My Blog | Twitter

                    Comment


                    • #11
                      Originally posted by DirectPixel
                      You're missing an ALT attribute.

                      As per XHTML specs, IMG tags always need to have ALT info.
                      I knew that

                      MGM out

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X