coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: clint6998 on June 07, 2009, 07:14:46 PM

Title: [Solved]: admin_menu anly spanning 1/3 of the page
Post by: clint6998 on June 07, 2009, 07:14:46 PM
First, my apologies for posting more than one question per thread.

I am having a problem with the admin menu not spanning the length of the page.  instead, it puts a horizontal scroll bar on the page and only covers about 1/3 of the page instead of 100%.  Can anyone help?

Thanks,

Clint
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: François Keller on June 07, 2009, 08:19:50 PM
as we as users cannot see the admin menu, attach a screen shot to your next post
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: clint6998 on June 07, 2009, 08:24:57 PM
See attached
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: Joachim Müller on June 07, 2009, 08:48:50 PM
Post a link to your gallery (do so in each new thread you start).
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: clint6998 on June 07, 2009, 08:52:18 PM
Sorry thought I copied that from the last post.
www.clintharris.info/photos/ (http://www.clintharris.info/photos/)
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: Joachim Müller on June 07, 2009, 08:54:59 PM
Template: http://www.clintharris.info/photos/themes/classic/template.html
Content: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<link rel="stylesheet" href="themes/classic/stylemine.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
  SVN version info:
  Coppermine version: 1.4.22
  $Revision: 5740 $
  $LastChangedBy: gaugau $
  $Date: 2009-03-05 08:27:01 +0100 (Do, 05 Mär 2009) $
-->

<title>The Official site of Clint Harris!  Well, this Clint Harris at least...</title>

</head>

<body>
<table margin="0" border="0" align="center" width="850" cellpadding="0" cellspacing="0" class="body">

<!-- Space Between Top and Nav -->

  <tr>
    <td height="275"></td>
  </tr>

<!-- Space Between Top and Nav End -->
<!-- Nav Begin -->

  <tr>

    <td>
      <table margin="0" border="0" align="center" width="850" cellpadding="0" cellspacing="0">
<tr>
  <td height="27" width="427"></td><td valign="top" height="27"><a href="http://www.clintharris.info/index.html" onMouseOver="document.Home.src='themes/classic/images/home_swap.gif';"onMouseOut="document.Home.src='themes/classic/images/home.gif'"><img src="themes/classic/images/home.gif" height="27" width="113" title="Home" border="0" name="Home" alt="Home" /></a></td><td valign="top" height="27"><a href="http://www.clintharris.info/about.html" onMouseOver="document.About.src='themes/classic/images/about_swap.gif';"onMouseOut="document.About.src='themes/classic/images/about.gif'"><img src="themes/classic/images/about.gif" height="27" width="89" title="About Me" border="0" name="About" alt="About" /></a></td><td valign="top" height="27"><a href="http://www.clintharris.info/photos/" onMouseOver="document.Photos.src='themes/classic/images/photos_swap.gif';"onMouseOut="document.Photos.src='themes/classic/images/photos.gif'"><img src="themes/classic/images/photos.gif" height="27" width="68" title="Photos" name="Photos" border="0" alt="Photos" /></a></td><td valign="top" height="27"><a href="http://www.clintharris.info/mythoughts/" onMouseOver="document.Thoughts.src='themes/classic/images/thoughts_swap.gif';"onMouseOut="document.Thoughts.src='themes/classic/images/thoughts.gif'"><img src="themes/classic/images/thoughts.gif" height="27" width="153" name="Thoughts" title="My Thoughts" border="0" alt="My Thoughts" /></a></td>
</tr>
      </table>
    </td>
  </tr>

<!-- Nav End -->
<!-- Outer Main Body Begin -->

  <tr class="main">
    <td>
      <table border="0" align="center" width="850" cellpadding="0" cellspacing="0">
<tr>
  <td height="17" width="18" style="background-image: url(themes/classic/images/body_tl.gif); background-repeat: no-repeat;"></td>
  <td height="18" width="814" style="background-color: #FFFFFF; "></td>
  <td height="17" width="18" style="background-image: url(themes/classic/images/body_tr.gif); background-repeat: no-repeat;"></td>

</tr>
<tr>
  <td width="18" style="background-color: #FFFFFF; "></td>
  <td width="814" style="background-color: #FFFFFF; ">

<!-- Main Body Begin -->

    <table border="0" align="center" width="814" cellpadding="0" cellspacing="0">
      <tr>
<td height="23" colspan="3" class="tableheader">&nbsp;&nbsp;Welcome</td>

      </tr>
      <tr>
<td colspan="3" valign="top" class="tablemain">
  <table border="0" width="100%" cellpadding="10" cellspacing="0">
    <tr>
      <td class="tablemainbody">

<!-- Begin Coppermine -->

  {CUSTOM_HEADER}
  <table width="100%" border="0" cellpadding="20" cellspacing="20">

    <tr>
      <td valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
            <td width="100%" align="center">
              <h1>{GAL_NAME}</h1>
              <h3>{GAL_DESCRIPTION}</h3><br />

              {SYS_MENU} <br /> {SUB_MENU}
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center" valign="top">
              {LANGUAGE_SELECT_FLAGS}
            </td>

          </tr>
          <tr>
            <td align="center" valign="top">
              {THEME_SELECT_LIST}
              {LANGUAGE_SELECT_LIST}
            </td>
          </tr>
        </table>
        <img src="images/spacer.gif" width="1" height="15" alt="" />
        <br />

        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" width="100%" valign="top">
              {ADMIN_MENU}
              {GALLERY}
            </td>
          </tr>
        </table>
      </td>
    </tr>

  </table>

<!-- End Coppermine -->


</td>

    </tr>
  </table>
</td>
      </tr>
    </table></td>

<!-- Main Body End -->

  <td width="18" style="background-color: #FFFFFF; "></td>
</tr>
<tr>
  <td height="18" width="18" style="background-image: url(themes/classic/images/body_bl.gif); background-repeat: no-repeat;"></td>
  <td height="18" width="814" style="background-color: #FFFFFF; "></td>
  <td height="18" width="18" style="background-image: url(themes/classic/images/body_br.gif); background-repeat: no-repeat;"></td>
</tr>

      </table>
    </td>
  </tr>

<!-- Outer Main Body End -->
<!-- footer -->

  <tr class="footer">
    <td class="footer">&copy; Copyright 2009 Clint Harris. All rights reserved.<br /></td>
  </tr>

</table>
</body>
</html>

Looks like the surrounding container is too narrow. Find out more for yourself.
Suggested tool: http://forum.coppermine-gallery.net/index.php/topic,24056.msg123520.html#msg123520
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: clint6998 on June 07, 2009, 09:11:27 PM
well, all td tags are set to 100% with the table width 814px.  the gallery spans the whole length.  the admin menu is the only thing that does not which would lead me to believe that it is either in the file that contains the admin_menu which I cant find or in the css which I do not see anything in it that would make it do that.

If I am off base of what you were saying can you give me a little more detail?
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: Joachim Müller on June 07, 2009, 09:14:55 PM
Install the web developer tool bar, then visit your site in your browser. On the web developer toolbar, click "CSS" -> "View Style Information". Then click on the admin menu wrapper to see what styles apply.
Title: Re: admin_menu anly spanning 1/3 of the page
Post by: clint6998 on June 07, 2009, 09:19:06 PM
Thank you!  It was a style from a div tag from my style sheet for a different page.