coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: parti02 on December 29, 2006, 03:55:44 PM

Title: Design on Category View Page
Post by: parti02 on December 29, 2006, 03:55:44 PM
Hi all,
i have categories from A till Z.
The table from the A Categorie is bigger than the rest tables.
Here is the HTML Code

        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td></td><td><span class="catlink"><b><a href="index.php?cat=2">A</a></b></span><br /></td></tr></table></td>
                <td class="catrow" align="center">366</td>
                <td class="catrow" align="center">20874</td>

        </tr>
        <tr>
            <td class="tableb" colspan="3"></td>
        </tr>

        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td></td><td><span class="catlink"><b><a href="index.php?cat=3">B</a></b></span></td></tr></table></td>
                <td class="catrow" align="center">142</td>

                <td class="catrow" align="center">9500</td>
        </tr>
        <tr>
            <td class="tableb" colspan="3"></td>
        </tr>


How can i delete the <br /> tag in the Categorie A?
Categorie B doesen't have the tag!?
Title: Re: Design on Category View Page
Post by: Gizmo on December 30, 2006, 03:52:06 PM
Provide a link to your gallery so that we can see what's going on.
Title: Re: Design on Category View Page
Post by: parti02 on December 30, 2006, 10:55:14 PM
May I send you the link by PM?
Title: Re: Design on Category View Page
Post by: DaMysterious on December 30, 2006, 11:07:24 PM
><span class="catlink"><b><a href="index.php?cat=2">A</a></b></span><br /></td></tr></table></td>

The problem could be the <br /> in your first row which is not added to your second row.

Changed code:

<tr>
  <td class="catrow" align="left"><table border="0">
      <tr>
        <td></td>
        <td><span class="catlink"><b><a href="index.php?cat=2">A</a></b></span></td>
      </tr>
    </table></td>
  <td class="catrow" align="center">366</td>
  <td class="catrow" align="center">20874</td>
</tr>
<tr>
  <td class="tableb" colspan="3"></td>
</tr>
<tr>
  <td class="catrow" align="left"><table border="0">
      <tr>
        <td></td>
        <td><span class="catlink"><b><a href="index.php?cat=3">B</a></b></span></td>
      </tr>
    </table></td>
  <td class="catrow" align="center">142</td>
  <td class="catrow" align="center">9500</td>
</tr>
<tr>
  <td class="tableb" colspan="3"></td>
</tr>



Did you add a line feed by accident to your A category maybe?
Title: Re: Design on Category View Page
Post by: Nibbler on December 30, 2006, 11:11:37 PM
I'd guess that you inadvertently set the category description to a newline.
Title: Re: Design on Category View Page
Post by: parti02 on December 31, 2006, 12:38:21 PM
Oh yes, there was an empty line in category discpription.  :-X
Thanks