by somecommit · 4y ago · 0 comments
True story, I re-uploaded a website that I wrote in 1999, only now I discover that my header was never centered, if was just floating left. It's the only thing that look off, everything else is working perfectly. HMTL/CSS/JS is really a stable stack for the computer field.
Yep agree it's a stable stack. I have a few archived sites I made in the 90s that work fine in today's browser, rollover JS buttons and all. My disdain for IE is visible in code. I was a Netscape guy for sure!
if(navigator.appVersion.indexOf("MSIE 3")== -1) {
imageObjectSupported = true; // this line only executes in browsers that
support Javascript 1.1 except of course for IE3, which thinks it supports
Javascript 1.1, but doesn't.
}Centered max-width without going all out reader mode.