Open.Core.Html.SpanIndent C# (CSharp) Method

SpanIndent() public static method

Creates a SPAN element with a magin-left set to the specified pixels (useful for indenting text).
public static SpanIndent ( int pixels ) : string
pixels int The number of pixels to indent.
return string
        public static string SpanIndent(int pixels) { return string.Format("<span style='margin-left:{0}px;'></span>", pixels); }