ASP.NET Calendar CellSpacingProperty


Calendar 控件Calendar Control

Definition and Usage

The CellSpacing property is used to set the spacing between calendar cells.

Note:This property cannot be displayed correctly in the FireFox browser.

Syntax

<asp:Calendar CellSpacing="pixels" runat="server" />

Property Description
pixels Specifies the spacing between calendar cells, in pixels.


Example

The following example shows a calendar with CellSpacing of 15:

<form runat="server">
<asp:Calendar id="cal1" runat="server" CellSpacing="15" />
</form>

Demo Example »

Calendar 控件Calendar Control Other Extensions