473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

IE7 and CSS - position:fixed

Hi,

is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.
There are no probs with correct working browsers (FF, Opera, Konqueror
etc.). The feature is switched off in IE<=6 - that's ok for me.
Now I want to activate this function for IE7.

Example:
<http://www.abitos.de/demo/cascada-schmuck.de/index.html>

Any hints?

Mathias
Sep 28 '06 #1
11 10360
Mathias Wrede <ne**************@gmx.dewrote:
>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.
Hint: don't, they serve no useful purpose whilst causing problems.
>There are no probs with correct working browsers (FF, Opera, Konqueror
etc.). The feature is switched off in IE<=6 - that's ok for me.
=<IE6 does not support position:fixed, it hasn't been "switched off",
whatever that means.
>Now I want to activate this function for IE7.
If you insist on doing this and you are fine if it scrolls in =<IE6 then
simply specify position:absolute and in a following rule specify
position:fixed (IE doesn't ignore stuff it doesn't support as it is
supposed to do when the options are listed in order in the same rule.)
>Example:
<http://www.abitos.de/demo/cascada-schmuck.de/index.html>
Apart from being useless, having those bits fixed is quite ugly.

--
Spartanicus
Sep 28 '06 #2
Hi,

* Spartanicus wrote:
>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.

Hint: don't, they serve no useful purpose whilst causing problems.
wrong. It satisfies the customer.
>
>There are no probs with correct working browsers (FF, Opera, Konqueror
etc.). The feature is switched off in IE<=6 - that's ok for me.

=<IE6 does not support position:fixed, it hasn't been "switched off",
whatever that means.
I'd deactivated JS. Now it's switched on. :-p
>Now I want to activate this function for IE7.

If you insist on doing this and you are fine if it scrolls in =<IE6 then
simply specify position:absolute and in a following rule specify
position:fixed (IE doesn't ignore stuff it doesn't support as it is
supposed to do when the options are listed in order in the same rule.)
I found my own way.
>Example:
<http://www.abitos.de/demo/cascada-schmuck.de/index.html>
Bye
Mathias
Sep 28 '06 #3
Spartanicus <in*****@invalid.invalidwrites:
Mathias Wrede <ne**************@gmx.dewrote:
Example:
<http://www.abitos.de/demo/cascada-schmuck.de/index.html>

Apart from being useless, having those bits fixed is quite ugly.
True. But it did remind me to do something silly I've been
meaning to try for ages:

http://www.cl.cam.ac.uk/~jf15/StyleTests/Fixed-Image/

I doubt if it works in IE.

--
Jón Fairbairn Jo***********@cl.cam.ac.uk
Sep 28 '06 #4
Jón Fairbairn <jo***********@cl.cam.ac.ukwrote:
>True. But it did remind me to do something silly I've been
meaning to try for ages:

http://www.cl.cam.ac.uk/~jf15/StyleTests/Fixed-Image/
Nice.

I presume you were inspired by that famous Grace Jones video?

--
Spartanicus
Sep 28 '06 #5
Spartanicus <in*****@invalid.invalidwrites:
Jón Fairbairn <jo***********@cl.cam.ac.ukwrote:
True. But it did remind me to do something silly I've been
meaning to try for ages:

http://www.cl.cam.ac.uk/~jf15/StyleTests/Fixed-Image/

Nice.

I presume you were inspired by that famous Grace Jones video?
Not quite. In fact I've never seen it. But I have seen the
cover of "Slave to the Rhythm" (to which I presume the video
refers), and was inspired by that.

--
Jón Fairbairn Jo***********@cl.cam.ac.uk
Sep 28 '06 #6
Spartanicus wrote:
Mathias Wrede <ne**************@gmx.dewrote:
>>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.

