logoalt Hacker News

CSS Curiosities of the Past

54 pointsby robin_realatoday at 7:57 AM31 commentsview on HN

Comments

zetanortoday at 2:44 PM

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?

QuadrupleAtoday at 2:23 PM

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.

VCFundedGenYertoday at 12:56 PM

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.

show 1 reply
ryanschaefertoday at 11:31 AM

If anything is worthy of the title “load-bearing” it’s IE…

I wonder how many collective years of developers’ lifespans were dedicated just to addressing its quirks.

show 2 replies
sbarretoday at 12:14 PM

Surprised there was no mention of the old system theme colours (that I think still work in some browsers but are long-deprecated):

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/V...

I used these CSS styles in the late 90s to make internal browser-based apps for our call centre agents that looked & felt more like native Windows desktop apps.

show 2 replies
meeritatoday at 10:54 AM

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!

show 2 replies
tostitoday at 2:21 PM

    > Internet Explorer had a number of iffy behaviours and lagged behind other browsers for many visual effects, even regarding basic properties like opacity. Thus, Microsoft brought in bespoke filter functionality.
That's not accurate at all. At the time IE4 launched, it was ahead of the competition. It also had quite a lot of non-standard extras as part of Microsofts strategy to embrace, extend and extinguish. IE4 was extend. In other cases the strategy worked, but not for the web.

The DirectX filters weren't used pretty much anywhere until it turned out it could do things that were specced and implemented by others years later.

show 1 reply
Cyykratahktoday at 12:12 PM

The really funky part of the IE6 PNG fix was that the URL of the image in the expression was always relative to the current page URL, not the CSS file that the declaration was in.

I remember having to use Javascript to generate the image path (I cannot quite remember why absolute or root-relative URLs were not an option for us though...)

maxglutetoday at 2:56 PM

I miss gaudy scrollbars.

devhunt-orgtoday at 2:16 PM

Which of these old CSS tricks do you actually miss?

show 1 reply
mike_tysontoday at 12:01 PM

miss those days.

i was seen as a genius at work for understanding quirks mode and how JScript differed from javascript/ecmascript

vladdetoday at 11:25 AM

funny how almost all of these are just related to Internet Explorer haha

gaigalastoday at 12:46 PM

Missing the whole IE quirks mode vs standards mode thing, but nice.

Some of those hacks were specifically for IE, and there was a debate on staying quirks vs going standards mode. Each had its own drawbacks and choices.

saltypixeltoday at 12:49 PM

[flagged]

elenbaraytoday at 11:28 AM

[flagged]

elenbaraytoday at 11:28 AM

[flagged]