I am trying to create a button for my website using Photoshop's rectangle shape tool. I want to add a border only on top of the button. How will get that effect?

  • Sorry? I'm not sure I understand. If you'd like to add a stroke, add a stroke. – Hanna Dec 5 '13 at 5:16
  • @Johannes sorry i need to add stroke for a rectangle box i need it only for top of a rectangle! – Vivek Vikranth Dec 5 '13 at 6:03
  • It's still not clear to me what the problem is. If you add a screenshot, we may be able to help. – JohnB Dec 5 '13 at 6:30
  • 4
    You can not stroke one side of a rectangle. If you need one stroke, use the line tool, not the rectangle tool. – Scott Dec 5 '13 at 9:26
  • You can emulate a single-sided stroke with a drop shadow. For example to achieve this use these settings – Andrew Aug 27 '15 at 2:03