The line:

<link rel="stylesheet" type="text/css" href="testStyle.css">

should be placed in the head of the document, not in the text of a
layer.

Then try something like:
myLayer.setHTML('<span class="someclass">text</span>')

-- 
Robert Rainwater


On 6/19/2001, 4:11:30 PM EST, Jonah wrote about "[Dynapi-Help] css":

> I am trying to use a style sheet within a DynLayer, and have tried:
>         myLayer.setHTML('<link rel="stylesheet" type="text/css"
> href="testStyle.css">' + someText);
> This works in IE but in Netscape actually prevents the display of all
> content in the layer.
> Anyone know a way to make this work cross-browser?

> Thanks,
> Jonah


> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to