Posted By

justinseiter on 04/26/09


Tagged

css hide accessibility


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

delarge
keith
spazione


Hide Without Using Display:None


 / Published in: CSS
 

URL: http://csswizardry.com/web-design+/

  1. .hide{ /* Hide stuff without resorting to display:none; */
  2. visibility:hidden;
  3. width:0!important;
  4. height:0!important;
  5. line-height:0!important;
  6. padding:0!important;
  7. margin:0!important;
  8. }

Report this snippet  

You need to login to post a comment.