coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Heroe on January 28, 2010, 07:13:42 PM

Title: [Solved]: white space between the header and the main container
Post by: Heroe on January 28, 2010, 07:13:42 PM
Hello,
i have some problem with my theme and i cant find solution for white space above the main container.

Examples :

http://abroadbg.com/displayimage.php?album=39&pos=3#nav_pic << many lines white space above the displayed image.
http://abroadbg.com/guestbook.php << another many lines space above the guestbook (((

I don't know if its needed but here is link to test account.
user: test
password: 123654
Title: Re: white space between the header and the main container
Post by: phill104 on January 28, 2010, 07:46:57 PM
Could be because you are wrapping your maintable in an extra <td>
Title: Re: white space between the header and the main container
Post by: Heroe on January 28, 2010, 08:12:46 PM
Thank you for the reply Phill Luckhurst but why if i have extra <td> tag the validator don't show any error
Title: Re: white space between the header and the main container
Post by: Nibbler on January 28, 2010, 08:30:24 PM
You could add a vertical-align: top style to the td that's holding the {GALLERY}. I don't quite understand your layout, try using fewer tables.
Title: Re: white space between the header and the main container
Post by: Heroe on January 28, 2010, 09:06:55 PM
Thank you Nibbler,

<td style="vertical-align: top">{GALLERY}

</td>

  </tr>

</table>
solve my problem with the gap.  :)

Ivo