473,624 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

does this drive the W3C people nuts?

http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed.

I couldn't use position:fixed, cause IE doesn't support it.

This trick assummes that every graphical browser (The style
sheet can be connected via media="screen" so I only have to
reckon with graphical browsers I guess) uses scrollbars of
15 pixels wide, or else this page will look ridiculous.
However, so far all the browsers I tested did.

How do the technical people like this?
(I am a designer myself)

Kind regards,

Richard Berendsen

Jul 20 '05 #1
10 2678
Richard Berendsen <be***@alwaysac cess.nl> wrote:
http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed .
It doesn't use JavaScript which is a plus over most attempts to
imitate fixed positioing in IE.
I couldn't use position:fixed, cause IE doesn't support it.
Not true. You can use it, but leave IE to have a fully scrolling page.
Nothing wrong with a bit a graceful degradation in less capable
browsers.
This trick assummes that every graphical browser (The style
sheet can be connected via media="screen" so I only have to
reckon with graphical browsers I guess) uses scrollbars of
15 pixels wide, or else this page will look ridiculous.
However, so far all the browsers I tested did.


Which browsers were they?
Better GUIs (whether at browser or OS level) give the user the ability
to set the width of the scrollbar, for increased accessibility.

IE6 - http://steve.pugh.net/test/ie6.png
Top and bottom areas overlap scrollbar, thin sliver of content area
shows below bottom area.

Opera 7 - http://steve.pugh.net/test/op711.png
Scrollbar sits inside page, normal scrollbar area is blank.
Scrollbar track takes on content area background colour.

Netscape 4 - no scrollbars, content inaccessible.

Of the browsers I tested in only Mozilla 1.3 displays it exactly as I
assume you wanted it to.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #2
Richard Berendsen <be***@alwaysac cess.nl> writes:
http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed.

I couldn't use position:fixed, cause IE doesn't support it.
As Steve Pugh said, you can use it if you have a good fallback
for IE. I use IE's conditional comments to give it an IE-specific
stylesheet. I used it in, e.g., my CV
<URL:http://www.daimi.au.dk/~lrn/cv.html>
(also using the position-fixed-hack for IE6 mentioned below, but with
fallbacks for IE 5)
(and it would be blatant self advertisement, if it wasn't in Danish :)
This trick assummes that every graphical browser (The style
sheet can be connected via media="screen" so I only have to
reckon with graphical browsers I guess) uses scrollbars of
15 pixels wide, or else this page will look ridiculous.
However, so far all the browsers I tested did.
My operating system's GUI (WinXP) claims that scrollbars are 16
pixels, but I can change it if I want to. Ups, I just did, now they
are 20.

Try looking at the page in Opera 7. The space for the real scrollbar
is still reserved, and the mousewheel doesn't work.
How do the technical people like this?
(I am a designer myself)


It reminds me of <URL:http://devnull.tagsoup .com/fixed/vertical.html>,
which only works in IE6. I don't know if your solution works in IE5
either (and I cannot check it. Pah! Someone should find a way to have more
than one IE on the same machine.)

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3
Richard Berendsen wrote:
http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed.

I couldn't use position:fixed, cause IE doesn't support it.
s/couldn't/chose not to/
This trick assummes that every graphical browser (The style
sheet can be connected via media="screen" so I only have to
reckon with graphical browsers I guess) uses scrollbars of
15 pixels wide, or else this page will look ridiculous.
However, so far all the browsers I tested did.
I see you are using Windows. Right-click desktop, Properties,
Appearance, set Item to Scrollbar and you can change this. Applies to
all applications using the standard Windows widgets.
How do the technical people like this?
(I am a designer myself)


It stops my scrollwheel working.

I use position:fixed where I need it and ensure that:

a) IE degrades gracefully
b) IE users are made to know the deficiency and suitable upgrade paths

--
Mark.
http://www.tranchant.freeserve.co.uk/

Jul 20 '05 #4
Lasse Reichstein Nielsen:
Pah! Someone should find a way to have more
than one IE on the same machine.)


I have three in my Windows machine. MSIE 4, MSIE 5 and MSIE 6.

--
Bertil Wennergren <be******@gmx.n et> <http://www.bertilow.co m>
Jul 20 '05 #5
Bertilo Wennergren wrote:
Lasse Reichstein Nielsen:
Pah! Someone should find a way to have more
than one IE on the same machine.)


I have three in my Windows machine. MSIE 4, MSIE 5 and MSIE 6.

That's nice. Care to share how?

In case it's any different than using vmware or something thereof and
someone could really "benefit" from your reply.

--Nikolaos

Jul 20 '05 #6
In message <3E************ **@alwaysaccess .nl> on Thursday June 26 2003
07:40, Richard Berendsen wrote:
http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed.

