What should I remove. What should I remove.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

What should I remove.

Started by disposition, November 18, 2007, 11:53:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

disposition

HI,

I know this might be a browser issue but I can't be sure so I might as well ask.

If you look at my site in firefox you will see the page extends to the right a few inches and you have to scroll over to see it, and in IE you don't have to do that at all, I am wondering what it is that it is making it do that in firefox.  Is there something I need to remove?  I would hate for my users to see it like this in firefox.  Mabye there is just something in forefox I need ot change.

Thanks, hope you can help even if it is a kinda browser issue.  I just can't be sure.

www.blackdeathmetal.com

Nibbler

Looks fine to me. Do you have debug mode enabled for the admin?

disposition

I do now, should that makes a difference? Is there something in there you would be able to see that might help?  Or do you think this might be my browser settings?

Joachim Müller

Page works fine for me using Firefox, even though debug_mode is enabled for everyone. Turn debug_mode off if you don't need it.

Nibbler

Debug mode is known to cause the page to scroll horizontally sometimes, that's all. If I resize my browser to anything less than about 1100 pixels wide I get the scrollbars, so it may affect people on lower screen resolutions.

You should correct your html as a first step, all this is wrong for a start:


<h1><span style="font-weight: 400"><font color="#000000" size="1">&nbsp;BLACK METAL | DEATH METAL / upload photos, videos, music and share with the community</font></span></h1>
<head>
<font size="1">
<title>BLACKDEATHMETAL.COM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="keywords" content="black metal, death metal, black, death, metal, community, gore, satan, blackmetal.com">
<meta name="description" content="Your metal media website - uplaod photos, videos, music and share them with the community.">
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="themes/blackbirch/style.css" />
</head>


</font>

<html dir="ltr">
<body bgcolor="#000000">
<body>

Joachim Müller

#5
Yikes, what an example for bad HTML (your template.html - Nibbler just quoted it). Small wonder that the browsers get confused.
Use the one I posted below, it corrects the most serious issues. I strongly suggest reading some basic HTML tutorials to find out about correct structure of HTML documents.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="keywords" content="black metal, death metal, black, death, metal, community, gore, satan, blackmetal.com">
<meta name="description" content="Your metal media website - uplaod photos, videos, music and share them with the community.">
{META}
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="themes/blackbirch/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body bgcolor="#000000">
{CUSTOM_HEADER}
<h1><span style="font-weight: 400"><font color="#000000" size="1">&nbsp;BLACK METAL | DEATH METAL / upload photos, videos, music and share with the community</font></span></h1>
<table width="100%" border="0" cellpadding="20" cellspacing="0" class="mainbgr">
  <tr>

    <td align="center" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="36"> <br /> </td>

          <td width="50%" align="left" valign="bottom"><span class="topmenu"></span></td>
          <td width="50%" align="right" valign="top">
          <script type="text/javascript">
          <!--
          google_ad_client = "pub-7832872269372375";
          google_ad_width = 468;
          google_ad_height = 60;
          google_ad_format = "468x60_as";
          google_ad_type = "text_image";
          google_ad_channel = "";
          google_color_border = "000000";
          google_color_bg = "000000";
          google_color_link = "ff0000";
          google_color_text = "CCCCCC";
          google_color_url = "999999";
          //-->
          </script>
          <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
          <span class="topmenu">
<strong>
<a target="_blank" href="http://www.blackdeathmetal.com/forum/index.php">
<font color="#FF3300" size="2">BLACKDEATHMETAL FORUM</font></a><font color="#FF3300" size="2"> |
</font><font color="#FF3535" size="2">
<a target="_blank" href="http://www.blackdeathmetal.com/metallinks/links/blackmetal/index.php">

<font color="#FF3300">ADD A LINK</font></a></font></strong><font color="#FF3300"><br>
</font><font color="#FF3535">
            <a target="_blank" href="http://www.blackdeathmetal.com/classifieds_1_3/index.php">
<font color="#FF3300">CLASSIFIEDS</font></a></font><font color="#FF3300"> |
</font></span><font color="#FF3535">
<a target="_blank" title="STORIES" href="http://www.blackdeathmetal.com/news/stories.php">
<font color="#FF3300">STORIES</font></a></font><font color="#FF3300"></a>

            |
</font><span class="topmenu">
<font color="#FF0000">
<a target="_blank" href="http://www.blackdeathmetal.com/form/use/ADVERTISE/form1.html">
<font color="#FF3300">ADVERTISE ON THIS SITE</font></a></font><font color="#FF3300"> |
</font> </span><font color="#FF3300">
            &nbsp;</font><span class="topmenu"><a target="_blank" href="http://www.blackdeathmetal.com/sitemap.html"><font color="#FF3300">SITE MAP</font></a></span><font color="#FF3300"><br />
            </font><span class="topmenu">

            <font color="#FF3300">&nbsp;</font><font color="#FF0000"><a target="_blank" href="http://www.blackdeathmetal.com/video.html"><font color="#FF3300">FEATURED VIDEO</font></a></font><font color="#FF3300">
