SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Dashed borders

  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dashed borders

    Using Photoshop, does anyone know how I can replicate css to add a dashed border to a rectangle? I want to create a white rectangle to hold my menu and leave about 3px white space around it, then add a dashed grey border.

  2. #2
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure there is an easy way to do this. Photoshop doesn't have a dash tool or brush. I would make it in illustrator (vector program) and import it. Or if you have to use Photoshop draw a box, stroke it and draw white lines through it.
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!

  3. #3
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, you could use the brush tool, and space it out to 200 or something. Holding down the shift key restricts it to 45 angles.

    Apart from that, you can also do that with selections and filling with a pattern. Make a new 10px by 10px image and just fill in five or so, then select all and Edit>Define Pattern. From there, go back to the image you're actually working on, and after you've made the selections you want, go to Edit>Fill and chose pattern. Convoluted I know, but it's quicker in practice than in wrighting.

    All works in PS5, at least. YMMV. ;-)

    ~~Ian


Bookmarks

Posting Permissions

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