Elementname: Box

CSS name: box

Description

Create a rectangular colored area. The area must fit the grid cells.

Allowed attributes: backgroundcolor, bleed, class, height, id, width

Child elements: (none)

Parent elements: Frame, Overlay, PlaceObject, Position, Td, Transformation

Attributes

backgroundcolor (text, optional, CSS property: background-color)

Color of the box.

bleed (text, optional)

Lets the box increase its size by the amount of trim given in the options. Useful for thumb indexes. The contents of the attribute is either »left«, »right«, »top« or »bottom« or any combination such as »top,right«.

class (text, optional)

CSS class for this box.

height (number or length)

Height of the box in grid cells.

id (text, optional)

CSS id for this box.

width (number or length)

Width of the box in grid cells or in absolute values.

Example

<DefineColor name="mygreen" model="cmyk" c="22" m="0" y="55" k="0"/>
<PlaceObject row="10" column="5">
  <Box width="10" height="5" backgroundcolor="mygreen"/>
</PlaceObject>

looks like

See also

DefineColor, PlaceObject

Commands

Version: 2.4.5 | Start page | Command reference | Other language: German