dynamic stylesheet using textContents