Controlling elements of class by use of form in HTML
Posted on 2004-10-14
I need to be able to allow user to control the look of a page for reasons of accessibility. I have a form and input buttons in html but whilst
onclick="document.body.style.fontweight='bold" (and similar)
works for the whole page I only want to give the user the opportunity to change text in one div with a CSS class name of ".caps". I have tried many things without success.
(I can't use external stylesheets because of clashes with other elements in xhtml+smil. The solution should err on the side of simplicity as its needs to be fed back into xsl sheet))
thanks in anticipation