Posted By

alp on 02/14/11


Tagged

accessible clip hiding


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

stonetatara


Using CSS clip as an Accessible Method of Hiding Content


 / Published in: CSS
 

URL: http://adaptivethemes.com/using-css-clip-as-an-accessible-method-of-hiding-content

  1. .element-invisible {
  2. position: absolute !important;
  3. clip: rect(0, 0, 0, 0);
  4. }
  5. /* IE7 */
  6. *:first-child + html .element-invisible {
  7. clip: rect(0 0 0 0);
  8. }
  9. /* IE6 */
  10. * html .element-invisible {
  11. clip: rect(0 0 0 0);
  12. }

Report this snippet  

You need to login to post a comment.