forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Katieswirls on October 17, 2004, 09:19:00 pm

Title: Overhang of table
Post by: Katieswirls on October 17, 2004, 09:19:00 pm
I've customising my coppermine all weekend and I've almost got it perfect but there's one little thing that's driving to distraction.

My CSS is at http://media.andyhallettuk.com/gallery/themes/andy_hallett/style.css
My template is at http://media.andyhallettuk.com/gallery/themes/andy_hallett/template.html
My theme is at http://media.andyhallettuk.com/gallery/themes/andy_hallett/theme.php

The problem I have is with this page: http://media.andyhallettuk.com/gallery/index.php?cat=2

For some reason the category table is wider than the Home > Angel table and I know it's only a minor problem but it's driving me crazy. I really want my coppermine to be perfect and I think it looks untidy because it's wider but I haven't seen any other coppermine installation do this.

Has anyone had this problem before or know how to fix it?

Thanks in advance :)
Title: Re: Overhang of table
Post by: Casper on October 17, 2004, 09:28:08 pm
This is because your css gives class h1 padding as below;

Code: [Select]
.tableh1 {
        background : #BD713B;
        color : #FEF9DB;
border: 1px solid #BEA679;
        padding-top: 3px;
        padding-right: 10px;
        padding-bottom: 3px;
        padding-left: 10px;

Remove the right and left padding, and that should do it.
Title: Re: Overhang of table
Post by: Katieswirls on October 18, 2004, 07:32:28 pm
Thanks for your help; it still wouldn't line up but I decided to leave it be as it doesn't look that bad.