Version 1 (modified by celso, 6 years ago)

--

SAPO::Utility.CSS->set

Set CSS styles in the page using the JSON-CSS proposal as described in  http://www.featureblend.com/css-json.html

Syntax

SAPO.Utility.CSS.set(json[,cssid])

Compatibility

All browsersYes

Depends

Input Parameters

  • (json) css : CSS definitions
  • (string) cssID : optional ID for this CSS section. Important if you set the page's CSS more than once.

Sample

 http://js.sapo.pt/SAPO/Utility/CSS/sample/css.html


Community feedback

Error: Failed to load processor AddComment
No macro or processor named 'AddComment' found