I modified the code.....but still not working.............
link1.Attributes.Add("rel", "stylesheet");
link1.Attributes.Add("type", "text/css");
how to make sure my dynamic style sheet is setting the correct content
type....its a simple asp page...............
link1.Attributes.Add("type", "text/css"); --> i thought this takes care of
setting the correct content type..............
> > I am using a asp page to dynamically create a stylesheet
> >
[quoted text clipped - 64 lines]
> And make sure that your dynamic style sheet is setting the right
> content-type.
Mufaka - 06 Mar 2008 17:40 GMT
That tells the browser that the link content type should be text/css. I
was referring to your dynamic css page. You may need something like
Response.ContentType = "text/css" in that page.
Beyond that, I am not sure why it wouldn't work. You can try pointing
your web browser at your dynamic css page and see if what you get is
what you expect.
> I modified the code.....but still not working.............
>
[quoted text clipped - 6 lines]
> link1.Attributes.Add("type", "text/css"); --> i thought this takes care of
> setting the correct content type..............
<snip>