the spans .cursor and .cursorinner aren’t displayed in opera, is there an opera specific css property I could set? is my css invalid or is this an opera bug?
i just tested this with different browsers, works in
ie 7-9
chrome
safari
firefox
doesn’t work in opera tho
fiddle is here : http://jsfiddle.net/etj6z/1/
This isn’t working because you’re depending on 2 inline elements to have defined block dimensions. Adding
display: inline-block;(ordisplay: block;) to the cursor spans make the element display in Opera. There is an additional issue with the blinking, which is due to the same issue. You’d probably be better off usingshow()andhide()but otherwise you should be usingdisplay: [inline-]block;in the js also.