4 Replies Latest reply: Nov 26, 2012 7:35 PM by sudarshan.t RSS

    Borders on images


      Who at Adobe had the bright idea of removing the tick/size box which allows borders to be added from the properties panel in Dreamweaver CS6? What advantage is there for a user who now has to enter code for every single border  - especially when making navigation buttons?  A job which used to take 10 seconds now takes at east 10 times longer. That's a serious waste of time, energy and money. Daft.

        • 1. Re: Borders on images
          John Waller MVP

          Learn CSS and speed things up.


          Add the following to your stylesheet


          #nav img { border: 1px solid #333; }


          and a id="nav" to the div housing your navbar.


          Now a thin grey border is immediately added to every single image in your navbar sitewide without you lifting a finger.


          There are many variations on this simple principle.

          • 2. Re: Borders on images
            sudarshan.t Community Member

            Mike, That option went out of DW because it used to add an inline tag which was deprecated as an HTML standard long long ago. It's gone for good.


            That said, I +1 John's comment - CSS is the way ahead. I completely understand that it may be a daunting task for someone who has never really considered the CSS way. But, trust me, it is something you definitely want to learn asap before you're too late. Plus, with CSS3, there are many a things that are possible with just a few lines of code - saving precious bandwidth. For example, gradients, drop shadows, rounded edges and all of that can now be achieved with 2-3 lines of CSS code, saving image load time on your website.


            Long explanation short: CSS = Awesomeness!



            • 3. Re: Borders on images

              Thanks for the tip! So much to learn.....

              • 4. Re: Borders on images
                sudarshan.t Community Member

                You're welcome. If you have more questions, don't hesitate to post. Happy to help