| </font>
</span><font color="#FF3535">
<a target="_blank" href="http://www.blackdeathmetal.com/help.html">
<b><font color="#FF3300">HELP / FAQ</font></b><font color="#FF3300">
</font> </a>
            </font>
            <font color="#FF3300">

|
            </font>
            <a target="_blank" title="STORIES" href="http://www.blackdeathmetal.com/stories.php">
<font color="#FF3300"></font>
<a target="_blank" href="http://www.blackdeathmetal.com/linktous.html">
<font color="#FF3300">LINK TO US</font></a><span class="topmenu"><font color="#FF3300">
| </font>
<a title="CONTACT www.BLACKDEATHMETAL.com" href="mailto:info@blackdeathmetal.com">
<font color="#FF3300">CONTACT</font></a></span><p>{LANGUAGE_SELECT_FLAGS}<br /> <br />

            {SYS_MENU}</td>
        </tr>
      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center" valign="top">&nbsp;</td>
        </tr>
      </table>

                <img src="images/spacer.gif" width="1" height="15" /><br />
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><br />            {SUB_MENU}{ADMIN_MENU} {GALLERY}
<p>&nbsp;</td>
        </tr>
        <tr>
          <td align="center" valign="top" class="footer">
          <script type="text/javascript">
          <!--
          google_ad_client = "pub-7832872269372375";
          google_ad_width = 728;
          google_ad_height = 90;
          google_ad_format = "728x90_as";
          google_ad_type = "text";
          google_ad_channel = "";
          google_color_border = "000000";
          google_color_bg = "000000";
          google_color_link = "ff0000";
          google_color_text = "CCCCCC";
          google_color_url = "999999";
          //-->
          </script>
          <!--<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>-->
          </td>
        </tr>
      </table>

      <b><font color="#808080">|</font><font color="#FF0000">&nbsp; </font>
<a target="_blank" href="http://www.blackdeathmetal.com/forum/index.php">
<font color="#FF0000">FORUM</font></a><font color="#FF0000">&nbsp;
</font><font color="#808080">|</font><font color="#FF0000">&nbsp;
<a target="_blank" href="http://www.blackdeathmetal.com/news/stories.php">

<font color="#FF0000">ADD A LINK</font></a>&nbsp;
</font><font color="#808080">|</font><font color="#FF0000">&nbsp;
<a target="_blank" href="http://www.blackdeathmetal.com/classifieds_1_3/index.php">
<font color="#FF0000">CLASSIFIEDS</font></a>&nbsp;
</font><font color="#808080">|</font><font color="#FF0000">&nbsp;
</font>
<a target="_blank" href="http://www.blackdeathmetal.com/linktous.html">
<font color="#FF0000">LINK TO US</font></a><font color="#FF0000">&nbsp;

</font><font color="#808080">|</font><font color="#FF0000">&nbsp;
<a target="_blank" href="http://www.blackdeathmetal.com/news/stories.php">
<font color="#FF0000">STORIES</font></a></a><a target="_blank" href="http://www.blackdeathmetal.com/news/stories.php"><font color="#FF0000">
/ NEWS</font></a>&nbsp;
</font><font color="#808080">|</font><font color="#FF0000">&nbsp;
<a target="_blank" href="http://www.blackdeathmetal.com/form/use/ADVERTISE/form1.html">
<font color="#FF0000">ADVERTISE</font></a>&nbsp;
</font><font color="#808080">|</font><font color="#FF0000"> &nbsp;<a target="_blank" href="http://www.blackdeathmetal.com/disclaimer.html"><font color="#FF0000">DISCLAIMER</font></a>&nbsp;

</font><font color="#808080">|&nbsp;</font><font color="#FF0000">&nbsp;
</font>
<a href="mailto:info@blackdeathmetal.com"><font color="#FF0000">CONTACT</font></a><font color="#FF0000">&nbsp;
</font><font color="#808080">|&nbsp;</font><font color="#FF0000">
</font>
<a target="_blank" href="http://www.blackdeathmetal.com/sitemap.html">
<font color="#FF0000">SITE MAP</font></a><font color="#FF0000">&nbsp;

</font><font color="#808080">|</font></b><p>&nbsp;</p>
<p>

      <br>
      {LANGUAGE_SELECT_LIST}{THEME_SELECT_LIST}{VANITY}{CUSTOM_FOOTER}<br>
      </td>
        </tr>
</table>
</body>
</html>
Black text on black background as you do it will result in serious punishment in Google's page rank - it's a lame effort to cheat search results.

disposition

Hey,

Thanks for the reply, I will not make excuses for my HTML, most if my web design has been copy and paste and I don't have alot of experience.  I am reading up on it and at least trying.

Thanks for the help, I changed my HTML and will have to work on it a bit, I hope I can get it right soon without the code being crap.  U had no idea I even had black on black text on this page.  Well anyway thanks and I will take any advice I can get.

THANKS!  :)