HTMLStyleBodyByDefault Method

Default style for the body.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string StyleBodyByDefault(
	string font = "Segoe UI",
	string fontSize = "12",
	string margin = "",
	string padding = "5px;",
	string customStyle = ""
)

Parameters

font  String  (Optional)
Syntax: family-name|generic-family|initial|inherit (example: "Arial, Helvetica, sans-serif")
fontSize  String  (Optional)
Syntax: medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit (example: "15px")
margin  String  (Optional)
Syntax: top right bottom left| top-bottom right-left (example: "20px 10px 0px 10px")
padding  String  (Optional)
Syntax: top right bottom left| top-bottom right-left (example: "20px 10px 0px 10px")
customStyle  String  (Optional)
Syntax: attribute; attribute; ... (example: "border:2px solid Tomato; width: 100px;""

Return Value

String
String with the defined style body by default (p.e. "font-family:Segoe UI; font-size:12;").

See Also