trying to add link buttons - get different colour trying to add link buttons - get different colour
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

trying to add link buttons - get different colour

Started by john123, March 25, 2007, 11:01:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

john123

Hi
My site is www.takingthelead.co.uk/gallery
I am adding the same set of buttons throughout the site for navigation without problem. When adding the buttons to my gallery they appear with a pink/purple outline - I have tried to re-make the buttons but get the same effect. I have tried changing the colour of the buttons but get the same effect.

Also the top right hand side of the frame is out of alignment and I do not know what has gone wrong.

Can anyone help with these problems please
I have included my template.htm for information
John


Quote<!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>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/rainy_day/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!-- $Id: template.html,v 1.11 2005/12/04 03:22:35 donnoman Exp $ -->
</head>
<body>
  {CUSTOM_HEADER}   

  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r1_c1.gif)">
              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r1_c5.gif)">
              {SYS_MENU}
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r1_c6.gif)">
              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r2_c1.gif);background-repeat:repeat-y">
              <img src="images/spacer.gif" width="18" height="57" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r2_c2.gif)">
              <table border="0" width="100%" cellspacing="3" cellpadding="0">
                <tr>
                  <td>
<a href="http://www.takingthelead.co.uk">
<img src="http://www.ttlntl.co.uk/images/button/homeblu.gif"></a>
<a href="http://www.takingthelead.co.uk/forum/">
<img src="http://www.ttlntl.co.uk/images/button/forumblu.gif"></a>
<a href="http://www.takingthelead.co.uk/shop/"><img src="http://www.ttlntl.co.uk/images/button/shopblu.gif"></a>
<a href="http://www.takingthelead.co.uk/gallery/"><img src="http://www.ttlntl.co.uk/images/button/galleryblu.gif"></a>
<a href="http://www.takingthelead.co.uk/5/remembrance.htm"><img src="http://www.ttlntl.co.uk/images/button/remembgry.gif"></a>
<a href="http://www.takingthelead.co.uk/guestbook/"><img src="http://www.ttlntl.co.uk/images/button/guestbookblu.gif"></a>
<a href="http://www.takingthelead.co.uk/blog/"><img src="http://www.ttlntl.co.uk/images/button/blogblu.gif"></a>
<br>   
                    <h1>&nbsp;{GAL_NAME}</h1><tr>
   <td valign="baseline" align="left" >

         </div>
         </td>
      </tr>
   </table>
</div>   
                 
                  <td align="left">
                    {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
                  </td>
                </tr>
              </table>
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r2_c10.gif);background-repeat:repeat-y">
              <img src="images/spacer.gif" width="16" height="57" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r3_c1.gif)">
              <img src="images/spacer.gif" width="560" height="67" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
              {GAL_DESCRIPTION}
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r3_c9.gif)">
              <img src="images/spacer.gif" width="42" height="67" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r4_c1.gif)">
              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
            </td>
            <td width="100%" align="right" style="background-image:url(themes/rainy_day/images/template_r4_c3.gif)">
              {SUB_MENU}
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r4_c9.gif)">
              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r5_c1.gif)">
              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r5_c3.gif)">
              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r5_c4.gif)">
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r5_c8.gif)">
              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r5_c9.gif)">
              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r6_c1.gif)">
              <img src="themes/rainy_day/images/template_r6_c1.gif" width="42" height="328" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r6_c3.gif);padding-left: 10px; padding-right: 10px;">
              {ADMIN_MENU}
              {GALLERY}
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r6_c9.gif)">
              <img src="themes/rainy_day/images/template_r6_c9.gif" width="42" height="328" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td style="background-image:url(themes/rainy_day/images/template_r7_c1.gif)">
              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r7_c3.gif)">
              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
            </td>
            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r7_c5.gif)">&nbsp;
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r7_c6.gif)">
              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
            </td>
            <td style="background-image:url(themes/rainy_day/images/template_r7_c9.gif)">
              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

  <br />

  <div align="center">
    {LANGUAGE_SELECT_FLAGS}
  </div>

  {CUSTOM_FOOTER}
  {VANITY}

</body>
</html>

Stramm

images get an border by default
->use that <img border="0">

john123


john123

Buttons sorted - but does anyone know how I can repair the rainyday template?

Joachim Müller

We have a strict "one question per thread" policy that you agreed to respect when signing up. Start a new thread, provide a link to your gallery and zip up your theme and attach it to your posting. Also post what exactly is broken. Locking, marking as solved.

Stramm

ahm, that's not how I meant it
<a href="http://www.takingthelead.co.uk">
<img src="http://www.ttlntl.co.uk/images/button/homeblu.gif"<img border="0"></a>

but more like
<a href="http://www.takingthelead.co.uk">
   <img src="http://www.ttlntl.co.uk/images/button/homeblu.gif" border="0">
</a>