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:
This function does not return any value.
- a string containing CSS source code
- a DOM id to assign to the new stylesheet
This function does not return any value.