Hi guys,

Using Javascript I know you can create elements on the page, but is it possible to create properties within the Style element?

For instance, I want to create the following CSS style:
  background-color: #9cf;
  border-top: 2pt solid #000;
  border-right: 1pt solid #000;
  border-bottom: 1pt solid #000;
  border-left: 1pt solid #000;
Is this possible using the DOM, or will I need to export all of my styles in one long text string and replace the Style tags innerHTML?

Thanks guys,