There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Remove horizontal scrollbar in iframe


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
06-Oct-2005, 02:45 AM #1
Arrow Remove horizontal scrollbar in iframe
I added a iframe in a page and horizontal scrollbar is coming....please tell me which line to add in the script to remove the horizontal bar.

Please have a look at the website...where problom is coming. Btw, when i load a site locally (through my computer) then no horizontal bar is coming...but when i load through internet then horizontal bar is coming.

http://www.jaguarfilms.com/events.html


Code
-----

<iframe src="events_content.html" marginheight="0" marginwidth="0" noresize="" align="left" frameborder="0" height="511" scrolling="yes" width="363"></iframe>
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
06-Oct-2005, 02:46 AM #2
I also tried this but not working....

iframe {
overflow-x: hidden;
overflow-y: scroll;
}
php guy's Avatar
Computer Specs
Senior Member with 514 posts.
 
Join Date: Dec 2004
Location: Bowlaro Lanes, WA
Experience: That's Mr. Clueless to you
06-Oct-2005, 05:55 PM #3
Try scrolling="auto" insteed of scrolling="yes" in your iframe tag.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
06-Oct-2005, 08:04 PM #4
Making scrolling"auto" doesnt help. I alreday tried.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
07-Oct-2005, 07:50 AM #5
Any help/Solution ?
syxxpak69er's Avatar
Member with 91 posts.
 
Join Date: Mar 2003
Location: NH
Experience: Know my stuff but im not expert.
09-Oct-2005, 10:29 AM #6
If you don't want to see a scroll bar then just put in "no" instead of yes.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
09-Oct-2005, 10:50 AM #7
If i set to "no" then vertical bar will also gone and I only dont want horizontal one.
syxxpak69er's Avatar
Member with 91 posts.
 
Join Date: Mar 2003
Location: NH
Experience: Know my stuff but im not expert.
09-Oct-2005, 10:53 AM #8
You have a horizontal bar because your iframe isn't wide enough. try widening the iframe.
DrP's Avatar
DrP DrP is offline
Senior Member with 481 posts.
 
Join Date: Jul 2005
Location: UK
Experience: What's a compoota?
09-Oct-2005, 12:27 PM #9
Looks fine to me (in Firefox).
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
09-Oct-2005, 12:31 PM #10
Cant increase the width, because not have a space.
syxxpak69er's Avatar
Member with 91 posts.
 
Join Date: Mar 2003
Location: NH
Experience: Know my stuff but im not expert.
10-Oct-2005, 09:16 AM #11
Did you make the layout? If so remake it and make the box wider. Then you can make the iframe wider.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
10-Oct-2005, 10:04 AM #12
Well I think when i define the width in Iframe then doesnt matter what size of iframe i used. The loading page must be automatically fit and updated.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
10-Oct-2005, 11:36 AM #13
And when u watch the website in Firefox then coming absolutely fine. Have a look.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:24 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.