?
Solved

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

Posted on 2011-02-11
5
Medium Priority
?
3,665 Views
Last Modified: 2012-05-11
I'm looking for a border width that's thinner than border-width: thin;  How do I do it?

0
Comment
Question by:jdana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 18

Assisted Solution

by:Eternal_Student
Eternal_Student earned 400 total points
ID: 34872749
NO, thin is as small as it gets.
0
 

Author Comment

by:jdana
ID: 34872898
Can I get away with fractional points or pixels?  (ex. 0.5px or 0.5pt?)
0
 
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 400 total points
ID: 34872910
border-width:1px; is the smallest possible one
0
 
LVL 14

Accepted Solution

by:
Designbyonyx earned 1200 total points
ID: 34873007
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
 

Author Closing Comment

by:jdana
ID: 34873689
Designbyonyx,

Great suggestion!  It now looks sharp.

Thanks.
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question