As an example, Internet Explorer versions (up to and including 7) size thin, medium,
and thick borders at 2px, 4px, and 6px respectively, while Firefox 2.0 sizes them
at 1px, 3px, and 5px.
Compatibility
SPEC
version initial inherited
CSS1 medium NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
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
233 Box Properties
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.
Pages:
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356