Showing posts with label Browsers. Show all posts
Showing posts with label Browsers. Show all posts

Monday, February 22, 2010

Dillo 2.2: Return of the CSS hack

I have always had a soft spot for the Dillo web browser. It is the only graphical browser I was able to get to run on an old Gateway Handbook I have lurking around. Dillo is a browser which runs nicely on Windows 3.11 era machines while any other current browser plain simply does not run on a computer from that era.

About a week ago, Dillo 2.2 with limited CSS support has been released. Very limited CSS support.

Any web designer from the first decade of the 2000s remembers the days of the CSS hack. I remember designing a page from that era, having it look really nice in Mozilla (this was before Mozilla Firefox), but having the CSS make the site unusable in Netscape 4, forcing me to find a hack to hide the CSS from Netscape 4. For people who still care about Netscape 4 (but, really, you shouldn’t), the hack is /*/*/, which hides CSS from NN 4 until the next comment in the CSS.

Today, a lot of advanced CSS is not supported in Internet Explorer 6, which, despite Microsoft and web designers’ best efforts, is still used by 20% of the browser audience. Fortunately, the CSS hacks (there are various) for hiding content from IE6 are well-known; my usual hack is the !important hack for having IE6 see one set of CSS commands and web standard compliant browsers see another set of CSS commands.

Thankfully, the “zoo decade” (the first decade of the 2000s) is over, and the only browsers with significant market share that doesn’t pass the Acid 2 test are older versions of Internet Explorer. Everything else out there is standards compliant.

Well, everything else except Dillo 2.2. While Dillo supports a little CSS, it is no where near standards compliant. Click here for a screenshot of Dillo 2.2 rendering the Acid 2 test.

Dillo 2.2 is starting to support CSS. Indeed, my pages with CSS look a lot better with the very limited CSS Dillo 2.2 supports than with no CSS at all (my hacks for hiding the CSS from Netscape 4 are still in place). However, since Dillo 2.2 has very limited CSS support, I am having to do a CSS hack to hide the CSS which looks bad in Dillo: @media all {. You can see how I use this hack to hide the CSS from Dillo in this CSS.

Hopefully, the Dillo developers will not make this hack stop working until the Acid2 test gives us a smiling face in Dillo’s CSS renderer.

Wednesday, June 20, 2007

Safari for Windows ; MOAM-CD update



    I think Safari for Windows is a very good thing. Why? Because it is another nail in the "This site only works with Microsoft Internet Explorer" (or, likewise, the "This site is optimized for Netscape" 1990s web sites) coffin. There are people out there who may not use Firefox but will use Safari; as long as more people use web-standard compliant browsers instead of IE, the web wins because people write pages to the standards instead of making them render only on one browser.

    And, yes, I do remember the bad old days of 2002, when web sites I had to go to for my school did not work in anything besides IE.




    Two planned updates for the next version of MOAM-CD:
    • I will remove the NetBSD FTP client and replace it with the FTP client that (presumably) DeLi has. It seg faults whenever it tries to open up a connection to a remote FTP server.
    • I will add the Unichrome drivers, since motherboards that use this chipset are very common in Mexico, and the drivers are, sadly, not part of X proper.
    • I am getting a kernel panic when starting the IDE driver on one (AMD-64) system; I will make a special initrd with the IDE driver as a module to try and troubleshoot this.