This project is read-only.

Internal CSS [imported from GotDotNet]

Jun 21, 2007 at 7:52 AM

User Posts:
Internal CSS Posted on: 11/05/2006 09:29:11

The style sheet in the handler doesn't seem to have any effect on the layout? What am I missing?


User Posts:
Internal CSS Posted on: 05/23/2007 14:59:43

Not sure what you mean. It has effect if you're using it in handler mode, not in control mode. In that case you provide your own stylesheet at the page level.

Dec 8, 2007 at 4:48 AM
public static void GenerateCssResponse(HttpResponse response)
response.ContentType = "text/css"; /////////// <<<<<<<<<< Add this to fix your problem