Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: can't get rid of horizontal scrollbar....  (Read 3897 times)

0 Members and 1 Guest are viewing this topic.

error19

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
can't get rid of horizontal scrollbar....
« on: June 26, 2006, 01:55:42 pm »

hi, i just installed a coppermine gallery on my firend's site and it's placed inside of an iframe. so that it will fit nicely into the iframe, i've told the gallery to be only 700px wide inside both the template.html file and the admin configuration. but it still has a horizontal scrollbar. i've changed the width of the gallery several times and it's always got horizontal scrolling. what's strange is that it's always the same amount of scrolling no matter the size of the table, about 20px or the width of the verticle scrollbar. i can't find where this width is being defined anywhere.
check it out here:
http://mcaaberg.dk/
(and click on "Billeder")

any suggestions would be extremely welcome as i'm tearing my hair out.
thanks!
ren
« Last Edit: July 04, 2006, 07:55:34 am by GauGau »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: can't get rid of horizontal scrollbar....
« Reply #1 on: June 26, 2006, 05:59:57 pm »

Yea... this is a problem with iframes and IE. Do a Google seach "iframe scroll bar in ie" and you'll get more answers to your problem that you care to read. There are a couple of ways to fix this but it depends on your code setup so do this first and if you don't have a fix, come back and we'll help you out.  :)

Gizmo
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

error19

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: can't get rid of horizontal scrollbar....
« Reply #2 on: June 27, 2006, 03:55:36 am »

thanks so much for pointing me in the right direction, i got it sorted now.
thanks!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: can't get rid of horizontal scrollbar....
« Reply #3 on: June 27, 2006, 06:25:00 am »

I don't know in wich way you fix this issue but the simple one is:
- add scrolling="no" to iframe tag
please mention how you did that for others
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: can't get rid of horizontal scrollbar....
« Reply #4 on: June 27, 2006, 01:32:16 pm »

Well, the issue is using iframes inside <div> tags such as in this case. This causes problems and can even result in losing the vertical scrollbar. Best thing to do is forget using iframes all together and stick with <div> tags.

@error19, you said it was sorted but now the horizontal scrollbar shows in Firefox and not in IE. Also, you are missing the closing </div> tag.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.