Prev | Current Page 335 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

Otherwise, no border will show and the
border-width will be reset to zero. 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
227 Box Properties
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.


Pages:
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347