[openstreetmap-website] Strange + and - characters on zoom controls (#164)

Shaun McDonald notifications at github.com
Fri Nov 23 15:07:18 GMT 2012


Actually there is a better method than using the -9999px hack, which causes performance issues as the browser has to draw a box that far off screen. 

.hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}

take from:
http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ which has the explanation of why you should avoid the -9999px hack.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/164#issuecomment-10661995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121123/33e70a1c/attachment.html>


More information about the rails-dev mailing list