I couldn't use position:fixed, cause IE doesn't support it.
It should degrade gracefully if you use it and there is no support in a
particular Web browser. (Of course, this being IE, more accurately
described as an excuse for a Web browser, maybe not.)
This trick assummes that every graphical browser (The style
sheet can be connected via media="screen" so I only have to
reckon with graphical browsers I guess) uses scrollbars of
15 pixels wide, or else this page will look ridiculous.
However, so far all the browsers I tested did.


A scrollbar width of exactly 15 pixels is not something you can depend
on. Scrollbars can be smaller or larger.

Oh, and Konqueror 3.1.2 makes another 15 pixel gap in addition to the
scrollbar.

--
Shawn K. Quinn
Jul 20 '05 #7
Mark Tranchant wrote:
Richard Berendsen wrote:
http://users.alwaysaccess.nl/~bemep/css/test.html

This is a funny trick to imitate the behaviour of
position:fixed.


It stops my scrollwheel working.


Scrolling divs are also, at best, difficult to navigate via the
keyboard. At worst, they make their contents inaccessible.

--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.

Jul 20 '05 #8

It stops my scrollwheel working.

Scrolling divs are also, at best, difficult to navigate via the
keyboard. At worst, they make their contents inaccessible.


Thanks for these replies.
They sure are helpful.

I didn't yet think of it, but yes, I can imagine the scrollwheel doesn't
work and indeed, accesibility of a site via the keyboard is an important
issue.

The more I learn, the more it becomes apparent that simple fluent
designs are just more powerful. Certainly when it comes to accessibility.

Jul 20 '05 #9
kazhar
4 New Member
Bertilo Wennergren wrote:[color=blue]
> Lasse Reichstein Nielsen:
>[color=green]
>>Pah! Someone should find a way to have more
>>than one IE on the same machine.)[/color]
>
> I have three in my Windows machine. MSIE 4, MSIE 5 and MSIE 6.[/color]


That's nice. Care to share how?

In case it's any different than using vmware or something thereof and
someone could really "benefit" from your reply.

--Nikolaos
Browser Archive @ Evolt

Hope it helps you :)
Aug 15 '05 #10

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

Similar topics

162
7211
by: Isaac Grover | last post by:
Hi everyone, Just out of curiosity I recently pointed one of my hand-typed pages at the W3 Validator, and my hand-typed code was just ripped to shreds. Then I pointed some major sites (microsoft.com, cnn.com, etc.) at the W3 Validator; to my surprise none of them passed. Doesn't anyone care anymore, or are the standards more-or-less looked at as guidlines for web design?
14
2315
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the .exe (on the network drive, on the server) "Full Trust." From the client, double-click on the ..exe (on the network drive, on the server) and it runs fine. So far, so good, but... On the server, where I've installed not VB.NET but .NET
8
8492
by: Chad | last post by:
To anyone who is smarter than I am when it comes to WMI: Here is what I am trying to do: 1) Detect a USB pen drive when it is inserted 2) Retrieve the drive letter of the pen drive 3) Check for a specific folder on the pen drive I keep receiving an error message that reads: An unhandled exception of type 'System.ExecutionEngineException'
6
10785
by: kmpodury | last post by:
PLEASE HELP!!!!!! Here is the exception that I am getting Exception: System.ArgumentException Message: The directory name W:\AudioFiles is invalid. Source: System at System.IO.FileSystemWatcher.set_Path(String value) at DirMon.set_sourceDirectory(String value)
34
4453
by: NewToCPP | last post by:
Hi, Why does a C/C++ programs crash? When there is access to a null pointer or some thing like that programs crash, but why do they crash? Thanks.
89
6033
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be used." Could anybody tell me why gets() function is dangerous?? Thank you very much. Cuthbert
13
7064
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I am actually trying to get the UNC path of the main module of a process running from a mapped drive, and I am trying to do this from a service. The ProcessModule class only provides the full path with the mapped drive letter, but the drive letter refers to the drive mapping for the user that started the process, and cannot be resolved to a UNC path from a service running under LocalSystem. Presumably, therefore, I need to get the drive...
4
4234
by: jabslim via DotNetMonster.com | last post by:
excuse me, may i ask on how to open files only in drive "e:\" (which is my usb port for flash drives) using openfiledialog? because in the openfiledialog, even when i set my initialdirectory to drive "e:\", people can still browse other drives(drive c, d, etc. ) so for example, when they insert their flash drives, then they open the openfiledialog, how can i make an error trap on how to let them open files only in their flash drives...
32
2713
by: Stephen Horne | last post by:
I've been using Visual C++ 2003 for some time, and recently started working on making my code compile in GCC and MinGW. I hit on lots of unexpected problems which boil down to the same template issue. A noddy mixin layer example should illustrate the issue... class Base { protected: int m_Field;
0
8236
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
8173
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
8679
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
8475
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
7159
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...
1
6110
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
5563
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();...
1
2606
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
1
1785
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.