473,499 Members | 1,653 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 2663
Richard Berendsen <be***@alwaysaccess.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***@alwaysaccess.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.net> <http://www.bertilow.com>
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
Niheel
2,456 Recognized Expert Moderator Top Contributor
khazar,

For some reason that link is dead.

http://www.skyzyx.com/downloads/ scroll down your will find archives of IE 3/4/5/5.5 for XP and 98/ME
Aug 15 '05 #11

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

Similar topics

162
7060
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...
14
2301
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...
8
8478
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...
6
10739
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...
34
4426
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
5947
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...
13
7053
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...
4
4226
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...
32
2693
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...
0
7132
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,...
0
7178
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,...
1
6899
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...
0
7390
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...
0
3103
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...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.