IE Being a Bumhole

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

IE Being a Bumhole

Post by Straterra »

I have a website, and I recently changed the title tag..and now, it won't show in IE...Here is the code!

Code: Select all

<style type="text/css">

body { 
        font-family: arial, helvetica, serif; 
} 

ul { /* all lists */ 
        padding: 0; 
        margin: 0; 
        list-style: none; 
} 

li { /* all list items */ 
        float: left; 
        position: relative; 
        width: 10em; 
} 

li ul { /* second-level lists */ 
        display: none; 
        position: absolute; 
        top: 1em; 
        left: 0;
} 

li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */ 
        top: auto; 
        left: auto; 
} 

li:hover ul, li.over ul { /* lists nested under hovered list items */ 
        display: block; 
} 

#content { 
        clear: left; 
} 

</style> 

<script type="text/javascript"><!--//--><![CDATA[//><!-- 
startList = function() { 
        if (document.all&&document.getElementById) { 
                navRoot = document.getElementById("nav"); 
                for (i=0; i<navRoot.childNodes.length; i++) { 
                        node = navRoot.childNodes[i]; 
                        if (node.nodeName=="LI") { 
                                node.onmouseover=function() { 
                                        this.className+=" over"; 
                                } 
                                node.onmouseout=function() { 
                                        this.className=this.className.replace(" over", ""); 
                                } 
                        } 
                } 
        } 
} 
window.onload=startList; 

//--><!]]></script>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
 href=mylink;
else
 href=mylink.href;
