9 Replies Latest reply on Aug 27, 2007 4:24 PM by Newsgroup_User

    Removing Image Link Borders

    Coxdabd Level 1
      Hello there,

      I've been playing aroudn with CSS in Dreamweaver CS3 and try and rid the border around linked images/graphics. I've tried using border: 0; but this doesn't seem to be doing the job. The code I have used is as follows:
        • 1. Re: Removing Image Link Borders
          lenisu
          Select the image <img>in the page go to the quick tag editor and set it to 0.
          exemple:
          <img src="img/logo.gif" border="0" width="329" height="138" />
          • 2. Re: Removing Image Link Borders
            Coxdabd Level 1
            Hello there,

            Oh that's great, I knew it would be only something simple but managed to confuse myself. The problem with the border around the image is now rectified.

            Thank you very much for your time and help.

            All the best,

            Kristopher (UK).
            • 3. Re: Removing Image Link Borders
              lenisu Level 1
              Can u help me. I have been try to include a file with server-side includes to a file in another directory inside the root folder, but always give me this error:

              Warning: main(admin_topics.php) [function.main]: failed to open stream: No such file or directory in c:\programas\apache group\Apache\htdocs\MyWebs\blg_blog2\index.php on line 31

              Fatal error: main() [function.require]: Failed opening required 'admin_topics.php' (include_path='C:\php\pear') in c:\programas\apache group\Apache\htdocs\MyWebs\blg_blog2\index.php on line 31
              • 4. Re: Removing Image Link Borders
                Level 7
                .oO(lenisu)

                >Select the image <img>in the page go to the quick tag editor and set it to 0.
                >exemple:
                ><img src="img/logo.gif" border="0" width="329" height="138" />

                This is deprecated. The proper way is to use CSS:

                a img {border: 0}

                Micha
                • 5. Re: Removing Image Link Borders
                  Coxdabd Level 1
                  Hello Lenisu,

                  I'm afraid my knowledge with server-side functionality is very limited. I can just about cope with a PHP form email sender. I am sorry that I am unable to be of help. However, I feel sure somebody within this forum would be able to shed some light on your problem.

                  All the best and I hope you resolve your problem.

                  Kristopher (UK).
                  • 6. Re: Removing Image Link Borders
                    Level 7
                    Please start a new thread with this question.

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.dreamweavermx-templates.com - Template Triage!
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                    ==================


                    "lenisu" <webforumsuser@macromedia.com> wrote in message
                    news:favlfi$4mu$1@forums.macromedia.com...
                    > Can u help me. I have been try to include a file with server-side includes
                    > to a
                    > file in another directory inside the root folder, but always give me this
                    > error:
                    >
                    > Warning: main(admin_topics.php) [function.main]: failed to open stream: No
                    > such file or directory in c:\programas\apache
                    > group\Apache\htdocs\MyWebs\blg_blog2\index.php on line 31
                    >
                    > Fatal error: main() [function.require]: Failed opening required
                    > 'admin_topics.php' (include_path='C:\php\pear') in c:\programas\apache
                    > group\Apache\htdocs\MyWebs\blg_blog2\index.php on line 31
                    >
                    >


                    • 7. Re: Removing Image Link Borders
                      TC2112 Level 1
                      Hello,

                      You can use CSS to apply it to any or all throughout your site, as well.

                      All images:
                      img {border: none;}

                      Any image inside the container with the "bbc" class:
                      .bbc img (border:none;}

                      Specifically that image link:
                      .bbc a img {border: none;}

                      Take care,
                      Tim
                      • 8. Re: Removing Image Link Borders
                        TC2112 Level 1
                        Hello Lenisu,

                        You might want to start a new thread for your SSI question.
                        It might not get seen by as many folks in this "image link" thread.

                        Good luck,
                        Tim
                        • 9. Re: Removing Image Link Borders
                          Level 7
                          Coxdabd wrote:
                          > Hello Lenisu,
                          >
                          > I'm afraid my knowledge with server-side functionality is very limited. I can
                          > just about cope with a PHP form email sender. I am sorry that I am unable to be
                          > of help. However, I feel sure somebody within this forum would be able to shed
                          > some light on your problem.
                          >
                          > All the best and I hope you resolve your problem.
                          >
                          > Kristopher (UK).
                          >


                          --
                          David Brewer

                          mmmm