# Javascript Editing CSS on one document

**URL:** <https://forum.kirupa.com/t/javascript-editing-css-on-one-document/100635>\
**Category:** Uncategorized\
**Created:** [January 31, 2004, 9:18pm UTC](https://forum.kirupa.com/t/javascript-editing-css-on-one-document/100635 "2004-01-31T21:18:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [January 31, 2004, 9:18pm UTC](https://forum.kirupa.com/t/javascript-editing-css-on-one-document/100635/1 "2004-01-31T21:18:48Z")

</div>

Ok, I am not sure if this is possible, but what I am trying to do is make the javascript tell some things to be visible if the page is being viewed with one css doc and different things visible with a different css doc. I have a link to the code below.

[Well, a link to it anyway.](http://bombingpixels.com/default_source_code.asp)

How can I set the body tag code stuff to only happen in the green css document? By the way, this is at [Bombingpixels.com](http://bombingpixels.com)
