Skip navigation
bottleshooter
Currently Being Moderated

Set Image Borders

Aug 7, 2012 10:59 PM

Tags: #image #cs6 #set #borders

For years, I've inserted images into text pages in Dreamweaver and set their borders into a box in the Properties tab that allowed me to enter a number that created a border with that number's pixels on all sides of the inserted object, but that box is missing in my CS6, and I can't figure out where to enter image border settings in the new version and would appreciate anyone's insights. Thanks!

 
Replies
  • Currently Being Moderated
    Aug 8, 2012 12:07 AM   in reply to bottleshooter

    Its all done via css now.

     

    You would create a 'class' in the css panel with the desired border you need then attach the class to the image:

     

    <img src="myimage.jpg" width="250" height="250" alt="" class="imgBorder" />

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2012 12:10 AM   in reply to osgood_

    In addition to osgood's suggestion, if you want all images to have the same border, just create a style rule for the <img> tag:

     

    img {

        border: 5px solid black;

    }

     

    That automatically puts a 5px black border on every image.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points