Hint: don't, they serve no useful purpose whilst causing problems.
I'm saddened to hear this; I've been thinking it might be useful to
implement, esp. in a longer page (although the boxes that sort of lazily
float down after you start scrolling, like an annoying kid brother
tagging along after you, I've found annoying). What specific problems do
they cause (or for what should I google)?

--
John
Sep 29 '06 #7
Mathias Wrede wrote:
Hi,

* Spartanicus wrote:
>>>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.

Hint: don't, they serve no useful purpose whilst causing problems.

wrong. It satisfies the customer.
So, as long as only your customer visits the page, everything's fine.

[suggestions snipped]
>
I found my own way.
....but it's secret? Streng geheim?
--
John
Sep 29 '06 #8
John Hosking <Jo**@Hosking.name.invalidwrote:
>>>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.

Hint: don't, they serve no useful purpose whilst causing problems.
I'm saddened to hear this; I've been thinking it might be useful to
implement, esp. in a longer page (although the boxes that sort of lazily
float down after you start scrolling, like an annoying kid brother
tagging along after you, I've found annoying). What specific problems do
they cause (or for what should I google)?
Apart from the obvious inefficient use of screen space, fixed elements
or backgrounds can make scrolling slow and jerky, especially when using
the keyboard. I've got my keyboard repeat delay set to the minimum and
the repeat rate set to the maximum, the movement occurs in smaller steps
and in a higher frequency compared to scrolling with the mouse wheel or
dragging a scrollbar, this emphasizes the problem.

--
Spartanicus
Sep 29 '06 #9
Hi John,

* John Hosking wrote:
>I found my own way.
...but it's secret? Streng geheim?
no, it's very simple. I use absolute positions from now on. IE7
associates relative positions with the following div-element.
Mathias
Sep 29 '06 #10
"John Hosking" <Jo**@Hosking.name.invalidwrote in message
news:45********@news.bluewin.ch...
Spartanicus wrote:
>Mathias Wrede <ne**************@gmx.dewrote:
>>>is there anybody who can give me a hint?. I would like to create a fixed
positioned navigation area.

Hint: don't, they serve no useful purpose whilst causing problems.
I'm saddened to hear this; I've been thinking it might be useful to
implement, esp. in a longer page (although the boxes that sort of lazily
float down after you start scrolling, like an annoying kid brother tagging
along after you, I've found annoying). What specific problems do they
cause (or for what should I google)?
Look at the example given at the start of the thread in a non-maximised
window, and the make the windows smaller (in height). As you scroll up and
down the fixed position section does not scroll, even if it is not fully on
screen, so it is not posible to navigate the site. Another website that uses
this technique for a menu is http://www.w3.org/Style/CSS/

The example in this thread is safe on 800x600 screens with default font
sizes (I think the w3 page doesn't even manage that), so many desktop
systems, but would not be navigable on systems set up for the visually
impared (high minimum font size settings) or on mobile devices (many with
resolution <= 320x240). Therefore, its use outside a known corporate
intranet (ie. on the internet) is probably a bad idea.
Oct 2 '06 #11
* Martin Eyles wrote:
Look at the example given at the start of the thread in a
non-maximised window, and the make the windows smaller (in height).
As you scroll up and down the fixed position section does not scroll,
even if it is not fully on screen, so it is not posible to navigate
the site.
This problem is well known. But in this special case 258px are enough,
because the target group are non-mobile users. :-)
They only need the first four links. The Impressum [imprint, masthead]
is only an attribute to the german law.
Oct 2 '06 #12

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

Similar topics

2
by: Patrice | last post by:
There seems to be a bug with the events mouseOut and mouseOver of divs when their position is fixed : when you enter the div with the mouse, three events are fired in this order : over, out, over....
5
by: Grayle | last post by:
I've heard that "position:fixed", which I use to scroll a navigation menu, does not work in IE. I have limited access to IE and would prefer to keep it that way. I am using <div class="nav">...
9
by: Paul Trautwein | last post by:
I'm trying to get an image to float in a window despite scrolling. I've gotten it to work on my Mac using IE 5.2, Netscape, and Safari, but it goes wonky when I test it on a PC. (testing with IE...
4
by: Peter Fjelsten | last post by:
Guys at comp.infosystems.www.authoring.stylesheets, I have designed a page in (x)HTML transitional that I am happy with in (close to) standard compliant browsers (i.e. Firebird/Opera), but IE...
5
by: Ted Mayett | last post by:
I've read a lot through the google archives, but I cannot seem to find an example... Has someone successfully made css code that allows for position: fixed to work in IE 6.0.2800? What is the...
7
by: Erik Sandblom | last post by:
Hello I'm trying to make some tooltips which are position:fixed. It works fine in Opera and Safari/Konqueror, but in Firefox and Camino (ie Mozilla), it takes a few seconds for each tooltip to...
2
by: Eric Lindsay | last post by:
Googling suggests that IE7 may support position: fixed; I think this might be handy for some pages I want to do. Does anyone have any comments about whether fixed should be considered for use on...
5
by: pbd22 | last post by:
hi. i am messing around with CSS2.1 and position:fixed. I can't seem to get a "loading" span to move a little further left onto the page. It seems stuck on the upper right and kind of half way...
8
by: sheldonlg | last post by:
I have an app where position fixed works for FF and IE6 (with workaround). On IE7, the popup doesn't stay fixed in one place. The URL is http://www.sheldonlg.com/popup/popupLoc.html Click of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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
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,...
0
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...
0
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
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
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,...
0
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...

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.