margin property can have four values, such as
5px 5px 2px 1px to specify the top, right, bottom and left margins, respectively.
There are some components where setting even pixel-based width and height values have no effect. This is rare for layout components but typical for input and output components. For example, an input or output component uses a "span" element when an
InlineStyle property is provided. Span elements do not respect dimensions (even pixel dimensions). You can make a span honor pixel dimensions and percentage widths by adding
display: block; to the
Copyright © 1997, 2009, Oracle. All rights reserved.