View/Edit #1874:hstyle

Switch to edit mode.

Name(s): hstyle
1:  "Usage: this:hstyle([2-groups of param/values])"
2:  ""
3:  "this:hstyle({\"BODY\", \"background-color: black; color: yellow\"}, {\"A:link\", \"color: cyan\"}, {\"A:visited\", \"color: red\"}, {\"A:active\", \"color: fuchsia\"})"
4:  ""
5:  "<STYLE> is a method setting html BODY looks. Style only sets HOW the BODY tag"
6:  "should appear, when used. This will NOT put a <BODY> tag in your document."
7:  "That must be done AFTER calling this <STYLE> tag verb. -Wingy"
8:  h = {"<STYLE type=\"text/css\">"}
9:  for how in (args)
10:   h = {@h, how[1] + " { " + how[2] + " }"}
11: endfor
12: h = {@h, "</STYLE>"}
13: return h
14: "Compiled on Thu Feb 28 18:28:31 2002 EST by Wingy (#1163)"
15: "Last modified by Wingy (#9223) on Mon Mar 18 09:52:24 2002 MST."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Wingy (#9223)

You are not logged in.

[home | help | who | search | setup | code]