Sketch Blog
Vivid and inviting colors, blended with carefully crafted designs. Exciting and visually appealing illustrations, with those little extras that makes you smile.
Hiding via CSS
Posted on May, 16 2008 at 08 PM
I am in the middle of some research for my Graphic Web Design course and I am in search of an article I thought I had read a while ago.
If I am remembering correctly, it outlined the pros and cons of using the two typical methods of hiding content using CSS styles.
Option #1:
selector { display:none; }
Option #2:
selector { text-indent: -9999px; }
The second is a little trick I first saw Zeldman use, but I know the article I am thinking of talked about how it can cause problems when using a right-aligned layout (which I have experienced first-hand), but I can’t seem to find it again.
Anyone else know how to use Google search better than me? ;)
Comments
There are 0 comments on this post. Post yours →
Post a comment
Required fields in bold.