Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even HN, this very website, still uses spacer gifs. Sadly.


Spacer GIFs which are resized for narrow screens (300-750px) using CSS depending on the tag's width attribute. That's not a technique I've seen before:

> img[src='s.gif'][width='40'] {width: 12px;}

(from https://news.ycombinator.com/news.css)


I don't understand why anyone would consider this sad.


Because it's not really reliable and breaks in many situations. reddits old nested divs work much better in contrast, and have a layout that matches the semantic situation better.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: