Master Page style

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?=

    Master Page style

    I have a web page which use a master page. I would like to post a style
    element to the master page header section how do I do that?
    --
    Arne Garvander
    Certified Geek
    Professional Data Dude
  • Madhur

    #2
    Re: Master Page style

    Page.Master.Hea der.Controls.Ad d(new LiteralControl( " your style text"));

    --
    Madhur
    "Arne Garvander" <ArneGarvander@ discussions.mic rosoft.comwrote in message
    news:3F3999E1-131F-45A1-A903-A82CB6E28B5F@mi crosoft.com...
    >I have a web page which use a master page. I would like to post a style
    element to the master page header section how do I do that?
    --
    Arne Garvander
    Certified Geek
    Professional Data Dude

    Comment

    • clintonG

      #3
      Re: Master Page style

      Put a ContentPlaceHol der into the head element of the MasterPage or put
      <head id="headElement " runat="serveran d reference it directly. There are
      specific classes for writing into the head. Read this for some more tips


      "Arne Garvander" <ArneGarvander@ discussions.mic rosoft.comwrote in message
      news:3F3999E1-131F-45A1-A903-A82CB6E28B5F@mi crosoft.com...
      >I have a web page which use a master page. I would like to post a style
      element to the master page header section how do I do that?
      --
      Arne Garvander
      Certified Geek
      Professional Data Dude

      Comment

      Working...