red_train them.. Big space.. can't get the code given to work red_train them.. Big space.. can't get the code given to work
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

red_train them.. Big space.. can't get the code given to work

Started by intensetat, April 07, 2008, 05:50:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

intensetat

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.

casNuy

Suggest you try another forum, this one of for thw Postnuke integration module.

Cas

Nibbler


steveeh131047

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.

steveeh131047

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!

steveeh131047

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