coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: intensetat on April 07, 2008, 05:50:24 PM

Title: red_train them.. Big space.. can't get the code given to work
Post by: intensetat on April 07, 2008, 05:50:24 PM
I searched the forum for instructions on how to get rid of the big space above categories in this red_train theme and found this:
* html #content {
width: 510px;
}

as the code to enter into the style.css

Maybe I'm not entering it in the "right" spot?  I have tried again, and again, but still have the same empty space.  Can anyone assist as I LOVE this them and it works perfectly with my page.
Title: Re: red_train them.. Big space.. can't get the code given to work
Post by: casNuy on April 07, 2008, 07:06:57 PM
Suggest you try another forum, this one of for thw Postnuke integration module.

Cas
Title: Re: red_train them.. Big space.. can't get the code given to work
Post by: Nibbler on April 07, 2008, 07:25:49 PM
Moved. Post a link to your gallery.
Title: Re: red_train them.. Big space.. can't get the code given to work
Post by: steveeh131047 on April 07, 2008, 08:32:29 PM
There is no big gap on Firefox, only Internet Explorer, so it looks like a IE rendering problem. I've tried several of the usual IE layout "hacks" without success. The hack quoted in the earlier thread didn't work for me either, so I don't think you're entering it incorrectly. I'll have another try later this evening if I get a few minutes spare.
Title: Re: red_train them.. Big space.. can't get the code given to work
Post by: steveeh131047 on April 07, 2008, 08:53:11 PM
Just noticed that a massive 215px right-hand margin had been applied to the Content div styling. This would have the effect of IE wanting to clear the Nav section before inserting the Content.

Try setting it to 0 :-

In the style.css stylesheet find:
#content {
width:510px;
margin: 1em 215px 0em 15px;
font-size: 1.1em;
overflow:auto;
}


and change it to:
#content {
width:510px;
margin: 1em 0px 0em 15px;
font-size: 1.1em;
overflow:auto;
}


It works for me in Firefox and IE7, but you may find it breaks again in IE6 or earlier. I guess the original author must have had it there for a reason!
Title: Re: red_train them.. Big space.. can't get the code given to work
Post by: steveeh131047 on April 08, 2008, 02:05:26 PM
Actually, that fixes the problem for IE6 also.

For a wider (930px) version, which looks a bit less "crowded", and where the IE problem has already been fixed by reducing the Content div right margin, take a look at red_train_2

Reply #11 on:
http://forum.coppermine-gallery.net/index.php/topic,34824.0.html