position:fixed;

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

I discovered this CSS function a while ago and now love it, only problem is, Opera and Mozilla support it.

IE (and netscape?) don't.

Is there a way, apart from using different stylesheets, to get around this problem?

I want (in supported browsers) to have the postion:fixed; function and those that don't to use the position:absolute; function instead.

How is it or can it be done?

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Renegade,
I am not exactly sure what you are talking about as I have never used this but.....google to the rescue. See if these help:

http://www.mark.ac/help/sticky.html
http://jibbering.com/2002/1/AddFixedSupport.html
http://developer.apple.com/internet/css/css_fixed.html

mmi's picture

They have: 457 posts

Joined: Jan 2001

hey Renegade - a little more for ya

I don't work with positioning either, so I can't really advise - but there may be something for you in this doc or in the return where I found it


Web Xpertz Community Forums for Webmasters & Developers

Where You Can Learn, Advise, and Have Fun in the Process

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Thanks mmi,

The first link was what I was looking for Laughing out loud

I just needed to add:

<?php
body
> #fixed {
   
position: fixed;
}
?>

Thank you for your time also disaster-master, much appreciated Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.