Jump to content

Recommended Posts

Posted

If I understand correctly what you're wanting to do, it looks to me like your menu is displaying to the right of your logo because the logo and the menu are in adjacent table cells within the same table row:

<tr>

  <td><center><a href="index.php"><img src="themes/water_drop/images/animalslogo.gif" alt="" border="0" /><br /></a></center></td>

  <td width="100%" align="center">

    <h1></h1>

    <h3></h3><br />

    <span class="topmenu">

 

I'd suggest putting the logo and menu into separate table rows - ending the table row after the logo with a </tr> tag, and starting a new table row (with a <tr> tag) for your menu:

<tr>

  <td><center><a href="index.php"><img src="themes/water_drop/images/animalslogo.gif" alt="" border="0" /><br /></a></center></td>

</tr>

<tr>

  <td width="100%" align="center">

    <h1></h1>

    <h3></h3><br />

    <span class="topmenu">

Posted

Thanks David. <_>

However, now there´s no menu at all.

Here´s the whole template that I am using (with your changes included as I understood them).

><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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}
<link rel="stylesheet" href="themes/water_drop/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
 Coppermine version: 1.3.3
 $Source: /cvsroot/coppermine/stable/themes/water_drop/template.html,v $
 $Revision: 1.5 $
 $Author: gaugau $
 $Date: 2005/04/19 03:17:15 $
-->
</head>
<body>
<table border=0 cellpadding=0 cellspacing=0 align="center">
<tr>
 <td><center><a href="index.php"><img src="themes/water_drop/images/animalslogo.gif" alt="" border="0" /><br /></a></center></td>
</tr>
<tr>
 <td width="100%" align="center">
   <h1>{GAL_NAME}</h1>
   <h3>{GAL_DESCRIPTION}</h3><br />
   <span class="topmenu">
                                       {LANGUAGE_SELECT_FLAGS}<br>{LANGUAGE_SELECT_LIST} 
                                       {THEME_SELECT_LIST}
                               </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">
                                       {ADMIN_MENU}
                                       {GALLERY}
                               </td>
                       </tr>
               </table>
       </td>
</tr>
</table>
</body>
</html>

Posted

I compared your code to the original theme template.html - you appear to be missing the code for the actual menu. This is what you say your template has:

<td width="100%" align="center">

  <h1>{GAL_NAME}</h1>

  <h3>{GAL_DESCRIPTION}</h3><br />

  <span class="topmenu">

  {LANGUAGE_SELECT_FLAGS}<br>{LANGUAGE_SELECT_LIST} 

  {THEME_SELECT_LIST}

</td>

This is what's in the original template:
<td width="100%" align="center">

  <h1>{GAL_NAME}</h1>

  <h3>{GAL_DESCRIPTION}</h3><br />

  {MAIN_MENU}<br />

  {LANGUAGE_SELECT_FLAGS}<br>{LANGUAGE_SELECT_LIST} 

  {THEME_SELECT_LIST}

</td>

Side note: You also should have a closing </span> tag in there somewhere. <_<

Posted

Yes. That was one thing I was wondering about but forgot to ask.

 

In your code above there was a

So I thought you ment that I should replace the
{MAIN_MENU}

with it.

Sorry for the confusion. <_>

 

Will try the last solution now. <_>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...