Themes, Pages, and Master Pages

Discussion in 'ASP .Net' started by MS News, Feb 15, 2006.

  1. MS News

    MS News Guest

    I am trying to understand some basic things about themes.

    Why cannot I attach a theme to a master page?

    When I define a CSS within a theme and then attach the theme to a page it
    seems that I cannot use the CSS definitions directly on that page. Is this
    correct? If so, why?

    Thanks

    Jay
     
    MS News, Feb 15, 2006
    #1
    1. Advertisements

  2. MS News

    Guest Guest

    in the web.config in the <pages> tag add a styleSheetTheme attribute with the
    name of your theme. If that isn't what you want to do, you can always
    temporarily drop the CSS link directly into the master page for editing and
    then remove it when done (unless of course you want it directly on that page).
     
    Guest, Feb 15, 2006
    #2
    1. Advertisements

  3. MS News

    MS News Guest

    I messed up and see my mistake. Everything works as expected and very
    nicely.

    Jay
     
    MS News, Feb 15, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.