Common attributes
Alignment
Alignment attributes determine the horizontal alignment of a element in the page.
Only one such attribute should be used; if several are used, the last one will apply.
The alignment attributes only apply to certain elements.
attribute | description |
---|---|
center | Aligns the element horizontally in the center of the page. |
left | Aligns the element horizontally at the left of the page. |
right | Aligns the element horizontally at the right of the page. |
Dimensions
Dimensions attributes specify the size of an element on the page. Dimensions attributes only apply to selected elements.
attribute | description |
---|---|
h:... h=... height:... height=... | Specifies the height of the element. The value should be expressed in units, e.g. 100px , 50% . All CSS-valid values are acceptable. |
w:... w=... width:... width=... | Specifies the width of the element. The value should be expressed in units, e.g. 100px , 50% . All CSS-valid values are acceptable. |
widthxheight | Specifies the width and height of the element. width and height must be expressed as numerical values without a unit. The unit is assumed to be pixels. This syntax is equivalent to w:width h:height . The h: and w: attributes, if also present, will take precedence. |
Title
This page was modified on 14 Jan 2016 at 12:08 PM.
Source
====== Common attributes ======
===== Alignment =====
Alignment attributes determine the horizontal alignment of a element in the page.
Only one such attribute should be used; if several are used, the last one will apply.
The alignment attributes only apply to certain elements.
^ attribute ^ description ^
| ''center'' | Aligns the element horizontally in the center of the page. |
| ''left'' | Aligns the element horizontally at the left of the page. |
| ''right'' | Aligns the element horizontally at the right of the page. |
===== Dimensions =====
Dimensions attributes specify the size of an element on the page. Dimensions attributes only apply to selected elements.
^ attribute ^ description ^
| ''h:...'' ''h=...'' ''height:...'' ''height=...'' | Specifies the height of the element. The value should be expressed in units, e.g. ''100px'', ''50%''. All CSS-valid values are acceptable. |
| ''w:...'' ''w=...'' ''width:...'' ''width=...'' | Specifies the width of the element. The value should be expressed in units, e.g. ''100px'', ''50%''. All CSS-valid values are acceptable. |
| ''//width//x//height//'' | Specifies the width and height of the element. ''//width//'' and ''//height//'' must be expressed as numerical values without a unit. The unit is assumed to be pixels. This syntax is equivalent to ''w://width// h://height//''. The ''h:'' and ''w:'' attributes, if also present, will take precedence. |
===== Title =====