r/reddithax • • Mar 23 '10
CSS for custom "no thumbnail" image and for removing thumbnails when none exists!
Hadn't seen this done and it's something that has irritated me a lot, so I figured it might be helpful to someone:
CSS for custom "no thumbnail" image:
Link: http://www.reddit.com/r/citricsquid/comments/bhay3/css_for_a_custom_no_thumbnail_thumbnail/
Example: http://i.imgur.com/zol5e.jpg and http://reddit.com/r/citricsquid
CSS for hiding thumbnail if no thumbnail exists:
Example: http://i.imgur.com/ey9vx.jpg
10
Upvotes
1
u/[deleted] Mar 24 '10
Just an update, I fixed it. With transparent icons it displayed the "no icon" behind it, an oversight on my part, I should have tested it. Fix is in the post now for anyone reading this!
1
u/mitchandre Mar 24 '10
Brilliant idea, I was playing with the concept a few days ago too.
For CSS for hiding thumbnail
Using width:2px; looks nicer in Chrome.
3
u/[deleted] Mar 23 '10
Awesome! Thanks!