Clear Up
SharpKit Reference

HtmlElementStyle.whiteSpace Property

Sets or retrieves a value that indicates whether lines are automatically broken inside the object. String that specifies or receives one of the following values. normal Default. Lines of text break automatically. Content wraps to the next line if it exceeds the width of the object. nowrap Line breaks are suppressed. Content does not wrap to the next line. pre Line breaks and other whitespace are preserved. This possible value is supported in Microsoft Internet Explorer 6 and later when the !DOCTYPE declaration specifies standards-compliant mode. When the !DOCTYPE declaration does not specify standards-compliant mode, you can retrieve this value, but it does not affect rendering—it functions like the normal value. pre-line (in IE8) Sequences of line breaks are preserved. pre-wrap (in IE8) Sequences of line breaks are collapsed.

Namespace: SharpKit.Html4

Class: HtmlElementStyle


public JsString whiteSpace { get; set; }

Return Value

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