coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: johanz on November 19, 2008, 07:58:04 PM

Title: Spacings between tables or something
Post by: johanz on November 19, 2008, 07:58:04 PM
Link: http://random.aa.am/cpg/index.php
I want to remove space from places shown in the picture.
Title: Re: Spacings between tables or something
Post by: phill104 on November 19, 2008, 09:31:11 PM
What do you mean? Do you still want a border to separate the text items so removing the spaces will leave a thick border or do you want the whole lot wrapped with a single border?

For the first option you will have in your template the line

<table class="maintable" cellspacing="1" cellpadding="0" align="center" width="100%">

change to

<table class="maintable" cellspacing="0" cellpadding="0" align="center" width="100%">

A great tool for working out things like this if your are using firefox is to install the firebug plugin.
Title: Re: Spacings between tables or something
Post by: johanz on November 19, 2008, 09:32:14 PM
Well the thing I want is to remove that white space and just have normal 1px border
Title: Re: Spacings between tables or something
Post by: Joachim Müller on November 20, 2008, 08:28:12 AM
Then do as Phil suggested.
Title: Re: Spacings between tables or something
Post by: johanz on November 20, 2008, 06:46:48 PM
Well then I have 2px line, not 1
Title: Re: Spacings between tables or something
Post by: phill104 on November 20, 2008, 09:23:40 PM
In that case you will need to use a little css.

Google "collapsing borders model" and it should give you all the info you need.