3 steps to have dotted borders in IE
It seems that Aaron Bassett has found a much easier way to get the 1px dotted borders in IE. You can see it here.
Step 1
Open an image editing software, I chose Photoshop, and make 3 transparent GIF or PNG images like the ones bellow:
size: 1×2

size: 2×1

size: 2×2

Step 2
This is the CSS part. Just create 3 classes for the DIVs which will get you the needed borders. Here’s how the classes should look like:
.right-border{
margin: 0;
padding: 0 1px 0 0;
background: url(right_dot.gif) repeat-y 100% 0%;
}
.bottom-border{
margin: 0;
padding: 0 0 1px 0;
background: url(bottom_dot.gif) repeat-x 0% 100%;
}
.topleft-border{
margin: 0;
padding: 1px 0 0 1px;
background: url(topleft_dot.gif) repeat 0% 0%;
}
p{
background: #ffffff; /* It’s necessary to give the dotted bordered element a background color */
}
Step 3
Last thing were going to do is put this piece of code around the element that we want to have dotted borders:
<div class="right-border">
<div class="bottom-border">
<div class="topleft-border">
<p>Here's how you can have dotted borders</p>
</div>
</div>
</div>
TIP
If you want to apply the borders to an image you’ll notice that the DIV will be wider than the image itself. To fix that you can add to the right-border class the float: left; property and afterwards add to the class of the element that succeeds the right-border DIV the clear: both; property.
Example
I know this is not what you’ve been dreaming for, but if you hate dashed borders and you need to have dotted ones in all browsers this is one way you can do it.

Jul 28 at 04:06
I’ve just written about another way you can do it on my blog which does not require all that extra markup or images.
You can read it here: http://foobr.co.uk/2007/07/dotted_borders_in_ie/
Jul 29 at 11:31
[…] the designologue spirit: from 3 divs to 1 div. Good one Aaron! Spread the […]
Jul 30 at 05:59
Just so you know, CSS dotted borders work in IE7.
border:1px dotted #000;Jul 30 at 20:29
Really great tutorial. Thanks!
Jul 31 at 02:28
Yeah but is it worth it? 3 extra divs in the dom just to please the IE6 users? I don’t think so.