473,657 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

overflow: auto not working in firefox

I just implemented an "overflow: auto" for a div in the main message
window: http://www.auriance.com/docs/interaction/

This works as expected in Internet Explorer and Opera, but in Firefox
it doesn't. There shouldn't be a scrollbar on the page, but instead, on
the div that shows the messages.

Any idea?
Thanks,

Jun 23 '06 #1
4 23250
Harry wrote:
I just implemented an "overflow: auto" for a div in the main message
window: http://www.auriance.com/docs/interaction/

This works as expected in Internet Explorer and Opera, but in Firefox
it doesn't. There shouldn't be a scrollbar on the page, but instead, on
the div that shows the messages.

Any idea?


Yes - I suspect the problem is the "height:100 %"

--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"
Jun 23 '06 #2

Tony wrote:
Yes - I suspect the problem is the "height:100 %"


This didn't solve my problem :(
http://www.auriance.com/docs/interaction/

Jun 23 '06 #3
Harry wrote:
Tony wrote:
Yes - I suspect the problem is the "height:100 %"


This didn't solve my problem :(
http://www.auriance.com/docs/interaction/


When I look in Firefox's DOM inspector, the div in questions is set to
"overflow: scroll;". If I change it to auto with DOM inspector, it
works as I think you expect.
Jun 24 '06 #4
Tony A. wrote:
Harry wrote:
Tony wrote:
Yes - I suspect the problem is the "height:100 %"

This didn't solve my problem :(
http://www.auriance.com/docs/interaction/


When I look in Firefox's DOM inspector, the div in questions is set to
"overflow: scroll;". If I change it to auto with DOM inspector, it
works as I think you expect.


Of course it will not work with "overflow: scroll;" and contrary to what
the OP said, it does not work in either IE or Fx, with "overflow:
auto;", if no height is provided for the div and it works in both if a
height is provided for the div (the div needs dimension - i.e. scrollbar
to which depth).

--
Gus
Jun 25 '06 #5

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

Similar topics

2
2963
by: R0bert Neville | last post by:
I created a simple template with common tags. It serves as a quick reference guide for my web development efforts. The web page renders great in Firefox, yet becomes a mess in IE. The HTML and CSS code validates on the server. You may view the template at the following link. http://neville.f2o.org/Template_noXML.html These tests relate to FireFox 1.0 and IE 6.0 on XP. Let me know if you encounter further deviations with your browser...
1
13239
by: Marek Mänd | last post by:
I have question regarding CSS overflow atribute. <body> <table style="height:100%" id="pagetable"> <td style="vertical-align:top;"> <div style="height:100%;overflow:scroll;/*overflow:-moz-scrollbars-vertical;*/overflow-x:hidden;overflow-y:auto;"> <table style="width:100%;"> which works fine in IE as i want it to, but not in Mozilla/Firefox 1.03.
2
6365
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div with an "overflow: auto" it seems to lose the onmouseover event for my target. Anyone come across this issue and found a resolution? Please advise. Here is a link to my code.
1
6360
by: Simon Dean | last post by:
Hi, Im trying to learn CSS and putting a website in effect. Just getting used to DIV's and SPAN's and using the proper formatting of H1 H2 H3 etc to format HTML documents and using different stylesheets to control formatting. So far it's going pretty well, and Im just ripping up everything I knew about tables and starting with DIV's. Though I seem to be having a hell of a time working with padding and margins, then trying to realise...
4
12525
by: reycri | last post by:
I have a page that works as I intend in IE but not in Firefox: <html> <head> <title>Overflow Test</title> </head> <body style='overflow:hidden; margin:0; padding:0;'> <table border='0' cellpadding='0' cellspacing='0' style='border-collapse:collapse; width:100%; height:100%;'> <tr><td colspan='2' style='height:3em; border-bottom:1px solid
3
19071
by: Otto de Voogd | last post by:
I posted the problem below in alt.www.webmaster before, but no-one knew the answer, however someone suggested this group as a good place to ask. I am trying to fit images into a browser window using CSS and in particular overflow:auto; The idea being that if a user's window is too small the image becomes scrollable (horizontally) and a horizontal scrollbar appears. It works nicely in Firefox and Opera but with Internet Explorer 7 a...
1
1864
by: leaflord | last post by:
Hello, I've got basic html knowledge and am working on a site that was originally designed by someone else. My problem is this: I've been embedding YouTube videos in a website where one of the tables has the format: <div style="overflow:auto; width:535px; height:355px;">
3
10860
by: Justin England | last post by:
Background: I am working for a client putting a textbook online. The layout of the textbook is straight forward and is easy enough to style with <h?>, <p>, <uland <oltags. The text book also contains small images of a key that represent a key point within the text. In the printed book, these keys are positioned to the left of the text (in the margins if you will) and some paragraphs may have more than one key. It is important to the...
1
10524
by: jaybee07 | last post by:
I have been working on an application that generates html source code. I came across an issue and have replicated it down to the simplest form. The problem is that I have a div covering 42% of the page. Inside that I have a table that covers 85% of the div. Inside that table I have a div with overflow: auto set so that if the data in the div becomes larger than the 85% of the table the div will start to scroll. The code works fine in IE & not in...
0
8385
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8303
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8821
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8723
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8502
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.