Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can't remove vertical scroll  (Read 9675 times)

0 Members and 1 Guest are viewing this topic.

mortenkn

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Can't remove vertical scroll
« 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!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't remove vertical scroll
« Reply #1 on: December 14, 2005, 05:47:19 pm »

Because you have Coppermine running inside a frame.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't remove vertical scroll
« Reply #2 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't remove vertical scroll
« Reply #3 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.
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Can't remove vertical scroll
« Reply #4 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
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't remove vertical scroll
« Reply #5 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!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can't remove vertical scroll
« Reply #6 on: December 14, 2005, 10:51:24 pm »

I don't see a horizontal scrollbar.  What is your screen resolution set at?  800x600?
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Can't remove vertical scroll
« Reply #7 on: December 14, 2005, 10:53:10 pm »

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

Dennis
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Can't remove vertical scroll
« Reply #8 on: December 15, 2005, 05:15:40 am »

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

mortenkn

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't remove vertical scroll
« Reply #9 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?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Can't remove vertical scroll
« Reply #10 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.
Logged

mortenkn

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't remove vertical scroll
« Reply #11 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?
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Can't remove vertical scroll
« Reply #12 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
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't remove vertical scroll
« Reply #13 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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.