newbie to css

liunx

Guest
what is the difference using
"<!-- -->"
inside the this code
"<style type="text/css">"
and not?how do you mean?The <!-- --> is a sort of comment. Older browsers that don't understand CSS are tricked into view it all as a comment, thus it's ignored. It doesn't have to be used (I don't think there are very many people using those old browsers anymore). But for some (me!) it's habit, I guess...


Edit: Means like this:

<style type="text/css">
<!--
...css here...
-->
</style>okies, thanks. coa i already tried both
 
Back
Top