XML technologies / ePUB / CSS essentials / Important CSS properties / Borders
(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)
The table lists the main CSS properties for borders, with possible values and examples.
border-style | Border style Defines border style. Main values: 1) 2) 3) 4) 5) |
Values |
|
Example |
|
border-top-style | Border style Sets an individual border style; see |
Values |
|
Example | see |
border-top-width | Border width Sets an individual border width; see |
Values |
|
Example | see |
Border width Sets border width with CSS units or these values; readers may convert measurements into them: 1) 2) 3) | |
Values |
|
Example |
|
border-color | Border color Sets border color using RGB or one of 16 VGA names. |
Values |
|
Example |
|
border-top-color | Border color Sets an individual border color; see |
Values |
|
Example | see |
border-top | Border formatting Sets an individual border; see |
Values |
|
Example | see |
border | Border formatting Shorthand for all |
Values |
|
Example |
|
Copyright © mitp 2011
You may print the online version for your private use.
Otherwise, this chapter from “E-Books mit ePUB” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Verlagsgruppe Hüthig Jehle Rehm GmbH, Im Weiher 10, 69121 Heidelberg, kundenbetreuung(at)hjr-verlag.de
back to top