Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#311 closed bug (duplicate)

$().css() bug

Reported by: Simon Jia Owned by:
Priority: major Milestone:
Component: core Version: 1.0a
Keywords: Cc:
Blocked by: Blocking:


Hi, I just noticed a bug with the $().css() function. In previous versions, i could do $().css("z-index", 100) to set the z-index on an element. This worked in all the browsers. I just tried the v1.01, this function is broken in IE6/7. It won't take any effect. For now, i'm just using node.style.zIndex=100 to set the z-index.

Change History (2)

comment:1 Changed 16 years ago by brandon

Can you post the revision number of the lib you are using? This should have been fixed already.

BTW ... you can also use $().css('zIndex', 100)

comment:2 Changed 16 years ago by brandon

Resolution: duplicate
Status: newclosed

This has been fixed in a more recent version of jQuery. See #170.

Note: See TracTickets for help on using tickets.