Old 07-02-2004   #1 (permalink)
Registered User
 
supafly's Avatar
 

Join Date: May 2004
Location: Preston England on the west side
Posts: 290
Images: 26

Send a message via MSN to supafly
Question Iframes How do you stop them scrolling side ways!

How do YOU stop iframes from side scrolling!??
__________________
supafly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-02-2004   #2 (permalink)
Joe
Registered User
 
Joe's Avatar
 

Join Date: May 2004
Location: Warrington, UK
Posts: 187
Images: 5

<iframe src="XXX" name="XXX" frameborder="X" width="XXX" height="XXX" scrolling="no"></iframe>

I think that should work....

Joe.
__________________
I prefer pizza over sex, only because I can get pizza.
Joe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-02-2004   #3 (permalink)
Registered User
 
malboroman's Avatar
 

Join Date: Nov 2003
Location: The Netherlands
Posts: 603
Images: 8

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
Quote:
Originally Posted by Joe
<iframe src="XXX" name="XXX" frameborder="X" width="XXX" height="XXX" scrolling="no"></iframe>

I think that should work....

Joe.
scrolling="no" does the trick and keeps it from scrolling, but this line keeps it from scrolling in any way.... vertically too!
__________________


"Only the dead have seen the end of war."

- Plato

Last edited by malboroman; 07-02-2004 at 12:45 PM.
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-02-2004   #4 (permalink)
EvO
Registered User
 

Join Date: Jun 2004
Posts: 30
Images: 1

yeah i have the same problem, its when using tables inside iframes the iframe seems to put a 0.5 - 1cm border on either side of the table but its fine untill it needs to vertically scroll then as soon as it scrolls vertically the scroll bar coming in forces it to have to scroll horizontally as well (the scrolling horizontally been the problem).

i've not tried this yet but using something like marginwidth="0" marginheight="0" (if thats right) may work
__________________
EvO is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-04-2004   #5 (permalink)
Registered User
 
BlodoPKNZ's Avatar
 

Join Date: May 2004
Location: Eastern Europe
Posts: 302
Images: 4

Whats the problem of making the page fit in the iframe? Always subtract 5 pixels from the width e.g. if the iframe has width=400 your page must be width=395 or 390. Accomplish this using tables. Nothing easier.
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-04-2004   #6 (permalink)
EvO
Registered User
 

Join Date: Jun 2004
Posts: 30
Images: 1

actually my post was right, without the 2 pieces of code (MARGINWIDTH="0" MARGINHEIGHT="0" ) added, the iframe by default leaves a margin that is around 1cm big all around the content.
__________________
EvO is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclamation How to disable frame resizing & scrolling of frames shinde_vishvana HTML / PHP / ASP / JS 3 11-07-2007 03:03 PM
Somebody STOP ME! :D Man1c M0g Announcements 1 11-07-2005 11:33 PM
iframes in IE6 doing my nut Heero HTML / PHP / ASP / JS 5 04-25-2005 09:28 PM
Planet Side Wallpaper Calipso Adobe Photoshop 11 10-20-2004 01:17 AM
Iframes Yes or No supafly HTML / PHP / ASP / JS 9 06-08-2004 10:15 PM


All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT