View Full Version : Where?


glittergurl
07-11-2003, 06:15 PM
Where in a Java script code to I put my CSS code???
<HTML>
<HEAD>
<TITLE>Title</TITLE>
***I'd put it here right?***
<script language="JavaScript"> <!--
***Or, do I put it here?***

Thank you so, much!

-Tara

Dude128
07-11-2003, 06:17 PM
you would never put CSS inside a JavaScript code block. it doesn't matter whether the CSS is before or after the JavaScript, though, as long as it is somewhere in the head section

MaGiCSuN
07-11-2003, 06:17 PM
in your example put it right after <title> because in the second example you put it INSIDE the javascript. the css should be apart from your javascript.

Edit: lol posted at the same time. Oh well, both replies are the same lol

Love,
Mirna