Design on Category View Page Design on Category View Page
 

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

Design on Category View Page

Started by parti02, December 29, 2006, 03:55:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

parti02

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!?

Gizmo

Provide a link to your gallery so that we can see what's going on.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

parti02


DaMysterious

#3
><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?
DaMysterious.

Nibbler

I'd guess that you inadvertently set the category description to a newline.

parti02

Oh yes, there was an empty line in category discpription.  :-X
Thanks