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

I worked at homeshark.com (later rebranded iown.com) in the 90's, and we absolutely did the spacer gif trick to size our tables.


Oh yeah, i think every one did - but they certainly werent used in "semantically correct containers".


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: