pardicity3
12-27-2002, 10:15 PM
Hey,
I am getting more and more into actually reading about CSS and javascript rather than just using code from tutorials that I don't necessarily understand. I have figured out a lot of stuff, but I have become stumped over the difference between currentStyle and Style. I have read up on currentStyle over at MSDN (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/currentstyle.asp ) but I am still confused.
I guess I am trying to figure out if I specify CSS in the head section of my page, i.e.:
<head>
<style type="text/css">
<!--
.content {font-color: #990033;}
-->
</style>
</head>
What is currentStyle going to return compared to what just flat out style will return?
I am getting more and more into actually reading about CSS and javascript rather than just using code from tutorials that I don't necessarily understand. I have figured out a lot of stuff, but I have become stumped over the difference between currentStyle and Style. I have read up on currentStyle over at MSDN (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/currentstyle.asp ) but I am still confused.
I guess I am trying to figure out if I specify CSS in the head section of my page, i.e.:
<head>
<style type="text/css">
<!--
.content {font-color: #990033;}
-->
</style>
</head>
What is currentStyle going to return compared to what just flat out style will return?