Prev | Current Page 328 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

Borders are placed on top of
the element??™s background.
Value
none none means no border will
show, and the computed
border-width is zero.
Example
This style rule assigns a solid border to the
top edge of paragraphs within the element
with ID "example":
#example p {
border-top-style: solid;
}
hidden hidden has the same meaning as none, except when it refers to table
borders in cases where two cells share a border, and the table cells have
collapsed borders (border-collapse:collapse;). The value hidden
ensures that no border is drawn, since hidden takes precedence over all
other border styles. If none had been used for one border in the cell, the
border would still be drawn, as the adjacent cell??™s border would take
precedence. See Table Formatting (p. 168) for more information.
dotted dotted implements the border as a series of dots.
dashed dashed implements the border as a series of dashes.
solid solid implements the border as a solid line.
double double implements the border as two solid lines.


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