Bug Tracker

Ticket #311 (closed bug: duplicate)

Opened 8 years ago

Last modified 7 years ago

$().css() bug

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

Description

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

comment:1 Changed 8 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 8 years ago by brandon

  • Status changed from new to closed
  • Resolution set to duplicate

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

Note: See TracTickets for help on using tickets.