Is it possible to have a border that is thinner than 1px and works in IE6+ and is not an image and renders properly visually?
Thank you.
Is it possible to have a border that is thinner than 1px and works in IE6+ and is not an image and renders properly visually?
Thank you.
Edit: I have overseen then IE6 restriction, but I leave the answer here for others ...
Its possible with
transform:scale(0.5)
and put a border element withborder:1px;
inside. So you get a half pixel border, that (although tricked and browser dependend) is displayed on screen. But I use that trick for printing.sure, you have to adapt the content of the element, or play with
position
0.1em displays border smaller then 1px try dotted border with 1px and compare it with 0.1em
For me this worked:
border-top: 1px solid #ffffff26;
Maybe late post ,
using ridge(alternative) for thin border //IMO