4 Replies Latest reply on Nov 27, 2008 12:35 PM by Newsgroup_User

    Creating Links

    DreamChristine
      When take the little pointer and drag it to the .html I want the image to link to, it puts a blue box around the link. I was fine with it doing that in the template, whatever, showing me the links, but the blue box, I guess I should say border, shows up when previewing my website..why?? I never had this problem when creating something in CS3.
        • 1. Re: Creating Links
          Level 7
          Try using some CSS:

          a img {border: 0;}

          this will make ALL image links borderless. If you want only certain images
          to be borderless then you will need to make a special class.

          R

          "DreamChristine" <webforumsuser@macromedia.com> wrote in message
          news:ggjtc3$2hd$1@forums.macromedia.com...
          > When take the little pointer and drag it to the .html I want the image to
          > link
          > to, it puts a blue box around the link. I was fine with it doing that in
          > the
          > template, whatever, showing me the links, but the blue box, I guess I
          > should
          > say border, shows up when previewing my website..why?? I never had this
          > problem
          > when creating something in CS3.
          >


          • 2. Re: Creating Links
            Level 7
            "DreamChristine" <webforumsuser@macromedia.com> wrote in message
            news:ggjtc3$2hd$1@forums.macromedia.com...
            > When take the little pointer and drag it to the .html I want the image to
            > link
            > to, it puts a blue box around the link. I was fine with it doing that in
            > the
            > template, whatever, showing me the links, but the blue box, I guess I
            > should
            > say border, shows up when previewing my website..why?? I never had this
            > problem
            > when creating something in CS3.

            I believe you're mistaken. Browsers have always added a border to linked
            images by default.

            Raybman's CSS solution is correct. :)
            --
            Tim G.
            http://www.pactumweb.com
            http://www.shortordersite.com


            • 3. Re: Creating Links
              DreamChristine Level 1
              Thanks Raybman, that fixed it. Tim, it wasn't the border that added it by default, it showed it in Dreamweaver as well. And as I said, never had that problem in CS3. But whatever, it is fixed now. Thanks. =)
              • 4. Re: Creating Links
                Level 7
                "DreamChristine" <webforumsuser@macromedia.com> wrote in message
                news:ggmids$f5l$1@forums.macromedia.com...
                > Thanks Raybman, that fixed it. Tim, it wasn't the border that added it by
                > default, it showed it in Dreamweaver as well.

                I think you meant "browser." And yes, DW shows it because it's pretty much a
                universal browser default. I have CS3 and haven't checked, but if CS3 DW
                doesn't show it, that just means it's not depicting browser realities very
                well and CS4 does so better.

                --
                Tim G.
                http://www.pactumweb.com
                http://www.shortordersite.com