Remove scrollbar in iFRAME

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jojje
Regular
Posts: 41
Joined: Thu Dec 08, 2005 4:09 pm
Location: Sweden
Contact:

Remove scrollbar in iFRAME

Post by jojje »

I have a photo gallery that i have included with wrapURL plugin.

It looks very good in Firefox but in IE I get a vertical and a horizontal scrollbar. How can I disable the scrollbar in ths CSS?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Remove scrollbar in iFRAME

Post by garvinhicking »

You can also style "iframe" elements using a "border/margin" attribute. What's your URL, so we could see your CSS?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jojje
Regular
Posts: 41
Joined: Thu Dec 08, 2005 4:09 pm
Location: Sweden
Contact:

Post by jojje »

dk70
Regular
Posts: 19
Joined: Sat Aug 13, 2005 9:53 am

Post by dk70 »

Try using this script http://dynamicdrive.com/dynamicindex17/iframessi2.htm Just make a new html file where you paste the code, replacing "externalpage.htm" with your gallery and then put htmlfile in wrapurl configuration. May be not a good solution but if it works...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Phew, I'm afraid this is a harder problem that happens because of the simpleview CSS code and the iframe styling...sadly I don't really have the time to inspect all of the involved CSS; but I think it's a problem because of width+height declarations within the simpleviewer page. :-/

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

You can also try setting the "overflow:hidden" property in your CSS. I'm afraid I can't test it right now, but if you find what element is extending past the scrollbars (using a tool like SlayerOffice's MODI can help), you can set the container to hide its overflow, which should remove the scrollbars.
Judebert
---
Website | Wishlist | PayPal
Post Reply