Asp.Net MasterPage - Change WebContentForm body element - CssClass

Posted by Melursus on Stack Overflow See other posts from Stack Overflow or by Melursus
Published on 2010-05-28T19:06:18Z Indexed on 2010/05/28 19:12 UTC
Read the original article Hit count: 264

What it's the easiest way to change the css class name of a WebContentForm that use a MasterPage ?

Example:

  • MasterPage : <body>...</body>
  • Index.aspx : I will like the rendered page to look like <body class="myClass">...</body>
  • Other.aspx : <body>...</body>

© Stack Overflow or respective owner

Related posts about master-pages

Related posts about asp.net-3.5