forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mortenkn on December 14, 2005, 05:27:23 pm

Title: Can't remove vertical scroll
Post by: mortenkn on December 14, 2005, 05:27:23 pm
Hi!

Why can't I remove the vertical scrollbar? I've tried in config, to change album width to 92% but it doesn't help.

Please look at www.diskotekglobe.dk and click on Billeder to see the gallery

Thank you!
Title: Re: Can't remove vertical scroll
Post by: kegobeer on December 14, 2005, 05:47:19 pm
Because you have Coppermine running inside a frame.
Title: Re: Can't remove vertical scroll
Post by: mortenkn on December 14, 2005, 08:34:20 pm
I didn't have any problems in CPG1.3.5
Why is the new release different? I guess that somewhere in the code, at table is to wide or something
Title: Re: Can't remove vertical scroll
Post by: kegobeer on December 14, 2005, 10:12:53 pm
Vertical scrollbars have nothing to do with how wide a table is.  If the content of a frame is longer than the frame, you'll have vertical scrollbars.
Title: Re: Can't remove vertical scroll
Post by: artistsinhawaii on December 14, 2005, 10:18:47 pm
Mortenka,

Look for this line in your default homepage:

<FRAME SRC="velkommen.php" NAME="content" marginwidth="24" marginheight="10" scrolling="auto">

change "auto" to "no".

Dennis
Title: Re: Can't remove vertical scroll
Post by: mortenkn on December 14, 2005, 10:40:13 pm
Whoops, I'm so emberrased :-[

I ment horizontal! English is not my primary language... Sorry.

Anyone know about the horizontal scrolling?  ;) It doesn't look good, espcially when there's no reason to scroll horizontal.

Thank you once again!
Title: Re: Can't remove vertical scroll
Post by: kegobeer on December 14, 2005, 10:51:24 pm
I don't see a horizontal scrollbar.  What is your screen resolution set at?  800x600?
Title: Re: Can't remove vertical scroll
Post by: artistsinhawaii on December 14, 2005, 10:53:10 pm
I don't see one at 800 x 600 either.  Nor at 1024 x 780.

Dennis
Title: Re: Can't remove vertical scroll
Post by: Tranz on December 15, 2005, 05:15:40 am
I don't see it either until I narrow the window a lot.
Title: Re: Can't remove vertical scroll
Post by: mortenkn on December 15, 2005, 11:16:43 am
There's a scrollbar in Internet Explorer @ 1024x768, on all the different computers I've tried.

Hasn't it something to do with a table?
Title: Re: Can't remove vertical scroll
Post by: Tranz on December 15, 2005, 04:39:10 pm
Oh, I was using Firefox. The scrollbar shows up in IE for me, too, then. Well, try making the width in the css smaller here:
Code: [Select]
#SYS_MENU {

        position:relative;

        bottom:3px;

        display: block;

        width:800px;

        height:10px;

        padding: 0px;

        z-index:1;

        visibility: hidden;

}
It really shouldn't matter since it is set to be hidden but maybe IE handles that kind of stuff weirdly. That was just the one width setting that seemed a bit big for your setup.
Title: Re: Can't remove vertical scroll
Post by: mortenkn on December 15, 2005, 08:28:12 pm
This is also why I use Firefox  ;) But the visitors, that's a different story.

Well, the widt of the frame is 772, so I've tried to set width as you showed me in the css-file to as little as 600, but the scrollbas is still there... Is there any other attributes I should try?
Title: Re: Can't remove vertical scroll
Post by: artistsinhawaii on December 15, 2005, 08:56:39 pm
mortenka,

You are apparently using project vi as your theme.  I suspect it has more to do with the theme's template settings than anything else.  Try hardcoding a specific size for the maintable in the theme's template.html file. This would be the first table setting.

Dennis
Title: Re: Can't remove vertical scroll
Post by: mortenkn on December 22, 2005, 08:53:10 pm
Yes, it is a project vii theme. But there's no table in template.html, it seems that it is all controlled in /include/themes.inc.php. Maybe this is something new in the new version of CPG

But is there a single line I should modify? It's a huge file.

Merry christmas!

/Morten