<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Sorry I didn't Nick; <BR>
But I did make the sugestion of what domain manipulation I'm talking<BR>
about with a simple&nbsp;example like: this.style.width="something" and I <BR>
think its enough to understand&nbsp; that we are talkin of js manipulation <BR>
on dom elements which will not affect the stylesheet in any way.<BR>
&nbsp;<BR>
The example method is also more secure and more certain that the <BR>
change you've made will get drawn for sure! Since it deploys these <BR>
changes inline making sure it&nbsp;makes it over all&nbsp;existing preceeding<BR>
declarations. I belive it is practicall. And yes, it is impossible to affect <BR>
the style body itself with that method. <BR>
[document.getElementById('anyElment').style.color=...etc]<BR>
&nbsp;<BR>
Since we are not arguing, I believe that discusing the manipulation <BR>
the style&nbsp;declarations could be benefituary for people in discusion. <BR>
I myself, think that manipulating the style&nbsp;body itself is a bit unpractical,<BR>
still not very widely supported and in most casses unnecessary. <BR>
&nbsp;<BR>
The only casse, when I think it will come handy, is the casse when you<BR>
are forced to change&nbsp;some class style declarations that will affect all <BR>
the elements belonging to that class selector. This is however very rare <BR>
situation. And beyond that, you'll have to make sure somehow that <BR>
the browser will really reflect these changes as and when&nbsp;expected. <BR>
(As I'm not very familiar with how&nbsp;will some certain&nbsp;browser&nbsp;<BR>
handle these changes in the body of the style element).<BR>
&nbsp;<BR>
So in my point of view:<BR>
Even in the casse we are discussing, it is better to wallk the DOM and <BR>
apply a different class to these elements allready declared in a style<BR>
than to mess with the stylesheet itself.<BR>
<BR>Regards.<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Troy III <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; From: nick@customdesigns.ca<BR>&gt; To: javascript@latech.edu<BR>&gt; Subject: Re: [Javascript] dynamically reading/changing values in a css class from javascript<BR>&gt; Date: Sat, 16 Jun 2007 01:13:42 -0600<BR>&gt; CC: <BR>&gt; <BR>&gt; On Friday 15 June 2007 16:53, Troy III Ajnej wrote:<BR>&gt; &gt; Thank you Hassan,<BR>&gt; &gt; but I'm not interested te google anything since you could have quoted<BR>&gt; &gt; some of what you are saying.<BR>&gt; &gt;<BR>&gt; &gt; All the truths of the world have a limited validity. Because the truth<BR>&gt; &gt; resides in a certain domain.<BR>&gt; &gt; Even the main law of nature,the preservance of matter (mass and energy)<BR>&gt; &gt; is untrue if a particle falls inside a space of less than 10e-13m in<BR>&gt; &gt; diameter. That particle will disapear forever.<BR>&gt; &gt;<BR>&gt; &gt; I was tallking of a different domain...<BR>&gt; <BR>&gt; but you did not specify that in your original message, hence the response was <BR>&gt; valid.<BR>&gt; <BR>&gt; &gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR>&gt; &gt; Troy III progressive art<BR>&gt; &gt; enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>&gt; &gt;<BR>&gt; &gt; &gt; Date: Fri, 15 Jun 2007 06:50:07 -0700&gt; From: hassan@webtuitive.com&gt; To:<BR>&gt; &gt; &gt; javascript@LaTech.edu&gt; Subject: Re: [Javascript] dynamically<BR>&gt; &gt; &gt; reading/changing values in a css class from javascript&gt; &gt; &gt; &gt; it is<BR>&gt; &gt; &gt; impossible to change the CSS itself. &gt; &gt; Not true: google<BR>&gt; &gt; &gt; 'document.styleSheets' for details...&gt; &gt; -- &gt; Hassan Schroeder<BR>&gt; &gt; &gt; ----------------------------- hassan@webtuitive.com&gt; Webtuitive Design<BR>&gt; &gt; &gt; === (+1) 408-938-0567 === http://webtuitive.com&gt; opinion:<BR>&gt; &gt; &gt; webtuitive.blogspot.com&gt; &gt; dream. code.&gt; &gt; &gt;<BR>&gt; &gt; &gt; _______________________________________________&gt; Javascript mailing list&gt;<BR>&gt; &gt; &gt; Javascript@LaTech.edu&gt;<BR>&gt; &gt; &gt; https://lists.LaTech.edu/mailman/listinfo/javascript<BR>&gt; &gt;<BR>&gt; &gt; _________________________________________________________________<BR>&gt; &gt; Live Earth is coming. Learn more about the hottest summer event - only on<BR>&gt; &gt; MSN. http://liveearth.msn.com?source=msntaglineliveearthwlm<BR>&gt; _______________________________________________<BR>&gt; Javascript mailing list<BR>&gt; Javascript@LaTech.edu<BR>&gt; https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />Hotmail to go? Get your Hotmail, news, sports and much more!   <a href='http://mobile.msn.com' target='_new'>Check out the New MSN Mobile</a></body>
</html>