Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Rg:Style sheet in Child master page

Rg:Style sheet in Child master page

Scheduled Pinned Locked Moved ASP.NET
cssquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nzsatish
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • N nzsatish

      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

      S Offline
      S Offline
      Saqib Raja
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • S Saqib Raja

        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

        N Offline
        N Offline
        nzsatish
        wrote on last edited by
        #3

        Hi Saqib, thanxs for your reply... can you please help me how to use ancher Tab and Script tags in content page regards Satish </x-turndown>

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups