Two CSS Issues

He has: 1,380 posts

Joined: Feb 2002

#1- Does anybody know of a way to control a cursor display? For example, an arrow instead of a "click me" hand?

#2- There seems to be an issue with fixed position images in a scrolling layer, is there a workaround? Can be seen at intuitiontech.com/msc/about.html just scroll that text around...the background moves with it. It works fine in Moz/NE and Opera...

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

He has: 1,380 posts

Joined: Feb 2002

#1- thanks

#2- oops....

intuitiontech.com/msc/about.php

They have: 461 posts

Joined: Jul 2003

just an fyi: the cursor stuff is mie only. just like the scroll bar. remember, m$ refuses to conform to any standards they don't set (if even those), so stuff for them isn't always going to work elsewhere: hence jscript which is all mie does which was a rip off of the already present javascript and the standards created edma-954 (the standards thing was developed around the same time and i tossed on a few numbers since they are there, not even sure i spelt the acronym right, just trying to make a point.)

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

They have: 461 posts

Joined: Jul 2003

note: it's not bad to do that stuff, it's bad to assume everyone will see it.

you have to remember that if a browser ddoesn't conform to the stanards you're using thn it may look differently and function different;y. if you want a wide variety of eople, then you should use w3c standards. opera and mozilla and netscape are all nearly compleltey compliant (mozilla being the closest to compliant last i checked)

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

He has: 1,380 posts

Joined: Feb 2002

well, I knew that...

But since you brought it up, how can I link to not show up as a hand (I use links' mouseover to scroll text)?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

see the link already provided, perhaps this?:

cursor: crosshair;'

He has: 1,380 posts

Joined: Feb 2002

i mean in crossbrowser

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

If by cross-browser you mean in all browsers, use Flash. However in all browsers that support it, CSS will work. Some CSS cursor: works for Mozilla types, as well, it's not just MSIE.

They have: 461 posts

Joined: Jul 2003

suzanne: in css1 and i belive 2, both scrollbar and cursor weren't present. i haven't seen css3 even though mozilla 1.6 supports the prelims.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

There is a difference between what will work, and what is standard.

http://www.pageresource.com/dhtml/csstut10.htm

Regardless, cursor is part of the spec for CSS2.

http://www.w3.org/TR/REC-CSS2/ui.html

They have: 461 posts

Joined: Jul 2003

i didn't realize it was in css2. i know that the scrollbar thing is MIE and one ofthe css ref sites claims that's the same witht he cursor.. at least it did last time i checked.

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Sorry, the scrollbar is CSS2 as well. Well, okay, only the "gray" area. Wink It only really WORKS in MSIE, though, does that help?

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.