Manish Pansiniya's Blog

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

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!!!

Advertisements

Written by Manish

December 4, 2010 at 2:42 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: