CalHTMLPane v2.0 Guide | Example Tag Usage

2: Forms

> Tag: BUTTON

> > Synopsis: The BUTTON tag can contain HTML content, although it cannot contain other form components, framesets, or hyperlinks. Within the threedee and flush styles the marginwidth and marginheight attributes determine the button's insets (the gap between the button's border and its content). The default marginwidth is 5 pixels, default marginheight 2 pixels. This tag takes the type attribute. The default type is submit. Note that to get the spacing and word-wrap you desire within the button it is often advisable to format content using tables.
> > Example:
> > <BUTTON style=lookandfeel bgcolor=ccaacc> `` <IMG src="images/gift.gif" align=left> `` <DIV align=center>Click<BR>here for<BR clear=left>your special<BR> `` <FONT color=red><B><I>FREE GIFT!!</I></B></FONT></DIV> </BUTTON> <BUTTON style=threedee bgcolor=palegreen> `` <IMG src="images/gift.gif" align=left> `` <DIV align=center>Click<BR>here for<BR clear=left>your special<BR> `` <FONT color=red><B><I>FREE GIFT!!</I></B></FONT></DIV> </BUTTON> <BUTTON style=flush bgcolor=aaaaee> `` <IMG src="images/gift.gif" align=left> `` <DIV align=center>Click<BR>here for<BR clear=left>your special<BR> `` <FONT color=yellow><B><I>FREE GIFT!!</I></B></FONT></DIV> </BUTTON>
> > Rendering:
> > lookandfeel | threedee | flush
> > --- | --- | ---

Guide Index | JavaDoc | Previous | Next