Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Posts Tagged ‘MasterPage

element style cannot be nested in div–ASP.NET Masterpage

leave a comment »

 

You can create another Content Place Holder in master page

<head>
<asp:ContentPlaceHolder ID="Head" runat="server">
</asp:ContentPlaceHolder>
</head>

Then in pages, you need to put two content place holder and put your stylesheet and script in Head place holder.

Simple!!!

Written by Manish

December 4, 2010 at 2:42 pm