|
| |
|
|
promolo
Posts: 3 Joined: 9/2/2008 Status: offline
|
adding keywords to content pages - 9/2/2008 18:30:30
Hello all, I'm very new to web development and I would appreciate some help: I'm trying to figure out how to add items such as keyword tags and description tags to content pages that are derived from a master page in Expression Web. It seems that the head is not accesible or editable in the content page code because it is being generated by the masterpage. any help would be much appreciated. EY
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: adding keywords to content pages - 9/3/2008 8:44:57
quote:
It seems that the head is not accesible or editable in the content page code because it is being generated by the masterpage. Hi and Welcome to OutFront Sure you can. I don't use EW but Visual Studio does the same thing. 1. Make sure in the Master Page the the head has a runat=server tag like this: <head runat="server"> 2. Then in your code do something like this: ... Dim MetaDescription As New HtmlMeta MetaDescription.Name = "description" MetaDescription.Content = "My page description here" Page.Header.Controls.Add(MetaDescription) ... That help any?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
promolo
Posts: 3 Joined: 9/2/2008 Status: offline
|
RE: adding keywords to content pages - 9/3/2008 9:01:52
Thanks for the reply rdouglass. Since my post I was able to find some info on this site that worked for my situation. Here is the link: http://www.frontpagewebmaster.com/m-370960/tm.htm#370960 Now i'm trying to tackle another issue with the child pages. I can't get any PayPal forms to work in child pages because of the way aspx pages handle forms. I can't find any info that is decipherable for newbies like myself. My workaround for anything that isn't working on the aspx pages is to put an inline frame that refers to a basic html page with the forms or scripts that i need to use. I'm sure that there is a proper way to do all this, but I fear it is way over my head. EY
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|