Add an attribute to the tag <body>?

Discussion in 'ASP .Net' started by Mark Rae, Oct 31, 2006.

  1. Mark Rae

    Mark Rae Guest

    "Gustavo Arriola" <> wrote in message
    news:%23fHcJdS$...

    > In ASP.NET 2.0:
    > How I add an attribute to the tag <body> in Codebehind?


    Same as with any other HTML tag...

    <body id="MyBodyTag" runat="server>

    MyBodyTag.Attributes.Add(......, ......);
     
    Mark Rae, Oct 31, 2006
    #1
    1. Advertising

  2. Hello!

    In ASP.NET 2.0:
    How I add an attribute to the tag <body> in Codebehind?

    From already thank you very much!
    Gustavo Arriola
     
    Gustavo Arriola, Oct 31, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shruds
    Replies:
    1
    Views:
    853
    John C. Bollinger
    Jan 27, 2006
  2. _Who
    Replies:
    4
    Views:
    707
  3. jdi
    Replies:
    2
    Views:
    131
  4. Replies:
    2
    Views:
    221
  5. Replies:
    7
    Views:
    163
    -Lost
    Apr 7, 2007
Loading...

Share This Page