Difference between revisions of "Stylesheet Property"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | Object's CSS style attributes. Read/write. | + | Object's CSS style attributes. Synonym of [[CSS Property|css]]. Read/write. |
<pre> | <pre> | ||
Line 16: | Line 16: | ||
// | // | ||
namespace custom1 | namespace custom1 | ||
− | |||
define class page1_section1 as section | define class page1_section1 as section | ||
enddefine | enddefine | ||
Line 33: | Line 32: | ||
return page1_section1 | return page1_section1 | ||
</code> | </code> | ||
+ | |||
+ | ==See Also== | ||
+ | [[CSS]] | ||
[[Category:Properties]] | [[Category:Properties]] | ||
[[Category:Common Properties]] | [[Category:Common Properties]] |
Latest revision as of 05:23, 6 April 2018
Object's CSS style attributes. Synonym of css. Read/write.
cStylesheet = ob.Stylesheet ob.Stylesheet = cStylesheet
cStylesheet
String of semi-colon (;) separated list of CSS style attributes.
Example
// // Lianja custom section for page "page1" section "section1" // namespace custom1 define class page1_section1 as section enddefine proc page1_section1 page1_section1 = createobject("page1_section1") page1_section1.addobject("textbox1", "Textbox") textbox1.value = "With Stylesheet" textbox1.stylesheet = "color: rgb(127,0,63);background-color: rgb(255, 255, 241); selection-color:" +; "white; selection-background-color: rgb(191, 31, 127); border: 2px groove gray; border-radius:" +; "10px; padding: 2px 4px;" page1_section1.addobject("textbox2", "Textbox") textbox2.value = "Without Stylesheet" return page1_section1