XML technologies / ePUB / CSS essentials / Important CSS properties / Positioning
(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 element positioning, with possible values and an example each.
Distance from the left edge Defines the distance from the left edge. Only with | |
Values |
|
Example |
|
Distance from the top edge Specifies the distance from the top edge. | |
Values |
|
Example |
|
Distance from the right edge Specifies the distance from the right edge. | |
Values |
|
Example |
|
Distance from the bottom of the webpage Only with | |
Values |
|
Example |
|
Ends The property 1) 2) 3) | |
Values |
|
Example |
|
max-width | Maximum width Defines an element’s maximum permitted width. |
Values |
|
Example |
|
Maximum height Defines an element’s maximum permitted height. | |
Values |
|
Example |
|
Minimum width Defines an element’s minimum width. | |
Values |
|
Example |
|
Minimum height Defines an element’s minimum height. | |
Values |
|
Example |
|
Positioning Sets element positioning. Main values: 1) 2) 3) | |
Values |
|
Example |
|
Text wrapping around elements Defines wrapped elements. The value | |
Values |
|
Example |
|
Vertical alignment Aligns text according to the setting. Permitted values: 1) 2) 3) 4) 5) 6) 7) 8) | |
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