Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Master Page style

0 views
Skip to first unread message

Arne Garvander

unread,
Apr 30, 2008, 10:22:08 AM4/30/08
to
I have a web page which use a master page. I would like to post a style
element to the master page header section how do I do that?
--
Arne Garvander
Certified Geek
Professional Data Dude

Madhur

unread,
May 1, 2008, 1:15:11 AM5/1/08
to
Page.Master.Header.Controls.Add(new LiteralControl(" your style text"));

--
Madhur
"Arne Garvander" <ArneGa...@discussions.microsoft.com> wrote in message
news:3F3999E1-131F-45A1...@microsoft.com...

clintonG

unread,
Apr 30, 2008, 8:53:17 PM4/30/08
to
Put a ContentPlaceHolder into the head element of the MasterPage or put
<head id="headElement" runat="server> and reference it directly. There are
specific classes for writing into the head. Read this for some more tips
http://markitup.com/Posts/Post.aspx?postId=5338c901-c910-4af0-bbca-6ae0067df759

"Arne Garvander" <ArneGa...@discussions.microsoft.com> wrote in message
news:3F3999E1-131F-45A1...@microsoft.com...

0 new messages