Clear Up
SharpKit Reference

HtmlElementStyle.fontSize Property

Sets or retrieves a value that indicates the font size used for text in the object. value = String that specifies or receives one of the following values. absolute-size Set of keywords that indicate predefined font sizes. Named font sizes scale according to the user's font setting preferences. Possible values include the following: xx-small, x-small, small, medium, large, x-large, xx-large. relative-size Set of keywords that are interpreted as relative to the font size of the parent object. Possible values include the following: larger, smaller. length Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). For more information about the supported length units, see the CSS Length Units Reference. percentage Integer, followed by a percent (%). The value is a percentage of the parent object's font size. In Microsoft Internet Explorer 3.0, the value is calculated as a percentage of the default font size. Default - medium (of the absolute-size set).

Namespace: SharpKit.Html4

Class: HtmlElementStyle


public JsString fontSize { get; set; }

Return Value

Type: SharpKit.JavaScript.JsString
© Copyright 2005-2011 SharpKit. All rights reserved.