Can't remove vertical scroll Can't remove vertical scroll
 

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

Can't remove vertical scroll

Started by mortenkn, December 14, 2005, 05:27:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mortenkn

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!

kegobeer

Because you have Coppermine running inside a frame.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mortenkn

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

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

artistsinhawaii

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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

mortenkn

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!

kegobeer

I don't see a horizontal scrollbar.  What is your screen resolution set at?  800x600?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

artistsinhawaii

I don't see one at 800 x 600 either.  Nor at 1024 x 780.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Tranz

I don't see it either until I narrow the window a lot.

mortenkn

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?

Tranz

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:
#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.

mortenkn

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?

artistsinhawaii

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
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

mortenkn

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