Hi there,
That wouldn't work. With that code, the CSS in the head control gets overwritten with custom content from content pages that have a Content control for the head ContentPlaceholder.
But my solution wouldn't work either. I was hoping you could embed a ContentPlaceHolder in a meta tag like this:
<meta name="keywords" content='<asp:ContentPlaceHolder id="keywords" runat="server" />' />
Obviously, that doesn't make any sense as the CPH would just be seen as literal content. Not sure why I thought that would work. Must be the warm weather here ;-)
So, I guess your best solution is to use the head CPH as it's added by default to the master page and add the meta tags for each content page to that control.
Hope this helps, and sorry for sending you in the wrong direction.
Cheers,
Imar
|