9 Replies Latest reply on Jan 1, 2009 7:22 AM by Newsgroup_User

    controlling image border color

    SGing
      I have not set any color borders w/i DW for my images. They have been created in PS with very thin borders consisting of 3pxblack, then 30px white, then 3px black.
      When the thumbnails are viewed with Safari, they appear just as I created them. Firefox shows an additional black border which is no problem. However, when viewed with AOL or IE, they show a bright and very distracting blue border before viewing and purple after viewing.. My large images do not have this problem.
      Is there some way w/i DW that I can control this behavior?

      Thanks very much for any help.

        • 1. Re: controlling image border color
          Level 7
          Use CSS to set image borders to zero


          "SGing" <webforumsuser@macromedia.com> wrote in message
          news:gji70h$lnt$1@forums.macromedia.com...
          >I have not set any color borders w/i DW for my images. They have been
          >created
          > in PS with very thin borders consisting of 3pxblack, then 30px white, then
          > 3px
          > black.
          > When the thumbnails are viewed with Safari, they appear just as I created
          > them. Firefox shows an additional black border which is no problem.
          > However,
          > when viewed with AOL or IE, they show a bright and very distracting blue
          > border
          > before viewing and purple after viewing.. My large images do not have
          > this
          > problem.
          > Is there some way w/i DW that I can control this behavior?
          >
          > Thanks very much for any help.
          >
          >
          >


          • 2. Re: controlling image border color
            Level 7
            a img { border:none; }

            --
            Murray --- ICQ 71997575
            Adobe Community Expert
            (If you *MUST* email me, don't LAUGH when you do so!)
            ==================
            http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
            http://www.dwfaq.com - DW FAQs, Tutorials & Resources
            ==================


            "Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
            news:gjic4c$roo$1@forums.macromedia.com...
            > Use CSS to set image borders to zero
            >
            >
            > "SGing" <webforumsuser@macromedia.com> wrote in message
            > news:gji70h$lnt$1@forums.macromedia.com...
            >>I have not set any color borders w/i DW for my images. They have been
            >>created
            >> in PS with very thin borders consisting of 3pxblack, then 30px white,
            >> then 3px
            >> black.
            >> When the thumbnails are viewed with Safari, they appear just as I created
            >> them. Firefox shows an additional black border which is no problem.
            >> However,
            >> when viewed with AOL or IE, they show a bright and very distracting blue
            >> border
            >> before viewing and purple after viewing.. My large images do not have
            >> this
            >> problem.
            >> Is there some way w/i DW that I can control this behavior?
            >>
            >> Thanks very much for any help.
            >>
            >>
            >>
            >
            >

            • 3. Re: controlling image border color
              SGing Level 1
              Good morning, Ken. Thanks for the help.

              I am a bit slow to pick this stuff up and am, obviously, new to this.

              If I could impose.. what tag description would I be writing and where in the code? Can I just write "image-border>0 ? Thanks for your patience with my question.
              Here's my CSS rules as created in the Page Properties:
              @charset "utf-8";
              .style8 {font-family: "Bell Gothic Std Black"; color: #000000; }
              .style11 {font-size: 36}
              body,td,th {
              font-family: Bell Gothic Std Black;
              font-size: 14px;
              color: #000000;
              }
              body {
              background-color: #666666;
              margin-left: 150px;
              margin-top: 10px;
              margin-right: 150px;
              margin-bottom: 20px;
              }
              a {
              font-size: 12px;
              color: #336666;
              }
              a:link {
              text-decoration: underline;
              color: #333333;
              }
              a:visited {
              text-decoration: underline;
              color: #EBE9ED;
              }
              a:hover {
              text-decoration: none;
              color: #CCCC99;
              }
              a:active {
              text-decoration: underline;
              color: #663300;
              }
              .style13 {
              font-family: "Script MT Bold";
              font-size: 28px;
              }
              .style18 {font-size: 12px; }
              .backnext {
              font-family: "Bell Gothic Std Black";
              font-size: 14px;
              font-style: normal;
              line-height: normal;
              text-transform: lowercase;
              color: #000033;
              text-decoration: none;}
              and here's what the code for one of the thumbs looks like:
              <img src="Assets/Images/Images for Website/Insects/Long-horned flower beetle thumb.jpg" alt="Long-horned Flower Beetle" width="95" height="77" />
              • 4. Re: controlling image border color
                SGing Level 1
                Good morning Murray and thanks. I cross posted while you were replying.

                Would I just place that anywhere in the list of rules?

                Best for the New Year.

                Steve
                • 5. Re: controlling image border color
                  Level 7
                  Yes - just put it anywhere, provided that there is not another similar later
                  rule that might conflict with it. I guess it would be best to make this one
                  the last rule in the stylesheet.

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  ==================


                  "SGing" <webforumsuser@macromedia.com> wrote in message
                  news:gjifgi$2cu$1@forums.macromedia.com...
                  > Good morning Murray and thanks. I cross posted while you were replying.
                  >
                  > Would I just place that anywhere in the list of rules?
                  >
                  > Best for the New Year.
                  >
                  > Steve

                  • 6. Re: controlling image border color
                    SGing Level 1
                    BINGO!

                    Thanks very much, Murray. And Ken too. Another problem solved by you guys and the great help in this forum.

                    Very much appreciated.

                    Steve
                    • 7. Re: controlling image border color
                      Level 7
                      Good luck, Steve.

                      --
                      Murray --- ICQ 71997575
                      Adobe Community Expert
                      (If you *MUST* email me, don't LAUGH when you do so!)
                      ==================
                      http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                      http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                      ==================


                      "SGing" <webforumsuser@macromedia.com> wrote in message
                      news:gjiia6$5rv$1@forums.macromedia.com...
                      > BINGO!
                      >
                      > Thanks very much, Murray. And Ken too. Another problem solved by you
                      > guys and the great help in this forum.
                      >
                      > Very much appreciated.
                      >
                      > Steve

                      • 8. Re: controlling image border color
                        SGing Level 1
                        Thanks Murray. I definitely need a lot of that. There's so much to this program. But I've muddled my way through PS so I think I'll get the hang of this eventually. Your help takes me a long way to that end.

                        Best for the New Year.
                        Steve
                        • 9. Re: controlling image border color
                          Level 7
                          Focus on HTML and CSS - DW will all fall into place if you have that
                          background.

                          --
                          Murray --- ICQ 71997575
                          Adobe Community Expert
                          (If you *MUST* email me, don't LAUGH when you do so!)
                          ==================
                          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                          ==================


                          "SGing" <webforumsuser@macromedia.com> wrote in message
                          news:gjikaa$8b0$1@forums.macromedia.com...
                          > Thanks Murray. I definitely need a lot of that. There's so much to this
                          > program. But I've muddled my way through PS so I think I'll get the hang
                          > of
                          > this eventually. Your help takes me a long way to that end.
                          >
                          > Best for the New Year.
                          > Steve
                          >