window.open(href, windowname, 'width=400,height=100,scrollbars=no,toolbar=no,status=no,resizable=yes');
return false;
}
//-->
</SCRIPT>
<link rel="stylesheet" href="style.css" type="text/css">
<title>East Coast Killers - EcK/title>
<?php
$tester = isset($_COOKIE["eckmusic2"]);
if ( $tester == true ) {
$dropdown = $_COOKIE['eckmusic2'];
?>
<BODY bgcolor ="#000000" text="#FFFFFF" link="#0000FF" vlink="#0000FF" alink="#0000FF" onLoad="popup('http://eckclan.sytes.net/cgi-bin/addmusic6.php', 'eckmusic')">
<?php
} else {
?>
<body bgcolor ="#000000" text="#FFFFFF" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<?php
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="15">
  <tr bgcolor="#111111">
    <td width="100%"><center>East Coast Killers</center></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="15">
  <tr bgcolor="#333333">
    <td width="100%"><cetner><ul id="nav">
        <li>Home
                <ul>
                        <li><a href="main.html" target="Frame1">Home</a></li>
                        <li><a href="old.html">Old Website</a></li>
                        <li><a href="index.php">New Website</a></li>
                </ul>
        </li> 
        <li>Upload 
                <ul> 
                        <li><a href="/cgi-bin/musicupload.php" target="Frame1">Music</a></li> 
                        <li><a href="/cgi-bin/imageupload.php" target="Frame1">Pictures</a></li> 
                </ul> 
        </li> 
        <li>Forum 
                <ul> 
                        <li><a href="http://eckclan.proboards19.com/index.cgi?board=general" target="Frame1">General</a></li> 
                        <li><a href="http://eckclan.proboards19.com/index.cgi?board=Wars" target="Frame1">Matches</a></li> 
                        <li><a href="http://eckclan.proboards19.com/index.cgi?board=challenge" target="Frame1" target="Frame1">Challenge</a></li> 
                        <li><a href="http://eckclan.proboards19.com/index.cgi?board=site" target="Frame1">Website</a></li> 
                </ul> 
        </li> 
        <li>Music 
                <ul> 
                        <li><A HREF="cgi-bin/addmusic6.php" onClick="return popup('cgi-bin/addmusic6', 'eckmusic')">Popup</A></li> 
                        <li><a href="/cgi-bin/pickmusic.php" target="Frame1">Selector</a></li> 
                        <li><a href="allmusic.php" target="Frame1">List</a></li> 
                </ul> 
        </li>
        <li>Bios 
                <ul>   <?php
                        $tester = isset($_SESSION["username"]);
                        if ( $tester == false ) {
                        ?>
                        <li><a href="/cgi-bin/loginform.php" target="Frame1">Log In</li>
                        <?php
                        } else {
                        ?>
                        <li><a href="/cgi-bin/logout.php" target="Frame1">Log Out</li>
                        <?php
                        }
                        ?>
                        <li><a href="/cgi-bin/pro.php?user=main" target="Frame1">Index</a></li> 
                        <li><a href="/cgi-bin/biosend2.php" target="Frame1">Modify Bio</a></li>
                        <li><a href="members.html" target="Frame1">Members</a></li> 
                </ul> 
        </li>
        <li>Contact 
                <ul> 
                        <li><a href="/cgi-bin/contact.php?page=challangeform" target="Frame1">Challange</li> 
                        <li><a href="/cgi-bin/contact.php?page=joinform" target="Frame1">Join</a></li> 
                        <li><a href="/cgi-bin/contact.php?page=adminform" target="Frame1">Contact Webmaster</a></li> 
                </ul> 
        </li>
</ul> 
</center></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="70">
  <tr>
    <td width="100%"></td>
  </tr>
</table>
<iframe name="Frame1" src="main.html" WIDTH=100% HEIGHT=80% scrolling="yes" frameborder="0"></iframe>
<center>
<img src="http://eckclan.sytes.net/images/flag-ani.gif">
<br>Made in America by <a href="/cgi-bin/contact.php?page=adminform">Straterra</a>
<br>
<?php
echo "Server information : ".$_SERVER["SERVER_SOFTWARE"];
echo "<br>";
include('http://eckclan.sytes.net/cgi-bin/counter.php');
?>
Here is a link to the site - http://eckclan.sytes.net


Here is the code that IE returns (View Source)

Code: Select all

&lt;style type="text/css"&gt;

body &#123; 
        font-family: arial, helvetica, serif; 
&#125; 

ul &#123; /* all lists */ 
        padding: 0; 
        margin: 0; 
        list-style: none; 
&#125; 

li &#123; /* all list items */ 
        float: left; 
        position: relative; 
        width: 10em; 
&#125; 

li ul &#123; /* second-level lists */ 
        display: none; 
        position: absolute; 
        top: 1em; 
        left: 0;
&#125; 

li&gt;ul &#123; /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */ 
        top: auto; 
        left: auto; 
&#125; 

li:hover ul, li.over ul &#123; /* lists nested under hovered list items */ 
        display: block; 
&#125; 

#content &#123; 
        clear: left; 
&#125; 

&lt;/style&gt; 

&lt;script type="text/javascript"&gt;&lt;!--//--&gt;&lt;!&#1111;CDATA&#1111;//&gt;&lt;!-- 
startList = function() &#123; 
        if (document.all&amp;&amp;document.getElementById) &#123; 
                navRoot = document.getElementById("nav"); 
                for (i=0; i&lt;navRoot.childNodes.length; i++) &#123; 
                        node = navRoot.childNodes&#1111;i]; 
                        if (node.nodeName=="LI") &#123; 
                                node.onmouseover=function() &#123; 
                                        this.className+=" over"; 
                                &#125; 
                                node.onmouseout=function() &#123; 
                                        this.className=this.className.replace(" over", ""); 
                                &#125; 
                        &#125; 
                &#125; 
        &#125; 
&#125; 
window.onload=startList; 

//--&gt;&lt;!]]&gt;&lt;/script&gt;
&lt;SCRIPT TYPE="text/javascript"&gt;
&lt;!--
function popup(mylink, windowname)
&#123;
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
 href=mylink;
else
 href=mylink.href;
window.open(href, windowname, 'width=400,height=100,scrollbars=no,toolbar=no,status=no,resizable=yes');
return false;
&#125;
//--&gt;
&lt;/SCRIPT&gt;
&lt;link rel="stylesheet" href="style.css" type="text/css"&gt;
&lt;title&gt;East Coast Killers - EcK/title&gt;
&lt;body bgcolor ="#000000" text="#FFFFFF" link="#0000FF" vlink="#0000FF" alink="#0000FF"&gt;
&lt;table width="100%" border="0" cellspacing="0" cellpadding="0" height="15"&gt;
  &lt;tr bgcolor="#111111"&gt;
    &lt;td width="100%"&gt;&lt;center&gt;East Coast Killers&lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;table width="100%" border="0" cellspacing="0" cellpadding="0" height="15"&gt;
  &lt;tr bgcolor="#333333"&gt;
    &lt;td width="100%"&gt;&lt;cetner&gt;&lt;ul id="nav"&gt;
        &lt;li&gt;Home
                &lt;ul&gt;
                        &lt;li&gt;&lt;a href="main.html" target="Frame1"&gt;Home&lt;/a&gt;&lt;/li&gt;
                        &lt;li&gt;&lt;a href="old.html"&gt;Old Website&lt;/a&gt;&lt;/li&gt;
                        &lt;li&gt;&lt;a href="index.php"&gt;New Website&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;
        &lt;/li&gt; 
        &lt;li&gt;Upload 
                &lt;ul&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/musicupload.php" target="Frame1"&gt;Music&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/imageupload.php" target="Frame1"&gt;Pictures&lt;/a&gt;&lt;/li&gt; 
                &lt;/ul&gt; 
        &lt;/li&gt; 
        &lt;li&gt;Forum 
                &lt;ul&gt; 
                        &lt;li&gt;&lt;a href="http://eckclan.proboards19.com/index.cgi?board=general" target="Frame1"&gt;General&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="http://eckclan.proboards19.com/index.cgi?board=Wars" target="Frame1"&gt;Matches&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="http://eckclan.proboards19.com/index.cgi?board=challenge" target="Frame1" target="Frame1"&gt;Challenge&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="http://eckclan.proboards19.com/index.cgi?board=site" target="Frame1"&gt;Website&lt;/a&gt;&lt;/li&gt; 
                &lt;/ul&gt; 
        &lt;/li&gt; 
        &lt;li&gt;Music 
                &lt;ul&gt; 
                        &lt;li&gt;&lt;A HREF="cgi-bin/addmusic6.php" onClick="return popup('cgi-bin/addmusic6', 'eckmusic')"&gt;Popup&lt;/A&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/pickmusic.php" target="Frame1"&gt;Selector&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="allmusic.php" target="Frame1"&gt;List&lt;/a&gt;&lt;/li&gt; 
                &lt;/ul&gt; 
        &lt;/li&gt;
        &lt;li&gt;Bios 
                &lt;ul&gt;                           &lt;li&gt;&lt;a href="/cgi-bin/loginform.php" target="Frame1"&gt;Log In&lt;/li&gt;
                                                &lt;li&gt;&lt;a href="/cgi-bin/pro.php?user=main" target="Frame1"&gt;Index&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/biosend2.php" target="Frame1"&gt;Modify Bio&lt;/a&gt;&lt;/li&gt;
                        &lt;li&gt;&lt;a href="members.html" target="Frame1"&gt;Members&lt;/a&gt;&lt;/li&gt; 
                &lt;/ul&gt; 
        &lt;/li&gt;
        &lt;li&gt;Contact 
                &lt;ul&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/contact.php?page=challangeform" target="Frame1"&gt;Challange&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/contact.php?page=joinform" target="Frame1"&gt;Join&lt;/a&gt;&lt;/li&gt; 
                        &lt;li&gt;&lt;a href="/cgi-bin/contact.php?page=adminform" target="Frame1"&gt;Contact Webmaster&lt;/a&gt;&lt;/li&gt; 
                &lt;/ul&gt; 
        &lt;/li&gt;
&lt;/ul&gt; 
&lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;table width="100%" border="0" cellspacing="0" cellpadding="0" height="70"&gt;
  &lt;tr&gt;
    &lt;td width="100%"&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;iframe name="Frame1" src="main.html" WIDTH=100% HEIGHT=80% scrolling="yes" frameborder="0"&gt;&lt;/iframe&gt;
&lt;center&gt;
&lt;img src="http://eckclan.sytes.net/images/flag-ani.gif"&gt;
&lt;br&gt;Made in America by &lt;a href="/cgi-bin/contact.php?page=adminform"&gt;Straterra&lt;/a&gt;
&lt;br&gt;
Server information : Apache/1.3.29 (Win32) PHP/4.3.5RC1&lt;br&gt;&lt;b&gt;2143&lt;/b&gt; people have visited the site
&lt;!--Counter written by Thomas York - http://eckclan.sytes.net - straterra@hotmail.com --&gt;
If anyone could help me with this problem, I would GREATLY appreciate it!
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Could help if you had your <title> in the <head> ... and, well, a <head>. starting your html with <html> is usually standard as well.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I never use those tags, and the rest of my pages load up fine. That is the only page that does not load up in IE
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Straterra wrote:I never use those tags, and the rest of my pages load up fine. That is the only page that does not load up in IE
"I always break the rules, and I've always gotten away with it BEFORE officer".

Doesn't work with the cops, doesn't work with internet standards.

You've gotten lucky up until now, and are asking why things arent working.

The answer is, you arent writing HTML, you are putting tags into an output stream that - by luck - some browsers have PRETENDED was HTML.

Validate your page, make it valid html, and it *will* work in IE.

But don't ask us why when you are going 200mph around corners, in this one spot, you crash your car.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Yeah well..after going over the script about 8 times, it was a simple typo.. </title> was /title> . But, speaking of HTML tags, what tags does the Google bot read as a description of your website?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

<meta ...>, <title>, <head>, <a...> and quite possibly the textual content of the page itself. However, in which way Google weighs and prioritises these remains open to speculation.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I only ask because my website is built on frames. I have a concern of Google being able to give a correct description with the frames.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Frames are traditionally search-engine killers. If you are interested in a good search-engine ranking, I'd advise getting rid of the frames.
User avatar
no_memories
Forum Contributor
Posts: 145
Joined: Sun Feb 01, 2004 7:12 pm
Location: New York City

Post by no_memories »

Google and other web crawler type search engines first look for a text file commonly known as "robot.txt"

Here is the W3C robot text file: http://www.w3.org/robots.txt

You can allow the web search bot to look inside your entire site or restrict certain folders or even all of the site.

For more info on this matter see the W3C's publication on the way robot text files can be used.

http://www.w3.org/TR/WD-html40-970708/a ... h-13.2.1.1
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Not to mention Googles pigeon ranking technology....;-)
fv
Post Reply