Prev | Current Page 326 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

33). The initial
value for this property is the value of the color property for the element.
The value transparent allows the border to be transparent, but it will still occupy
the space set by the border-width property and allow the background of the element
to show through the transparent border.
Note that a border will only be visible as long as a border-style has been set. The
default for border-style is none, which means that no border will display, and the
border-width will be reset to zero.
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
Box Properties
221 Box Properties
Internet Explorer for Windows versions up to and including 6 do not support
transparent borders.
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.


Pages:
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338