473,799 Members | 3,052 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scrollbars in IE disappearing and appearing again

I've come across a strange problem I can't seem to solve.

Every now and then the scrollbars in IE for http://www.websaid.be/
disappear. Most of the time the problem can be reproduced by following a
link on the page and then returning to the home page by clicking on the
arrows in the top left corner: suddenly the vertical scrollbar
disappears (although there is content outside the viewport) only to
reappear when hovering over the menu at the top.

When the menu (with the three red circles) is removed from the page, the
problem is gone, so it must have something to do with that menu, and in
particular the javascript. Does anyone have an idea what is going on
and/or have any hints on where to look to solve this problem? Thanks in
advance for any help!

Annelies
Feb 17 '06 #1
9 2215
VK

Annelies wrote:
I've come across a strange problem I can't seem to solve.

Every now and then the scrollbars in IE for http://www.websaid.be/
disappear. Most of the time the problem can be reproduced by following a
link on the page and then returning to the home page by clicking on the
arrows in the top left corner: suddenly the vertical scrollbar
disappears (although there is content outside the viewport) only to
reappear when hovering over the menu at the top.

When the menu (with the three red circles) is removed from the page, the
problem is gone, so it must have something to do with that menu, and in
particular the javascript. Does anyone have an idea what is going on
and/or have any hints on where to look to solve this problem? Thanks in
advance for any help!


