Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: border?

  1. #1
    New Coder
    Join Date
    Oct 2007
    Posts
    46
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Lightbulb border?

    hi i was wondering how to do this in photoshop.. here's the image:

    http://i35.tinypic.com/2ltomde.png

    the css code that makes the white & black borders is this

    Code:
    .myimg{
    padding: 4px;
    background-color: #FFFFFF;
    border: 1px solid black;
    }
    thanks

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Make a photoshop file that is 9px wider than your thumbnail image. Set the background to white on the first layer.

    There are a few ways to make the border. The way I find easiest is to use the rectangular marquee tool on the whole canvas

    1. Put a marquee around the whole canvas.
    2. Go to the Select menu > Modify > Contract
    3. Set the contract to 1px
    4. Go to the Select menu > Inverse
    5. Zoom in until you can see the 1px border space
    6. Choose the paint bucket tool
    7. Choose whatever color you want
    8. Apply the paint bucket tool to the 1px part.


    Note: Its better to put the border on its own layer. Put the image on its own layer as well.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •