Therefore, it??™s good practice to specify a value
for the border??™s style when you??™re using shorthand notation.
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Buggy Buggy Buggy
User agents are supposed to place borders on the element??™s background, but in
Internet Explorer for Windows versions up to and including 7, the background only
reaches the inside edge of the border when the element has a layout (p. 158). This
means that for dotted or dashed borders, the background won??™t be visible through
the spaces within the border. When the element doesn??™t have a layout, the
background will extend under the borders.
When dotted borders are specified as the border-style, and the border??™s width is
only 1px, Internet Explorer for Windows versions up to and including 6 will display
the borders as dashed instead of dotted. At a width of 2px and above, the dotted
borders will display correctly. This glitch was fixed in Internet Explorer Version 7
for cases when all four sides are set to 1px.
Pages:
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370