Prev | Current Page 348 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

The
algorithms that define the relationship between the colors used to achieve an effect
(for example, groove, ridge, inset, and outset) are not explicitly defined in the
235 Box Properties
CSS specifications, so the colors may vary between user agents. In CSS2.1, the
three-dimensional border styles (groove, ridge, inset, and outset) depend on the
corresponding border-color, rather than on color.
Box Properties border-bottom-color
border-bottom-color: { color | transparent |
inherit } ;
The property border-bottom-color sets
the color for the bottom border of an
element.
Borders are placed on top of the
element??™s background.
Value
This property takes any valid CSS color
value or color keyword (p. 33). The
initial value for this property is the value of the color property for the element.
Example
This style rule assigns a black color to the
bottom border of paragraphs within the
element with ID "example":
#example p {
border-bottom-color: #000;
border-bottom-style: solid;
}
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.


Pages:
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360