Computing.Net > Forums > Web Development > Iframe scroll bar pronlem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Iframe scroll bar pronlem

Reply to Message Icon

Name: Flynn
Date: February 22, 2007 at 07:30:03 Pacific
OS: Windows XP
CPU/Ram: ?
Product: ?
Comment:

Hey

Here's my page. When i designed this it didnt have a horizontal scroll bar but on some browsers it does.. I have tried setting it to scrolling="vertical" but the horizontal one remains... any ideas? help please!

http://www.silver-trail.com/test.htm




Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: February 22, 2007 at 13:19:22 Pacific
Reply:

There are no easy fixes that I know of. All the standard values for scrolling or overflow are either on or off.

However, you are the creater of that content. If you create the IFrame content so that it "fits" inside the IFrame. However the width of the IFrame includes the vertical scrollbar. So, if you create a 500px wide IFrame you will need to create the content to be about 470px wide. Or something along those lines.

Michael J


0

Response Number 2
Name: Flynn
Date: February 23, 2007 at 07:07:04 Pacific
Reply:

Do u mean make the content so that you dont have top scroll down.. Ive made the width so that there is no need to have a horizontal scroll bar but some browsers put it in...

http://www.silver-trail.com/test.htm

See i have it working now in FF but in IE the v.scroll bar does nothing?
any ideas?

Here's my current code..

<iframe src="home.htm" name="home" width="539" marginwidth="0" height="398" marginheight="0" align="middle" scrolling="no" frameborder="0" style="overflow-y:scroll;"></iframe>


0

Response Number 3
Name: Michael J (by mjdamato)
Date: February 23, 2007 at 07:58:35 Pacific
Reply:

Change your IFRame to this

<iframe src="home.htm" name="home" width="539" margin="20px" height="398" align="middle" scrolling="yes" frameborder="0"></iframe>

And then for your "content" pages that go in the IFrame, change the width to "520"

Michael J


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Iframe scroll bar pronlem

Iframe scroll bars www.computing.net/answers/webdevel/iframe-scroll-bars/1438.html

IFRAME and scroll bar colours www.computing.net/answers/webdevel/iframe-and-scroll-bar-colours/1647.html

Get rid of horizontal scroll bar IE www.computing.net/answers/webdevel/get-rid-of-horizontal-scroll-bar-ie/2635.html