Firefox Hyperlink Issue? Help PLZ

10 replies
I am trying to hyperlink an image file on my website and it works in IE and hyperlinks in IE but I cannot get it to hyperlink for me in Firefox, not sure if I am missing something or the coding needs to be changed...

Site is PLR Articles 4 You

The image I am trying to hyperlink is the e-Book cover floating to the left in the post section.

Thanks in advance for your help,
Sylvia
#firefox #hyperlink #issue #plz
  • Profile picture of the author Scott Ames
    That's totally weird. The link looks correct in the code but doesn't work in FireFox but does work in IE. Not sure yet.
    Signature

    Success consists of going from failure to failure without loss of enthusiasm. -Winston Churchill

    {{ DiscussionBoard.errors[1579942].message }}
  • Profile picture of the author Aaron Moser
    That's weird. I do see the ebook cover as an active link in forefox but only a portion of the image is clickable. I'd have see how you have it linked to help further.
    Signature



    {{ DiscussionBoard.errors[1579945].message }}
  • Profile picture of the author Dennis Gaskill
    Might be because you're using a deprecated attribute and value with the image, although I couldn't say for sure without testing.

    You have align="left" in the image tag, but that attribute and value are deprecated in xhtml, and you're using an XHTML doctype.

    I don't know if that would be enough to break the link, but it gives you something to check on. Try removing that snippet and see if the link works. If it does use CSS to float the image instead of an HTML attribute.
    Signature

    Just when you think you've got it all figured out, someone changes the rules.

    {{ DiscussionBoard.errors[1579955].message }}
    • Profile picture of the author Scott Ames
      Originally Posted by Dennis Gaskill View Post

      Might be because you're using a deprecated attribute and value with the image, although I couldn't say for sure without testing.

      You have align="left" in the image tag, but that attribute and value are deprecated in xhtml, and you're using an XHTML doctype.

      I don't know if that would be enough to break the link, but it gives you something to check on. Try removing that snippet and see if the link works. If it does use CSS to float the image instead of an HTML attribute.
      Bingo Dennis, that's it. I came to the same conclusion with testing.
      Signature

      Success consists of going from failure to failure without loss of enthusiasm. -Winston Churchill

      {{ DiscussionBoard.errors[1579989].message }}
  • Profile picture of the author Sylvia Meier
    Okay so what do I change it to then. Really confused on what you guys are saying LOL. What should I be using instead to have it float left?

    Sylvia

    P.S Boy you guys are quick
    Signature
    {{ DiscussionBoard.errors[1580029].message }}
  • Profile picture of the author Dennis Gaskill
    Sylvia, replace the align="left" code with this:

    Code:
    style="float: left;"
    If the text gets too close to the image, you can add a margin to the style, like this:

    Code:
    style="float: left; margin-right: 12px;"
    Hope that helps!
    Signature

    Just when you think you've got it all figured out, someone changes the rules.

    {{ DiscussionBoard.errors[1580045].message }}
  • Profile picture of the author Sylvia Meier
    Alright, without the align="left" it works. Don't know anything about CSS how do I use it to float the image left?
    Signature
    {{ DiscussionBoard.errors[1580046].message }}
  • Profile picture of the author Sylvia Meier
    Alright, now only the bottom of it is clickable LOL...uggh I hate websites. I'm a writer LOL.
    Signature
    {{ DiscussionBoard.errors[1580056].message }}
  • Profile picture of the author Dennis Gaskill
    Try adding the width and height tags to the image.

    width="140" height="180"

    I'm not saying use those exact measurements, I made up the numbers to use to show the code example. You'll need to use the real width and height.
    Signature

    Just when you think you've got it all figured out, someone changes the rules.

    {{ DiscussionBoard.errors[1580104].message }}
  • Profile picture of the author Sylvia Meier
    Alright it all is clickable when it isnt doing anything floating wise so Im just gonna make it into a banner or something right across the top. Thanks everyone for helping.

    Sylvia
    Signature
    {{ DiscussionBoard.errors[1580110].message }}

Trending Topics