Is there a way with javascript to force firefox on a page to display
the scrollbar even when the content does not extend outside the
viewable error?
Going from page to page where the scroll bar displays and then doesn't
display causes the page to visually jump when the scroll bar is shown
then hidden. 6 6132
<ry******@yahoo .comwrote in message
news:83******** *************** ***********@e25 g2000prg.google groups.com...
Is there a way with javascript to force firefox on a page to display
the scrollbar even when the content does not extend outside the
viewable error?
No.
Going from page to page where the scroll bar displays and then doesn't
display causes the page to visually jump when the scroll bar is shown
then hidden.
As it does for the other hundreds of millions of web pages out there.
--
Richard.
On Wed, 13 Feb 2008 21:26:50 -0800 (PST), in comp.lang.javas cript
"ry******@yahoo .com" <ry******@yahoo .com>
<83************ *************** *******@e25g200 0prg.googlegrou ps.com>
wrote:
>| Is there a way with javascript to force firefox on a page to display | the scrollbar even when the content does not extend outside the | viewable error? | | Going from page to page where the scroll bar displays and then doesn't | display causes the page to visually jump when the scroll bar is shown | then hidden.
Javascript is a bit of overkill. Use CSS:
html, body { width: 100%; height: 101%; }
-- ------------------------------------------------------------- jn******@yourpa ntsyahoo.com.au : Remove your pants to reply
-- -------------------------------------------------------------
On Feb 14, 2:42*am, Jeff North <jnort...@yahoo .com.auwrote:
On Wed, 13 Feb 2008 21:26:50 -0800 (PST), in comp.lang.javas cript
"ryanm...@yahoo .com" <ryanm...@yahoo .com>
<83cba9f5-b77e-45fc-a022-68a597459...@e2 5g2000prg.googl egroups.com>
wrote:
| Is there a way with javascript to force firefox *on a page to display
| the scrollbar even when the content does not extend outside the
| viewable error?
|
| Going from page to page where the scroll bar displays and then doesn't
| display causes the page to visually jump when the scroll bar is shown
| then hidden.
Javascript is a bit of overkill. Use CSS:
html, body { width: 100%; height: 101%; }
For the love of God, don't do that. ry******@yahoo. com a écrit :
>
Going from page to page where the scroll bar displays and then doesn't
display causes the page to visually jump when the scroll bar is shown
then hidden.
It is a question about CSS
body { overflow-y: scroll; } /* CSS 3 ? */
or
body { height: 101% } /* hideous */
The 1st doesn't work with my Safari 2, Opera 9.
(perhaps it works with IE 6 or/and 7 ?)
But all my browsers display (on Mac) something not too ugly with
body { overflow: scroll }
that display clear gost scrollbars when normal aren't necessary
On Feb 14, 3:28*am, SAM <stephanemoriau x.NoAd...@wanad oo.fr.invalid>
wrote:
ryanm...@yahoo. com a écrit :
Going from page to page where the scroll bar displays and then doesn't
display causes the page to visually jump when the scroll bar is shown
then hidden.
It is a question about CSS
* * body { overflow-y: scroll; } */* *CSS 3 ? **/
or
* * *body { height: 101% } * * * /* hideous */
That's worse than hideous. It's completely insane.
>
The 1st doesn't work with my Safari 2, Opera 9.
It might work in newer versions of FF.
(perhaps it works with IE 6 or/and 7 *?)
As Gregor noted, IE (idiotically) displays a scrollbar whether it is
needed or not, so it isn't part of the "problem."
>
But all my browsers display (on Mac) something not too ugly with
* * * body { overflow: scroll }
that display clear gost scrollbars when normal aren't necessary
Horizontal and vertical of course. What a waste that would be.
David Mark a écrit :
On Feb 14, 3:28 am, SAM <stephanemoriau x.NoAd...@wanad oo.fr.invalid>
wrote:
>ryanm...@yahoo .com a écrit :
>>Going from page to page where the scroll bar displays and then doesn't display causes the page to visually jump when the scroll bar is shown then hidden.
It is a question about CSS
body { overflow-y: scroll; } /* CSS 3 ? */
or
body { height: 101% } /* hideous */
That's worse than hideous. It's completely insane.
I agree but if that pleases to the OP ... :-/
> body { overflow: scroll }
that displays ghosts clearly of scrollbars when normal are not necessary
Horizontal and vertical of course. What a waste that would be.
Absolutely.
--
sm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Roberto |
last post by:
Hi everyone, I'm new here...
I have a frameset header/contents. It's necessary to force the header's
scrollbar to be visible to preserve the alignment between the two frames
(see www.liceomichelangelo.it for details).
What can I do instead of
<frame src="header.html scrolling="Yes">
that doesn't seem to work with netscape/mozilla?
|
by: Diane Wilson |
last post by:
I'm still working my way through the CSS box model to do tableless
layout. Thanks to all here who have helped previously; I'm making
progress but still running into issues.
This site is *almost* working correctly; it looks fine in IE6 and
Opera, but the top <div> does not display correctly on Firefox.
The page is at http://dianewilson.us/buffy/
The top of the page is a <div> defined as follows:
|
by: carballosa |
last post by:
Hi guys,
I need to use a one row datagrid in my asp.net 1.1 application. The data
source will contain 1 or 0 entries. When no rows of data are present I want
to show an empty row in the datagrid (ie. with empty cells). Unfortunatly I
get no datagrid shown instead. Any idea how I can force the datagrid to show
with an empty row?
Best regards,
|
by: dhnriverside |
last post by:
Hi guys
I'm using a div to create a list with ajax stuff. At the moment, the div
shows a scrollbar if the content is larger than the div.
The problem is that if it isnt, the scrollbar disappears and all my content
resizes, which obviously I don't want.
I know I can use overflow: auto on the div, but that shows a horizontal
scrollbar as well, and I don't need that - and because it's obvious I don't
|
by: Price Brattin |
last post by:
I dragged a datagrid onto a VB.Net WinForm and used the properties page and a
few lines of code to set it up, including the DataSource. No wizard setup
was used. It works fine except for one thing: there is no vertical scrollbar
even there are more lines than can be shown on the datagrid. There is plenty
room on the right for the scrollbar but it is not there. If there is a
scrollbar property for the .Net datagrid like in the VB6 DBgrid,...
| |
by: cjaserver |
last post by:
This works fine in IE, but is breaking in Firefox, and reported in
Netscape as well. I can't determine why.
http://www.chartermainstreetgld.com
click on the real estate section on the left nav area.
You can see where the green real estate image is being moved down a
line in firefox, where IE displays it correctly.
|
by: Paul |
last post by:
I found a great site for CSS tempaltes, http://blog.html.it/layoutgala/ .
I downloaded them, and played around with them. Then I tried to use the
template in as ASP.Net MasterPage, but everything seems to break. For
example, Number 13 is coded as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 13</title>
<meta http-equiv="content-type" content="text/html;...
|
by: Adam K. |
last post by:
Hello,
I have a site I'm working on for a customer and trying to figure out
why its displaying differently in IE7 than it is in Firefox.
http://print2webcorp.com/marketplace_staging/BrantfordExpositor/main/ViewPage.aspx?fn=1&en=9060768&pg=9076001&zn=9727160&l1=Accounting%20%26%20Finance&l2=
It looks perfect in Firefox, however when viewed in IE7 the navigation
is clearly broken. I've spent hours modifying it and trying different...
|
by: burtonfigg |
last post by:
On this test page:
http://jimpix.co.uk/clients/a/photos/
I have a "sub navigation" UL below the main navigation UL.
When viewed in Firefox 3, there is a 10px gap between the subnav UL and the UL above, and the div below.
When viewed in IE6, that gap is doubled - see this screenshot:
http://jimpix.co.uk/clients/a/untitled.png
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |