PeachBrackets

PeachBrackets.Building.DocumentNode

DocumentNode.SetStyle(string, string) Method

Sets a CSS property on the node, as a style declaration would.

public void SetStyle(string property, string value);

Parameters

property System.String

the property name, such as background-color or padding-left

value System.String

the property’s value in CSS syntax; one the property does not accept is ignored, as in a style sheet