Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The page Title tag in Master Pages

Status
Not open for further replies.

jupiter8

Programmer
Nov 22, 2002
72
0
0
GB
I have a dynamic site and have rendered the HTML <head> section from the master page. However the content page also renders a title tag. So the first question is can I stop this and the second question is if not, how can I ensure that the title tag is rendered as the first item in the <head> block, currently it is positioned at the bottom.

Also what is the syntax to modfiy the content page title attribute from code behind in vb.net if possible.
 
Ok I've just figured out that if you remove runat="servcer" from the <head> tag in the master page, then it will not render a second title tag from the content page. This suits my own requirements perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top