473,246 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

<IFRAME> Scrolling

Is it possible to stop horizontal scrolling whilst still maintaining
vertical scrolling within an <IFRAME> ?

Within each page of my site I have an IFRAME for content. For some
pages there is very little information to display, thus the frame has
no scrolling bars, but on those where there is lots then the vertical
scrolling bar appears. However, on two of my pages the horizontal
scrolling bar has appeared also - why!?
I'm just displaying text in each, so why should some pages display
just the vertical bar (which is all I want) and others display both?

Can anyone shed any light on this and suggest a tag or some sort of
work-around?
Jul 20 '05 #1
1 7003
Kirk wrote:
Is it possible to stop horizontal scrolling whilst still maintaining
vertical scrolling within an <IFRAME> ?


Not really, but you can hack two important browsers by adding this to
iframe documents:
body { /* hacks to isolate explorer here */
overflow-x: hidden;

}
html[xmlns] { /* hacks to isolate mozilla here */
height: 100%;
overflow: -moz-scrollbars-vertical;
}

--
Wired Earp
Wunderbyte
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

44
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to...
11
by: Jacques | last post by:
I have been writing html/xhtml for nearly as long as I can remember. I do not like frames and stopped using <frameset> a long time ago. But... I have never used <iframe> for anything--never paid...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.