Export (0) Print
Expand All

text-anchor property

Aligns a string of text relative to the specified point.

This property is read/write.

Scalable Vector Graphics: Text, Section 10.9.1Internet Explorer 10

Syntax

text-anchor: start | middle | end | inherit

Property values

One of the following values:

start

The start of the text is aligned at the initial text position.

middle

The geometric middle of the text is aligned at the initial text position.

end

The end of the text is aligned at the initial text position.

inherit

Use the computed value of this property from an ancestor element.

CSS information

Applies Totext content elements
Mediavisual
Inherited1
Initial Valuestart

Standards information

Remarks

Each text element has an initial current text position, defined as a point in the user coordinate system.

See also

CSSStyleDeclaration
SVGTextElement
SVGTextPathElement
SVGTextPositioningElement
SVGTSpanElement

 

 

Show:
© 2014 Microsoft