Dvorak Rants on CSS 522
John Dvorak writes on CSS after working on redesigning his weblog, the article ended up being extremely funny. From the write-up:
As we move into the age of Vista, multimedia's domination on the desktop, and Web sites controlled by cascading style sheets running under improved browsers, when will someone wake up and figure out that none of this stuff works at all?!
It's not so bad (Score:3, Informative)
Oh, and there are of course the IE-specific CSS bugs to bear in mind too - http://www.positioniseverything.net/explorer.html [positioniseverything.net]
This chart about sums it up.. (Score:1, Informative)
Re:What's the alternative? (Score:5, Informative)
(It gets even more complicated with the notion of "font families", but I don't understand the distinction there, either.)
Underlining, on the other hand, is just something you do to it; there isn't any "Times Roman Underlined". That makes it a property of the text, not of the font or face. You don't need a designer to add it.
It sucks that you need such details to do something that you get just by pushing a button in every WYSIWIG word processor in the world. What we need, and what I haven't seen yet, is a WYSIWIG designer for CSS. I envision something equivalent to what Word and OpenOffice call "character styles", but frankly most people don't use them even when they're available.
And Word/OpenOffice still lack (for the most part) an equivalent of CSS layout, which is the part I still find hard. As you point out, CSS's box model seems to be missing some really basic ideas, and that causes many people to just say, "This is 300 pixels wide and it looks fine at a font size I'm comfortable reading and I don't want to f*** with it any more."
Blame Internet Explorer (Score:5, Informative)
If you want to complain, complain about Internet Explorer. Mozilla, Opera and (as far as I know) Safari all support the CSS table rendering model [w3.org], which can do almost everything that HTML tables can. The main thing it lacks is support for colspan and rowspan, but for your average website layout (banner across the top and one or maybe two sidebars beside the content) you can get away without using either.
Of course, Internet Explorer only supports the bare minimum of the stuff in that chapter, and even then only when applied to HTML tables. Nor does Microsoft plan to support it in the near future. Most people don't even know that CSS can do table rendering because of Microsoft's lack of support, but the truth is that for all of CSS's warts, simple table-based layouts are actually right there in the CSS2 spec and will work just fine in every modern browser except Microsoft's.
Re:Dvorak (Score:2, Informative)
Re:What's the alternative? (Score:2, Informative)
And I thought Slashdot comments were frustrating to read on a normal article...
Re:Experts should be optional (Score:3, Informative)
You don't need that xmlns declaration at the top of the webpage. Yeah, you need it to validate the page--but only programmers care about that. The browser won't shut down if you don't have it.
Programmers have taken over, but an amateur can still do a basic web page or even a complex one with a little study. It took me a couple of weeks of spare time to put together some basic CSS that's enough for my needs.
Re:Two problems (Score:3, Informative)
Yeah, I had the crazy notion that technology writers should have some vague understanding of technology. He wrote "If your Internet connection happens to lose a bit of CSS data, you get a mess on your screen." I guess this is the Ted Stevens "leaky tubes" model of internet plumbing. I presume that Dvorak weekly mops under his cable modem to keep leaking bits from staining his floor. (But he's no fool; it's only the one bits he's worried about: the zero bits are round and so don't slip out of tiny holes as easily.)
Browsers and Standard to blame (Score:2, Informative)
Re:Standard versus Proprietary? (Score:5, Informative)
For me, all Flash sites look exactly the same, too: a little clickable "Play" arrow. If I want the content, I click it; I leave it blocked if (as in most cases) it's an advertisement.
You didn't tell us what browser you use, but if it's in the Netscape/Mozilla/Firefox family, go ahead and download the Flash plugin you've been resisting, and then this Flash Block plugin [mozdev.org] as well.Wish granted (Score:3, Informative)
MPEG-4.
Re:Two problems (Score:5, Informative)
Well, actually it does. Except I'm talking about this IE7: http://dean.edwards.name/IE7/ [edwards.name]
I installed that, and suddenly I was able to write standard css, and not go crazy trying to make IE work.
It's actually quite wonderful. I don't know why Microsoft can't aford to fix it's own bugs, and needs other people to do it for them, but hey, at least it works.
Re:Standard versus Proprietary? (Score:3, Informative)
Works under IE6 and FF1.5
Re:Blame Internet Explorer (Score:3, Informative)