# The Wild Hacks That Made Old Internet Explorer Bend to CSS

Original title: CSS Curiosities of the Past

> Hacker News story 49654962 · language: en · submitted 2026-09-11
> Web version: https://zeli.app/story/49654962
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 90 · by [robin_reala](<https://news.ycombinator.com/user?id=robin_reala>) · 💬 60
[original](<https://vale.rocks/posts/css-relics>) · [HN discussion](<https://news.ycombinator.com/item?id=49654962>)

## Summary

Before modern standards, CSS was twisted into browser-specific hacks to tame Internet Explorer. This tour revisits the star and underscore property tricks, !important quirks, the clearfix zoom, cursor: hand, CSS expressions that ran JavaScript, DirectX filters, scrollbar styling, HTML Components, and the box model and Holly hacks. These relics reveal how messy parsing and corporate divergence shaped the early web.

## Key quote

> The problem with expressions is that they are evaluated more frequently than most people expect. Not only are they evaluated when the page is rendered and resized, but also when the page is scrolled and even when the user moves the mouse over the page.

## HN discussion (60 comments)

### [tiborsaas](<https://news.ycombinator.com/item?id=49660270>)

> Remember rounded corners? It was a real pain, there were so many hacks to achieve something simple as
>
> border-radius: 16px;
>
> My other favorite was sIFR font loading :) Because font support was... patchy, a technique was invented to replace headers with Flash embeds which rendered the desired font:
>
> https://www.webdesignmuseum.org/web-design-history/sifr-2004

### [zetanor](<https://news.ycombinator.com/item?id=49659354>)

> Besides vendor tricks, I'd like to see a showcase or article about the evolution of page layout patterns over time. That is, the underlying techniques, not the aesthetics; tables, fixed image sizes, float/clear, flex, etc. I'm finding https://code-literacy.medium.com/css-layout-evolution-detail... but it's quite skeletal and incomplete. Has anyone here come across a more complete write-up?

### [VCFundedGenYer](<https://news.ycombinator.com/item?id=49657672>)

> I last heavily worked with CSS in 2010/2011. These still don't feel old to me.
>
> There came a point where if you wrote good HTML/CSS that passed the W3C validator, you were golden on pretty much any device. This still rings true today.

### [QuadrupleA](<https://news.ycombinator.com/item?id=49658996>)

> IE was such a scourge, a drain on humanity (at least the slice of humanity that made websites). One of Microsoft's great evils - they let the product stagnate for years once they had the market cornered.
>
> Windows has kinda become that now, a low quality user-hostile product forced on people through inertia and monopoly tactics.

### [meerita](<https://news.ycombinator.com/item?id=49656273>)

> I was having a peaceful day until these CSS curiosities brought back memories of my painful days. It's really good that we don't need to deal with such hacks and vendor-specific things anymore. The last time I participated in a project that targeted an old browser was in 2018!

---

## Cite

- Page: https://zeli.app/story/49654962
- Date: 2026-09-11
- Source: vale.rocks (https://vale.rocks/posts/css-relics)
- Hacker News: https://news.ycombinator.com/item?id=49654962

## Other languages

- zh: https://zeli.app/zh/story/49654962 · markdown: https://zeli.app/zh/story/49654962.md
- ja: https://zeli.app/ja/story/49654962 · markdown: https://zeli.app/ja/story/49654962.md
- ko: https://zeli.app/ko/story/49654962 · markdown: https://zeli.app/ko/story/49654962.md
- de: https://zeli.app/de/story/49654962 · markdown: https://zeli.app/de/story/49654962.md
- es: https://zeli.app/es/story/49654962 · markdown: https://zeli.app/es/story/49654962.md
- ru: https://zeli.app/ru/story/49654962 · markdown: https://zeli.app/ru/story/49654962.md
