Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

Dev:SetStylesheet

TiddlyWiki Community Wiki

Jump to: navigation, search

The global function setStylesheet adds a custom stylesheet to the document. This replaces any stylesheet already set with the same DOM id with this function. There are two parameters to this function:

  • a string containing CSS source code
  • a DOM id to assign to the new stylesheet

This function does not return any value.

Personal tools