473,387 Members | 1,321 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,387 software developers and data experts.

overflow and whell mouse scroll

Hi,

I'm trying to have a box with "overflow: auto" in order to print only a
few part of a text.
I want to have a scroll for this box : that's work fine.
But my problem is when I use the Wheel of the mouse : the box don't
scroll. If I click on a link iinto the box, this will give focus to the
box and the scroll work, but I want the scroll also when the box hasn't
the focus.

Do you have any suggestion for me, please ?

Thank for your help and understanding my question.

An example :
<html>
<head>
<title>overflow test</title>
<style type="text/css">
<!--
div#bloc1 {
width: 300px;
height: 50px;
overflow: auto;
border: 1px solid #000;
}
-->
</style>
</head>
<body>
<div id="bloc1">
<a href="#">Focus</a>
texte texte texte texte texte texte texte texte texte texte texte
texte
texte texte texte texte texte texte texte texte texte texte texte
texte
texte texte texte texte texte texte texte texte texte texte texte
texte
</div>
</body>
</html>

Aug 6 '05 #1
1 3036
er*********@yahoo.fr wrote:
I'm trying to have a box with "overflow: auto" in order to print only a
few part of a text.
Oh dear.
I want to have a scroll for this box : that's work fine.
It doesn't.
But my problem is when I use the Wheel of the mouse : the box don't
scroll.
See? And there are quite a few more problems.
Do you have any suggestion for me, please ?


Stop wanting scrollbars, they are a usability nightmare.

--
Spartanicus
Aug 6 '05 #2

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

Similar topics

15
by: Andrew Fedoniouk | last post by:
I have a simple test document which produce the following in Mozilla and Opera: http://terrainformatica.com/w3/p2/problem1.png Internet Explorer behaves as per recommendation (I guess) Did I...
3
by: Ingrid | last post by:
Dear group, I wanted to make a scrollable list-menu that is fixed in place and fitted to the height of the browser window, so I tried: ol#nav{ position: fixed; top: 2em; bottom: 0; height:...
1
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this...
1
by: Marcin | last post by:
Im using MS Access 2000. i have a main form and ona subform that is scrolled vertically. unfortunately i use mouse scroll to scroll this subform. I appreciate your help
2
by: Jason Chu | last post by:
Simple compatibility question, I have this: <table height="100%" width="50%" border="1"> <tr height="50%"> <td> <asp:Panel id="Panel1" runat="server" Height="100%" Width="100%"...
19
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up...
3
by: Don Frechette | last post by:
Hello everyone. I had the problem of the mouse scrolling through records on a form when using the wheel and corrected it by using Stephen Lebans solution, except for one computer which still has...
2
jwagener
by: jwagener | last post by:
Hi, I am building a website and have come across a little problem. I am using the css overflow function but i cannot use the mouse wheel to scroll it in IE7, it works perfectly in Firefox. ...
1
by: gsuns82 | last post by:
Hi all, I have a problem in creating scroll bar. consider my following css class code for a <Div> tag: ------------------------------------------------------------------------------...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.