border-style: dotted in IE

D

David Dorward

xEM said:
padding:5px;"href="empty"> test </a>

in IE i see dashed border instead of dotted (in Opera looks dotted) ?

One of MSIEs bugs is to produce dashed borders when 1px dotted borders are
requested
 
A

altamir

why when i use this code:

<a style="border-width: 1px; border-style: dotted;
padding:5px;"href="empty"> test </a>

in IE i see dashed border instead of dotted (in Opera looks dotted) ?

look this:
http://www.mun.jawnet.pl/test.html

Here is a method for making 1px dotted right border:

..dotted {
background-image:url('dotted.gif');
background-repeat:repeat-y;
background-position:right;
}

dotted.gif is 1x2px image, where one pixel has a different color than
other.
 
J

Jukka K. Korpela

altamir said:
Here is a method for making 1px dotted right border:

No, it isn't.
.dotted {
background-image:url('dotted.gif');
background-repeat:repeat-y;
background-position:right;
}

It's not a border. It's a background for the element's content area.

Whether it _simulates_ a border sufficiently well is debatable. But it
ain't no border.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top