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

> Hard to update CSS.

When was the last time you had a go at CSS? So much has changed since 2017. You can chuck out the pre-processor junk and just use CSS variables and CSS Grid. Productivity is 10x.

You can even keep it simple so that a page just loads the CSS it needs instead of some 40,000 line ball of junk.

Same with templates, if you are using CSS Grid you don't need the sea of div containers, you can just use actual content elements from HTML5 and never use a div.

Pseudo-selectors mean you don't need spans. You can get pretty things done without the markup in the document. Once you write HTML this way you wonder what on earth people are doing with these impossible toolchain and impossible HTML web pages. Regular development from about five years ago with frameworks and jQuery nonsense just looks like hacks.



Honest Question, how do I support our IE 11 Customers (8% of our MRR) with this approach?


Easy if you don't have to have it pixel perfect for them. Just build it out with CSS Grid and the CSS variables, then look at the broken mess on IE and make it work. Who cares if things are not centered on IE11. It is not an HTML5 browser and is only there for legacy support - ActiveX and all that.

Also add a banner at the top telling people they need to use their other browser for the page.

What business are you in where 8% are still on IE11?


SME Finance Management for Europe (mostly D/A/CH), think of it as Xero/Freshbooks with very country specific features.


COBOL springs to mind. It sounds like you have a profitable niche supporting legacy stuff. Edge came out five years ago and IE11 was depreciated.

You can try the polyfill approach. This is generally not recommended as it wastes bandwidth. But since your customers have bandwidth you could go with polyfills. Or just stay stuck in the past with a niche of writing IE11 compatible stuff. That could be career limiting, IE11 is getting as irrelevant as 8.3 FAT filenames.


That really depends on how quickly you can deprecate browsers that don't support modern features.

https://en.wikipedia.org/wiki/Microsoft_Edge

Edge is supposedly an option even back to Windows 7, though I don't believe it's a required security update. I haven't used a Windows 7 system in long enough that I'm not sure.

https://caniuse.com/css-grid

At this point it is reasonable to tell people they NEED to install a more modern (and more security up to date!) web browser, be it Google Chrome, Microsoft Edge, or Mozilla Firefox.


Alas, about 50% of mine.

Many government and healthcare organizations STILL using Internet Exploder, presumably until its 2025 end of life:-(


2025 end of life for IE11? Do you have a source for that?

As far as I know, Microsoft plans to keep IE11 around as long as Windows exists.


>presumably until its 2025 end of life

Oh you sweet summer child...


Wishful thinking?

PS - this “child” started working as a developer, at least part time, back in 1985

C++ eventually passed into a bad memory, and so will MSIE.




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

Search: