Rg:Style sheet in Child master page
-
Hi Every one, i am trying to use style sheet in content page which is using my master page... it is not applying syles to Grid.. i declared tag for style sheet... in Master page could u please answer my question Thanks Satish
If master page contains the style definition for the grid in app_theme folder then your style defined in page can't take precedence over skin/style in theme folder. You can apply a theme as a style sheet theme by setting the page's StyleSheetTheme property. In this case, local page settings take precedence over those defined in the theme when the setting is defined in both places. This is the model used by cascading style sheets. You might apply a theme as a style sheet theme if you want to be able to set the properties of individual controls on the page while still applying a theme for an overall look. You can add one or more .css files into a theme directory. ASP.NET will automatically apply all of a theme’s style sheets into a page by injecting a element for each .css into the header of a page. Your page must have runat=”server” in the Regards, Saqib Umar Sr. Software Engineer
-
If master page contains the style definition for the grid in app_theme folder then your style defined in page can't take precedence over skin/style in theme folder. You can apply a theme as a style sheet theme by setting the page's StyleSheetTheme property. In this case, local page settings take precedence over those defined in the theme when the setting is defined in both places. This is the model used by cascading style sheets. You might apply a theme as a style sheet theme if you want to be able to set the properties of individual controls on the page while still applying a theme for an overall look. You can add one or more .css files into a theme directory. ASP.NET will automatically apply all of a theme’s style sheets into a page by injecting a element for each .css into the header of a page. Your page must have runat=”server” in the Regards, Saqib Umar Sr. Software Engineer