I was playing with firebug in Facebook’s stream and I’ve noticed something funny on the style of the “update options” menu (that down arrow button that appears on the top right of the update when you hover over it). It seems to me that they hide this menu by setting margin-left: -9999px, and show them by overriding this with margin-left: auto. I can’t think of a reason to do this instead of display: none. Is there any reason for doing it this way?
I was playing with firebug in Facebook’s stream and I’ve noticed something funny on
Share
It is an accessibility thing. Text with display: none also does not show up on screenreaders. You can read up on it at CSS in Action: Invisible Content Just for Screen Reader Users.