Menu

The Body Class

The body class defines the default global css styling setting for all body elements, example, 1 of them.

@BoxModelCSS(Margin_Bottom =@MeasurementCSS(0),
Margin_Top =@MeasurementCSS(0),
Margin_Left =@MeasurementCSS(0),
Margin_Right =@MeasurementCSS(0),
Padding_Bottom =@MeasurementCSS(0),
Padding_Right =@MeasurementCSS(0),
Padding_Left =@MeasurementCSS(0),
Padding_Top =@MeasurementCSS(0),
Outline_Width =@MeasurementCSS(0),
Border_Bottom_Width =@MeasurementCSS(0),
Border_Left_Width =@MeasurementCSS(0),
Border_Right_Width =@MeasurementCSS(0),
Border_Top_Width =@MeasurementCSS(0))
public class Body extends Component<Component, GlobalAttributes,="" IJavascriptComponent,="" IEvent,="" Body="">

All CSS comes with a "$" method to escape the @MeasurementCSS. These fields and methods adopt the default, being pixels.

Posted by Marc Magon 2012-11-02

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.