Catayoon wrote:

>Hello,
>
>This is my first post to css-discuss. I am beginner with CSS. On the 
>homepage of the site I am working on:  http://www.2ids.com/staging/
>
>There are dotted borders that separate the columns and rows. The 
>borders seem to show up in Firefox and Safari. But they are not working 
>correctly in IE.
>
>Any help on why this is occurring would be greatly appreciated.
>
>Thank you,
>Cat
>
Hi Cat,
Welcome to the wonderful world of css, and welcome to the list!
Why the 1px dotted borderline is occurring in IE as a 1px dashed border, 
nobody knows: it is one of the IE-bugs! ;-)
As far as I know, there are two workarounds:

   1. You can use a 2px (or more px) dotted border instead, then IE is
      good; or:
   2. You can use a small dotted background image with a dot and the
      background color in it: a 2x1px image for the horizontal dotted
      lines, which you use as background image with an x-repeat; and a
      1x2px image for the vertical dotted lines, which you use as
      background image with an y-repeat.
      Illustration in the bottom of the page:
      
http://home.tiscali.nl/developerscorner/css-discuss/test-opera-dotted-borders.html
      (also Opera has some problems with dotted borders).

In the second case the background images can be called in css with a 
class .horiz-dots { background: url(images/horiz-dots.gif) repeat-x; } 
and a similar class for the vertical dots.

Then the most dotted borders in the table don't appear in IE. Seems IE 
doesn't like empty <td></td>'s. If you add a non-breaking space in it, 
<td>&nbsp;</td>, then IE is showing some more.

Success and greetings,
francky

PS:
If you are looking for a css-solution for the menu, you can have a look 
at this testpage 
<http://home.tiscali.nl/developerscorner/css-discuss/test-jakob-nav.htm>.
Another example of using background images for a menu is this page 
<http://home.tiscali.nl/developerscorner/port-hole/bunchbuttons.htm>.
And some theory about background positioning is in this article 
<http://home.tiscali.nl/developerscorner/port-hole/porthole.htm>.
But I should invite you first to our css library: the css-d Wiki pages 
<http://css-discuss.incutio.com/>. If you scroll down, you'll see: for 
almost everything is a css solution; or at least a css discussion! Hours 
of interesting reading stuff... ;-)


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to