specifying media type for css files

Aug 23, 2010 at 9:28 PM

Is it possible to have combres specify media="print" in the links it generates?

Aug 24, 2010 at 11:47 AM

Hi! Yes, it is possible.  See WebExtension.CombresLink(string setName, object htmlAttributes) (or the equivalent method in UrlHelper if you use MVC). For example: WebExtension.CombresLink("myset", new {media = print});

Aug 24, 2010 at 1:45 PM

oh perfect! thanks! i was looking at the options for the xml and couldn't find it.  i guess that's what i get for looking in the wrong place :) 

Thanks very much!