Web Analytics Made Easy -
StatCounter solid outline around image links in Netscape and IE - CodingForum

Announcement

Collapse
No announcement yet.

solid outline around image links in Netscape and IE

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

  • solid outline around image links in Netscape and IE

    I've seen many people talk of a 'dotted' line that surrounds image tag links, but I'm having a solid line surround my image tag links in Internet Explorer and Mozilla builds. Is this the same thing? Is it a necessary part of the web page then for accessibility... because it's darn ugly and I've heard the complaints. I don't know if this is the same element. Thank you!! It's nice to be back

    example at: http://www.dotfive.com

    Safari doesn't show this, Mac IE doesn't show this -- Mac Mozilla builds, and PC IE does. Any ideas?
    // Art is what you can get away with. <-- Andy Warhol
    ...:.:::: bradyjfrey.com : htmldog : ::::.:...

  • #2
    Include border="0" in your image tag


    <img src="pic.jpg" border="0">
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.

    Comment


    • #3
      OR

      a img {border:none;}

      In your CSS

      I take no responsibility for the above nonsense.


      Left Justified

      Comment


      • #4
        When I did the CSS version, it didn't work for some reason in Internet Explorer 6 for PC, but the border="0" in the img tag worked fine. Thank you!!
        // Art is what you can get away with. <-- Andy Warhol
        ...:.:::: bradyjfrey.com : htmldog : ::::.:...

        Comment


        • #5
          using border="0" may cause your pages not to validate! use:

          Code:
          img {
          border: 0px;
          }
          I have had problems with "none" before, but this always works. (for me at least)
          PHP Weekly - A PHP Developers Resource
          PHP 5.1.4 and Ruby on Rails web hosting
          Moderator of PHP and Work offers and Requests
          Install Apache/PHP/MySQL
          (by marek_mar) | TinyPlugin Architecture

          Comment


          • #6
            Hmmm, that's interesting, but yes - that worked, and I would rather have CSS control over placing those elements in the XHTML -- thank you missing-score!
            // Art is what you can get away with. <-- Andy Warhol
            ...:.:::: bradyjfrey.com : htmldog : ::::.:...

            Comment

            Working...
            X