[thelist] CSS from within Javascript

Aylard JA (James) jaylard at equilon.com
Fri Aug 4 11:39:12 CDT 2000


Ed,
> I'm quickly finding that calls to CSS from within JavaScript tags are
> ineffective.
> For example, the JavaScript command below:
> 
>         document.write("<span" + " " + "id=&quot;date&quot;>");

	This isn't a CSS issue, but a scripting issue. Try doing your
document.write like this:

document.write("<span id='date'>") ;

	or

document.write("<span id=\"date\">") ;

	If you are having additional problems getting your CSS to work, pls
post a description of the problem and a snippet of relevant code.

hth,
James Aylard
jaylard at equilon.com




More information about the thelist mailing list