Permalink
Browse files

Hard breaks in image-replaced text negate the negative text indent. T…

…his fix causes line breaks in image-replaced text not to be displayed, fixing the effect.
  • Loading branch information...
1 parent 9ee01e9 commit bb94ded9f34bd098e4fec28e4e0fc6ebb61a11f9 Barney Carroll committed May 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 css/style.css
View
@@ -181,6 +181,7 @@ h1, h2, h3, h4, h5, h6 { font-weight: bold; }
/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
+.ir br { display: none; }
/* Hide for both screenreaders and browsers:
css-discuss.incutio.com/wiki/Screenreader_Visibility */

0 comments on commit bb94ded

Please sign in to comment.