473,802 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The best way to solve browser's vertical scollbar problem

Hello,

In Firefox or other browers, vertical scrollbar might not exist and
this lead to the page aligning problem (Inconsistency) , i.e. when you
just from one page (w/scrollbar) to another page with ((w/o
scrollbar).

These kind of inconsistency is not what we want. Some methods are
suggested, e.g. hight:101% or Mozilla styles hack...

But what do you think is the best approach?

Jun 27 '07 #1
3 2393
howa wrote:
In Firefox or other browers, vertical scrollbar might not exist and
this lead to the page aligning problem (Inconsistency) , i.e. when you
just from one page (w/scrollbar) to another page with ((w/o
scrollbar).
It appears you are striving for a "pixel-perfect" design. Stop doing
that; it is unobtainable. Think instead about "fluid" design.
These kind of inconsistency is not what we want. Some methods are
suggested, e.g. hight:101% or Mozilla styles hack...
You have no way to know how wide nor how tall my browser window is, much
less what fonts I am using, what text size I have set as a minimum, or
even if I am using a visual browser instead of a text, or speaking,
browser.
But what do you think is the best approach?
Design flexible layouts where a mere 20 pixels is not going to break
your design.

As always, a URL to your attempt would help with further advice.

--
-bts
-Motorcycles defy gravity; cars just suck
Jun 27 '07 #2
On 6/26/2007 8:46 PM, howa wrote:
Hello,

In Firefox or other browers, vertical scrollbar might not exist and
this lead to the page aligning problem (Inconsistency) , i.e. when you
just from one page (w/scrollbar) to another page with ((w/o
scrollbar).

These kind of inconsistency is not what we want. Some methods are
suggested, e.g. hight:101% or Mozilla styles hack...

But what do you think is the best approach?
Why would you want to force a vertical scrollbar when none is needed?

The important thing is to avoid HORIZONTAL scrollbars, even when I
reduce the width of my viewing window.

--

David E. Ross
<http://www.rossde.com/>.

Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html>
Jun 27 '07 #3
howa wrote:
Hello,

In Firefox or other browers, vertical scrollbar might not exist and
this lead to the page aligning problem (Inconsistency) , i.e. when you
just from one page (w/scrollbar) to another page with ((w/o
scrollbar).
Live with it. That is how the web works.
Jun 27 '07 #4

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

Similar topics

7
1892
by: Hostile17 | last post by:
I'm trying to arrive at a kind of "industry standard" or "best practice" approach to CSS for a policy document aimed at developers, but not necessarily very experienced developers. What does the CIWAS community think is the best way to go about styling documents for maximum compatibility/minimum problems with old browsers. We have a range of people currently using a range of techniques, i.e.
145
8867
by: Mark Johnson | last post by:
Oddly enough, I found it difficult, using Google, to find a list of best-of sites based on the quality of their css packages. So I'd ask. Does anyone know of particularly good sites which are in good measure because of their creative and useful css designs? I'm aware of Zen Garden and a few others. So don't bother with those. And I hope I don't get replies from people with a 'tin ear' and no design sense. Good sites. Good pages. That's...
136
9461
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
1
3154
by: Dan | last post by:
Hi, I was wondering if anyone could come up with a cross browser image transition that I could use... I have already made one that works in IE but i know it doesn't work in Mozilla Firefox. Below is the script I have made, there is only one error with it (besides compatabilty), the fact that you can make the images transition even when there is already a transition occuring, I have tried to compensate for this, but it doesn't work......
16
2823
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and efficient navigating within Visual Studio 2005. Let's say your project (or solution) has dozens of forms and hundreds or even thousands of routines. Two Questions: 1) BUILT-IN to Visual Studio 2005. What ideas do you have to quickly
1
1559
by: raman | last post by:
Hi, Kindly, look at the following problem. Objective: To draw a message sequence chart (MSC) from given log file. Input: Generated trace file (eg log.trace) Output: log.trace.html
2
2468
by: davidson1 | last post by:
Hai friends..for menu to use in my website..i found in one website....pl look below website.... http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm i downloaded 2 files.... menuitems.js mmenu.js
246
6485
by: Chris F.A. Johnson | last post by:
I have posted a quick survey at <http://cfaj.freeshell.org/testing/width.shtml>. There's only one question: select the widest line that fits in your normal browser window. Your assistance is appreciated. -- Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
8
7209
by: removeps-groups | last post by:
Is there any way to control the space between top of browser or frame and document body? What I have is this: There is a simple file test1.html, and file test.html that displays test1.html in an iframe. On the iframe I set marginheight and marginwidth to zero. But there is one line of blank space between the top border of the iframe and the first line of text. However, the iframe's content document's body's offsetHeight gives the...
0
9699
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
9562
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
10538
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
10305
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
10285
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
10063
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
9115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
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.