can't get rid of horizontal scrollbar.... can't get rid of horizontal scrollbar....
 

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 get rid of horizontal scrollbar....

Started by error19, June 26, 2006, 01:55:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

error19

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

Gizmo

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

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

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

Gizmo

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