1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Conditional formatting

Conditional formatting

2 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    17 Jan 2011
    Link to this post
    Hi all,

    What would be the best way to use conditional formatting inside a masterpage?
    How should I refer to the .css file?

    <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="Assets/Css/lt7.css" /><![endif]-->

    Maybe it would be nice to extend the '<sf:CssEmbedControl />' with a conditional formatting option?

    Regards,
    Daniel
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Jan 2011
    Link to this post
    Hi Daniel,

    Sitefinity doesn't have special ways to handle the browser detection. You can use the method that you have described or the .browser definition files from the .NET framework.


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered