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
-
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!
-
Because you have Coppermine running inside a frame.
-
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
-
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.
-
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
-
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!
-
I don't see a horizontal scrollbar. What is your screen resolution set at? 800x600?
-
I don't see one at 800 x 600 either. Nor at 1024 x 780.
Dennis
-
I don't see it either until I narrow the window a lot.
-
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?
-
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.
-
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?
-
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
-
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