Return to Snippet

Revision: 3913
at October 3, 2007 12:49 by cori

Initial Code
HtmlLink cssLink = new HtmlLink();
cssLink.Href = "%CSS FILE URL HERE%";
cssLink.Attributes.Add( "rel", "stylesheet" );
cssLink.Attributes.Add("type", "text/css");

Initial URL

Initial Description
work from content pages or submaster pages

Initial Title
adding CSS <link> to a C# Master page from a child code-behind page

Initial Tags
css, link, page

Initial Language