# Border element

Specifies the properties of a particular border within the Borders element.

## Usage

    <Border
    	Position="PositionType"
    	Color="xsd:string"
    	LineStyle="xsd:string"
    	Weight="xsd:double"
    />

## Element Information

Element type | BorderType
Namespace | urn:schemas-microsoft-com:office:spreadsheet
Schema name | XML Spreadsheet 2002

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
Borders | Defines the border properties to use for cells to which the defined style is applied.

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Position | PositionType | required | Specifies one of the six possible borders to use for cells. | Left Top Right Bottom DiagonalLeft DiagonalRight
Color | xsd:string | optional | Specifies the color of a border. | See external namespace.
LineStyle | Anonymous | optional | Specifies the style of a border. | None Continuous Dash Dot DashDot DashDotDot SlantDashDot Double
Weight | Anonymous | optional | Specifies the weight (or thickness) in points of a border. | maxInclusive = 3.5

## Definition

    <xsd:element name="Border" type="BorderType" minOccurs="0" maxOccurs="6" >
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp