Solved

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

Posted on 2011-02-11
5
3,473 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 100 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:gurvinder372
gurvinder372 earned 100 total points
ID: 34872910
border-width:1px; is the smallest possible one
0
 
LVL 14

Accepted Solution

by:
Designbyonyx earned 300 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 is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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 a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

726 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