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!

Help needed with the IE title bar.

Status
Not open for further replies.

usalabs3

Technical User
Sep 7, 2004
152
US
After submitting my website to google and yahoo (sometime ago), I noticed that the title of the search result is not what I wanted, so I changed the contents of the <title> tag in the index file, but the title in IE's title bar, does not reflect that change, EG.

The title bar shown for this web page is 'Browser issues for IT professionals' which matches the contents of the <title> tag on this page.

The title bar in IE does not match the <title> tag in the index file when I access my website., how do I get the title bar in IE to reflect the change in the <title> tag?, I've even tried completely emptying the IE temp files and cookies, but no change.
 
<HTML>
<HEAD>
<TITLE>Pc Problems and Solving</TITLE>
<style type="text/css">
<!--
BODY {
scrollbar-face-color: 999999;
scrollbar-highlight-color: ffffff;
scrollbar-3dlight-color: cccccc;
scrollbar-darkshadow-color: 333333;
scrollbar-shadow-color: 333333;
scrollbar-arrow-color: cccccc;
scrollbar-track-color: 000000;
}
-->

----end of snippet----

The contents of the <title> tag show be reflected in the title bar of IE, but it's not.
 
Change to lowercase i.e.

<title>Pc Problems and Solving</title>

FAM
 
In the snippet you didn't close the <head> with a </head> was that just a typo?
 
after the '-->' is a <style> tag followed by style code, then ended with </head>
 
Addendum to my previous post.

I tried using lowercase, <title> instead of <TITLE>, but it still don't work.
 
A couple of questions,

1/ The <style> tag is finished with a </style>?
2/ And the page is finished with </html>?
3/ Are you amending the title tag on the index.html page or if you are using frames you could well be actually amending a html page within your index.html?
4/ You say google/yahoo doesnt change. When you amend and preview the page locally before uploading has the change been implemented there? If it has, the reason why it might not have appeared on i.e. google. As the web crawlers which index your site are based on many factors such as PageRank, links to a page, and crawling constraints such as the number of parameters in a URL. Any number of factors can affect the crawl frequency of individual sites, if you wait a few days it should appear.

FAM
 
1. How about posting a link to the actual page so we can inspect all the code?

2. Make sure ALL your tags are lower case, not just title, and for good measure, make sure you have a valid DOCTYPE.

Mike Krausnick
Dublin, California
 
I haven't a clue what a 'DOCTYPE' is, but here's the entire code, and a link to download the file for modification, and upload it back to the server.

ftp://html@ftp.tezandbabs.us

<HTML>
<HEAD>
<title>Pc Problems and Solving</title>
<style type="text/css">
<!--
BODY {
scrollbar-face-color: 999999;
scrollbar-highlight-color: ffffff;
scrollbar-3dlight-color: cccccc;
scrollbar-darkshadow-color: 333333;
scrollbar-shadow-color: 333333;
scrollbar-arrow-color: cccccc;
scrollbar-track-color: 000000;
}
-->
</style>
<meta name="Author" content="Created With Flash4D :: <style> <!--
A:link {text-decoration:none; color:#ffff00;}
A:visited {text-decoration:none; color:#ffff00;}
A:hover {text-decoration:none; color:#FFFFFF;}
TD {
FONT-SIZE: 11px; FONT-FAMILY: Verdana,Arial,Helvetica
}
.para1 { margin-top: -27px; margin-left: 30px; margin-right: 10px; font-family: "font2, Arial"; font-size: 30px; line-height: 35px; text-align: left; color: #E1E1E1; }
.para2 { margin-top: 15px; margin-left: 15px; margin-right: 0px; font-family: "font1, Arial Black"; font-size: 50px; line-height: 40px; text-align: left; color: #004080; }
//--> </style>
</HEAD>
<BODY bgcolor="#000000">
<center>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" WIDTH=842 HEIGHT=400>
<param name="_cx" value="22278">
<param name="_cy" value="10583">
<param name="FlashVars" value>
<param name="Movie" value="fireworks.swf">
<param name="Src" value="fireworks.swf">
<param name="WMode" value="Window">
<param name="Play" value="-1">
<param name="Loop" value="0">
<param name="Quality" value="High">
<param name="SAlign" value>
<param name="Menu" value="0">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value="000000">
<param name="SWRemote" value>
<param name="MovieData" value>
<param name="SeamlessTabbing" value="1"><embed src="fireworks.swf" quality="high" bgcolor="#000000" WIDTH="550" HEIGHT="400" TYPE="application/x-shockwave-flash" PLUGINSPAGE=" </OBJECT> </p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="81%">&nbsp;</td>
<td width="19%">
<DIV class=para2 align=center>
<P><a href=" </DIV>
<DIV class=para1 align=center>
<P><a href=" </DIV></td>
</tr>
</table>
<p align="center"> </p>
</center>
</BODY>
</HTML>
<!--Powered By Flash4D :: -->
 
smah said:
The code that you posted works fine here with IE 6.
But it don't show the right title in internet explorer when I click on my website link.
 
What's the web site? If the code is exactly the same, it should work the same.
 
smah said:
What's the web site? If the code is exactly the same, it should work the same.

The website is
if it works for you, and shows the correct title in the internet explorer title bar, then I can only assume it's something that's been set into my internet explorer, so that it don't matter how I change the <title> tag on the main page, internet explorer, will always show something else, if that's the case, how do I set the title bar to read the content from the <title> tag?
 
Code:
<TITLE>The tezandbabs.us web site.</TITLE>
and that is what I see in the titlebar.
 
Ditto....and this is the code:

Code:
<HTML><HEAD>
<TITLE>The tezandbabs.us web site.</TITLE>
<META NAME="description" CONTENT="The best place for pc problem solving.">
<META NAME="keywords" CONTENT="pc help, forums, computer problems">
</HEAD>
<FRAMESET border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0>
<frame src="[URL unfurl="true"]http://ww2.tezandbabs.us:10010"[/URL] scrolling=auto frameborder="no" border=0 noresize>
<frame topmargin="0" marginwidth=0 scrolling=no marginheight=0 frameborder="no" border=0 noresize>
</FRAMESET>
<NOFRAMES><BODY><P>
<BLOCKQUOTE>The best place for pc problem solving.</BLOCKQUOTE><P>
<A HREF="[URL unfurl="true"]http://ww2.tezandbabs.us:10010">Click[/URL] here to go to [URL unfurl="true"]www.tezandbabs.us</A></BODY></NOFRAMES>[/URL]
</HTML>
Quite different than what's posted above.
 
smah said:
This page: has the title that you want by itself, but seems to be a frame inside the other page.

When you said about a frame, I checked something further and I found that the cloaked page has the meta tag set to an old title, I changed it and it works now, I completely forgot about the page being masked.

Thanks for everyones help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top