Sun Java Studio Creator 2 – Online Help
 

Style Editor: Margin Panel

See Also

This panel of the the Style Editor enables you to add margin- and padding-related cascading style sheet (CSS) declarations to the style property of a JavaServer Faces component. The declarations you add to the style property override corresponding CSS rules defined in the page's CSS file.

The Margin panel is a grid that enables you to set the margin and padding around the entire component (All), or separately for the top, the bottom, the left side, or the right side. The CSS properties that can be set when you chose these options are margin, margin-top, margin-bottom, margin-left, margin-right, padding, padding-top, padding-bottom, padding-left, and padding-right.

Here's what margin and padding do:

See Also
About Components
Common Component Properties
Using Cascading Style Sheets
 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close