Get all this stuff out (IE doesn't support XHTML):

// remove
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
// remove

Place instead:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html401/strict.dtd">

(if you are *not* planning to use frames and/or iframes)

If you need frames and/or iframes then place:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html401/frameset.dtd">

Nothing to do with JavaScript though.

Feb 17 '06 #2
VK wrote:
Annelies wrote:
I've come across a strange problem I can't seem to solve.

Every now and then the scrollbars in IE for http://www.websaid.be/
disappear. Most of the time the problem can be reproduced by following a
link on the page and then returning to the home page by clicking on the
arrows in the top left corner: suddenly the vertical scrollbar
disappears (although there is content outside the viewport) only to
reappear when hovering over the menu at the top.

When the menu (with the three red circles) is removed from the page, the
problem is gone, so it must have something to do with that menu, and in
particular the javascript. Does anyone have an idea what is going on
and/or have any hints on where to look to solve this problem? Thanks in
advance for any help!


Get all this stuff out (IE doesn't support XHTML):

// remove
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
// remove

Place instead:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html401/strict.dtd">

(if you are *not* planning to use frames and/or iframes)

If you need frames and/or iframes then place:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html401/frameset.dtd">

Nothing to do with JavaScript though.


Thanks for the help, but unfortunately that breaks the entire site
(layout in IE goes berzerk) since it has been written using XHTML. I
have not written the code myself, but have had to take over the existing
code so I'm afraid I'll have to stick to that. Since everything works
fine without the menu, I'm hoping there'd be a way to solve this without
having to rewrite all of the html....
Feb 18 '06 #3
VK wrote:
Annelies wrote:
I've come across a strange problem I can't seem to solve.

Every now and then the scrollbars in IE for http://www.websaid.be/
disappear. Most of the time the problem can be reproduced by following a
link on the page and then returning to the home page by clicking on the
arrows in the top left corner: suddenly the vertical scrollbar
disappears (although there is content outside the viewport) only to
reappear when hovering over the menu at the top.

When the menu (with the three red circles) is removed from the page, the
problem is gone, so it must have something to do with that menu, and in
particular the javascript. Does anyone have an idea what is going on
and/or have any hints on where to look to solve this problem? Thanks in
advance for any help!


Get all this stuff out (IE doesn't support XHTML):

// remove
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
// remove

Place instead:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html401/strict.dtd">

(if you are *not* planning to use frames and/or iframes)

If you need frames and/or iframes then place:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html401/frameset.dtd">

Nothing to do with JavaScript though.


Thanks for the help, but unfortunately that breaks the entire site
(layout in IE goes berzerk) since it has been written using XHTML. I
have not written the code myself, but have had to take over the existing
code so I'm afraid I'll have to stick to that. Since everything works
fine without the menu, I'm hoping there'd be a way to solve this without
having to rewrite all of the html....
Feb 18 '06 #4
VK

Annelies wrote:
Thanks for the help, but unfortunately that breaks the entire site
(layout in IE goes berzerk) since it has been written using XHTML. I
have not written the code myself, but have had to take over the existing
code so I'm afraid I'll have to stick to that. Since everything works
fine without the menu, I'm hoping there'd be a way to solve this without
having to rewrite all of the html....


Unfortunately there is no such way. IE simply doesn't support XHTML and
it doesn't plan to do so, plain all of it (btw IE 6.0 under Win98 SE
doesn't show scrollbars on initial load neither). So you have three
options:

1. Accept that at the very least 60% of your visitors will get random /
broken site layout and behavior.

2. Convert the entire site to HTML Strict / Frameset and revalidate it.

3. If you want to keep the original concept of "modern and as strict as
possible" then convert the site into conventional XML + XSLT structure.

The use of XHTML solution was an error to fix. Try to explain it to the
customer to get additional funding to redo it:- or go by the option 1.

Feb 18 '06 #5
VK wrote:
Unfortunately there is no such way. IE simply doesn't support XHTML and
it doesn't plan to do so, plain all of it (btw IE 6.0 under Win98 SE
doesn't show scrollbars on initial load neither). So you have three
options:

1. Accept that at the very least 60% of your visitors will get random /
broken site layout and behavior.

2. Convert the entire site to HTML Strict / Frameset and revalidate it.

3. If you want to keep the original concept of "modern and as strict as
possible" then convert the site into conventional XML + XSLT structure.

The use of XHTML solution was an error to fix. Try to explain it to the
customer to get additional funding to redo it:- or go by the option 1.

I'll have no choice then but to explain my customer that the original
code has been badly written so they'll have to stick with it (and maybe
remove/replace the dropdown menu at the top to stop the scrollbars from
disappearing) or have to get the html rewritten.

Either way, thanks for the clear explanation!

Anne
Feb 18 '06 #6
Annelies wrote:
VK wrote:
Unfortunately there is no such way. IE simply doesn't
support XHTML and it doesn't plan to do so, plain all
of it (btw IE 6.0 under Win98 SE doesn't show scrollbars
on initial load neither). So you have three options:

1. Accept that at the very least 60% of your visitors
will get random / broken site layout and behavior.

2. Convert the entire site to HTML Strict / Frameset
and revalidate it.

3. If you want to keep the original concept of "modern
and as strict as possible" then convert the site into
conventional XML + XSLT structure.

The use of XHTML solution was an error to fix. Try to
explain it to the customer to get additional funding to
redo it:- or go by the option 1.


I'll have no choice then but to explain my customer that
the original code has been badly written so they'll have
to stick with it (and maybe remove/replace the dropdown
menu at the top to stop the scrollbars from disappearing)
or have to get the html rewritten.

Either way, thanks for the clear explanation!


Clarity and explanation are things that VK does not provide. Granted
VK's posts in this thread are among his more lucid so maybe they could
be considered clear. They don't explain anything. You have an
intermittent problem and IE's lack of support for XHTML is a constant.
Constant conditions do not tend to have intermittent manifestations.
IE's lack of support for XHTML is not altered by navigating and then
clicking the back button.

Something else is responsible for the manifestations you observe, but
you appear to have removed this drop-down menu so the issue is beyond
resolution. However I also observe that declaration in layout.css:-

| html, body {
| background : #EEEEEE url('background .gif') repeat-y top center;
| font : 0.8em Verdana,sans-serif;
| padding : 0px;
| margin : 0px;
| height : 100%;
| text-align : center;
| behavior:url(". ./lib/csshover.htc");
| }

- sets the height of both the HTML and BODY elements to 100% and then
the major containing DIVs have their height set to 100%. It just takes
one assignment of, or implied use of overflow:hidden ; on any of those
elements to render the contents un-scrollable.

But the biggest direct suspect for your problem is the csshover.htc,
which is badly written and very likely to produce seemingly chaotic
interactions between the document and any style sheets it uses. As it
assigns mouseover and mouseout listeners to lots of elements in the DOM,
determined by a regular expression-based examination of all of the style
sheets, and those event handlers apply and remove class names, unless
well understood its actions are likely to be obscure and unexpected.

Particularly, its behaviour may be significantly altered by the initial
location of the mouse, such that if a page loads with the mouse over the
document (as would normally be the case following hypertext navigation)
its outcome may significantly differ from the outcome of loading a page
with the mouse off the document (as would normally be the case when
using the back button.

The style-sheets themselves don't appear to do anything that justifies
the existence of the csshover.htc so its use in the first place is
questionable.

Richard.


Feb 18 '06 #7
Annelies wrote:
VK wrote:
Unfortunately there is no such way. IE simply doesn't
support XHTML and it doesn't plan to do so, plain all
of it (btw IE 6.0 under Win98 SE doesn't show scrollbars
on initial load neither). So you have three options:

1. Accept that at the very least 60% of your visitors
will get random / broken site layout and behavior.

2. Convert the entire site to HTML Strict / Frameset
and revalidate it.

3. If you want to keep the original concept of "modern
and as strict as possible" then convert the site into
conventional XML + XSLT structure.

The use of XHTML solution was an error to fix. Try to
explain it to the customer to get additional funding to
redo it:- or go by the option 1.


I'll have no choice then but to explain my customer that
the original code has been badly written so they'll have
to stick with it (and maybe remove/replace the dropdown
menu at the top to stop the scrollbars from disappearing)
or have to get the html rewritten.

Either way, thanks for the clear explanation!


Clarity and explanation are things that VK does not provide. Granted
VK's posts in this thread are among his more lucid so maybe they could
be considered clear. They don't explain anything. You have an
intermittent problem and IE's lack of support for XHTML is a constant.
Constant conditions do not tend to have intermittent manifestations.
IE's lack of support for XHTML is not altered by navigating and then
clicking the back button.

Something else is responsible for the manifestations you observe, but
you appear to have removed this drop-down menu so the issue is beyond
resolution. However I also observe that declaration in layout.css:-

| html, body {
| background : #EEEEEE url('background .gif') repeat-y top center;
| font : 0.8em Verdana,sans-serif;
| padding : 0px;
| margin : 0px;
| height : 100%;
| text-align : center;
| behavior:url(". ./lib/csshover.htc");
| }

- sets the height of both the HTML and BODY elements to 100% and then
the major containing DIVs have their height set to 100%. It just takes
one assignment of, or implied use of overflow:hidden ; on any of those
elements to render the contents un-scrollable.

But the biggest direct suspect for your problem is the csshover.htc,
which is badly written and very likely to produce seemingly chaotic
interactions between the document and any style sheets it uses. As it
assigns mouseover and mouseout listeners to lots of elements in the DOM,
determined by a regular expression-based examination of all of the style
sheets, and those event handlers apply and remove class names, unless
well understood its actions are likely to be obscure and unexpected.

Particularly, its behaviour may be significantly altered by the initial
location of the mouse, such that if a page loads with the mouse over the
document (as would normally be the case following hypertext navigation)
its outcome may significantly differ from the outcome of loading a page
with the mouse off the document (as would normally be the case when
using the back button.

The style-sheets themselves don't appear to do anything that justifies
the existence of the csshover.htc so its use in the first place is
questionable.

Richard.

Feb 18 '06 #8
VK

Richard Cornford wrote:
You have an intermittent problem and IE's lack of support for XHTML is a constant.


Which again means at the very least 60% of customers having a
randomized layout/behavior of the proposed site. One may fix it for a
particular situation (menu), but it will explode in some other the
least expected place.

As you may notice I do not state true or false on the situation. One
may consider 60% of current Web users to be servants of the dark side -
which is just OK by me but is very difficult to accept as business
model to develop to ;-)

Feb 18 '06 #9
VK wrote:
Richard Cornford wrote:
You have an intermittent problem and IE's lack of support
for XHTML is a constant.
Which again means at the very least 60% of customers
having a randomized layout/behavior of the proposed site.


As IE's response to being presided with genuine XHTML is to offer the
user the opportunity to download it and save it to disk it is obvious
that for the page to be displayed at all in IE the mark-up must be being
interpreted as tag soup HTML.
One may fix it for a particular situation (menu), but it
will explode in some other the least expected place.
If the real cause of the problem is identifier and cured it will no
longer be a source of problems.
As you may notice I do not state true or false on the
situation.
And nobody should take you seriously if you did. What you did do is
present additional evidence for you total lack of analytical skills and
comprehension of logic.
One may consider 60% of current Web users to be servants
of the dark side - which is just OK by me but is very
difficult to accept as business model to develop to ;-)


Talk of a "business model" from someone with your limited skills and
rationality deserves no more than derision. In any real business context
you would be an expensive liability.

Richard.
Feb 18 '06 #10

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

Similar topics

24
4731
by: Nobody | last post by:
Okay, you are all so smart in here. Answer me this: IE6 in standards mode doesn't seem to hide scrollbars on the body element (overflow:hide) Ain't this a quandary. I have it in my head that I need to specify html instead. The scrollbars do hide on Gecko browsers though, so there is definitely a disagreement among browser developers on how to implement scrollbars (as a side note, Gecko browsers with their notoriously bug-ridden...
5
11206
by: Duane Lambe | last post by:
Hi - just a quick question, I hope it's simple enough that a visual example isn't required. I have an internal site, everything's the way I want it, but there's an anomoly in both Opera and Firefox, which doesn't exist in IE (surprise). Essentially, it's a div being margin:auto-d on the page. #container { padding: 0;
2
2609
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to get data from the server to actually do something useful. (These are generated by 3rd party database software.) After adding those references, and no other changes to my form.... all the controls disappear from the visual interface on the...
0
981
by: ojv | last post by:
Is it possible to prevent scrollbars from appearing on a DataGrid? If so please indicate how. Any help appreciated. ojv
0
2001
by: John Mabbott | last post by:
Hello all, We're getting some weird behavior with the ValidationSummary control. If I submit a page that fires some validators, the ValidationSummary displays them correctly. However, if I subsequently submit the page, the ValidationSummary control briefly disappears before re-appearing again! So, to recap: 1. I load one of my pages 2. I don't fill any of the input boxes and submit the page, causing
2
3807
by: Ernst Elzas | last post by:
Hello, If these questions have been asked numerous times before, please excuse me, I have not managed to find the information I needed. I'm making a webpage (for now it will only be in two languages, English and Hebrew), and noticed a few issues with scrollbars: I divided the page in divs, with drop-down menus appearing in the top-div: (quoting the relevant lines from the css file) html,body {background-color: #000008; color:red;...
3
5831
by: John Kraft | last post by:
I have a listview control that I want the columns of to remain a proportional size filling the listview completely. In the listview's Resize method, I calculate the new sizes and all looks fine. Sometimes, but not always though, scrollbars appear. The scroll bar has nowhere to scroll (because the columns fit the listview's size perfectly), and if you click on the scrollbars, they disappear. Anyone know what's causing the bars to appear...
5
13371
by: vunet.us | last post by:
How can I hide scrollbars which appear in my floating div element with CSS property overflow:auto? I do need to use auto overflow. Thank you.
0
3439
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA uses Windows Mobile software. Since using the PDA, I have had the problem of emails disappearing from the Yahoo! server. However I think I now understand how to avoid this. It seems that Windows Mobile is...
0
9687
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
9541
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
10482
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
10251
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
10225
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,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
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...
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.