[thelist] CSS question..

Virginia O'Dine vodine at direct.ca
Tue Oct 8 16:32:01 CDT 2002


Whups. Browser problem was not from your link specifically.

Virginia

----- Original Message -----
From: <rabbit at poorrabbit.com>
To: <thelist at lists.evolt.org>
Sent: Tuesday, October 08, 2002 2:07 PM
Subject: [thelist] CSS question..


>
> I'm finally working towards using CSS for my layout instead of
> table based layouts, and I've run across something I can't figure out.
>
> According to the CSS2 spec, the "position: fixed;" setting will cause
> an element uses that class to stay put, period. If you stick something
> on the top right of the screen, it stays there, even when scrolling.
>
> for example:
>
> DIV.foo {       right: 50px;
>         top: 10px;
>         position: fixed;
>         color: black;
>         width: 100px;
>         }
>
> If you look at: http://www.truthmagnet.com/v2/test.php in MOZILLA
> (at least in v1.1, or in the latest opera) you can see this behavior.
>
> The "HELLO" on the top right of the screen will stay put even if you
> scroll - you may have to shrink your window to see this effect.
>
> In explorer, this completely fails to work. In explorer, the Hello
> appears on the top left, and appears to be behaving as though
> position was set to "relative", which I THINK is the default.
>
> I've tried looking for alternate way of doing this with explorer, or
> even a way of convincing explorer to at least put stuff where it
> belongs, so that even if it doesn't stay put, it at least gets there
> to begin with, such that in mozilla it behaves as I wish, and that in
> explorer it will degrade gracefully - without having to use browser
> checking code.
>
> so much for "coding to standards".
>
> any ideas?
>
> ___________________________________________________________________
>   Jon Cortmaior | poor rabbit consulting | unix geek | web monkey
> -------------------------------------------------------------------
> "The man who does not read good books has no advantage over the man
>  who cannot read them."  -- Mark Twain
> ___________________________________________________________________
>         rabbit at poorrabbit.com http://www.poorrabbit.com
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>





More information about the thelist mailing list