Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4145
  • Last Modified:

CSS - border-width: hairline; Is this achievable?

I'm looking for a border width that's thinner than border-width: thin;  How do I do it?

0
jdana
Asked:
jdana
3 Solutions
 
Eternal_StudentCommented:
NO, thin is as small as it gets.
0
 
jdanaAuthor Commented:
Can I get away with fractional points or pixels?  (ex. 0.5px or 0.5pt?)
0
 
Gurvinder Pal SinghCommented:
border-width:1px; is the smallest possible one
0
 
DesignbyonyxCommented:
Unfortunately a you can't get smaller than a single pixel.  A good technique to sort of imply a thinner line is to use a lighter color.  If you want a really thin black border, then use a 1px grey border.

border: 1px solid #999;
0
 
jdanaAuthor Commented:
Designbyonyx,

Great suggestion!  It now looks sharp.

Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now