Slashdot Mirror


CSS Turns 10 Years Old

An anonymous reader writes "Cascading Style Sheets celebrate their tenth anniversary this week. The W3C put together the CSS10 site in recognition of this milestone with a Hall of Fame, essays from the past decade, a gallery, and more." I was glad to see the CSS Zen Garden selected for the Hall of Fame, and disappointed (but not surprised) that no browser on my computer correctly renders the Acid2 test.

176 comments

  1. ACID2 Compliance by AKAImBatman · · Score: 5, Interesting
    "[I was] disappointed (but not surprised) that no browser on my computer correctly renders the Acid2 test."


    Time to get a new computer.

    Here's a list of ACID2 compliant browsers. It's longer than one might think.
    1. Re:ACID2 Compliance by Kelson · · Score: 3, Informative
      Time to get a new computer.

      Heck, chances are Opera will run on his current computer.

      Isn't it interesting, though, that most of the Acid2-compliant browsers are either Mac or Unix-based? I suppose that has to do with the fact that most Windows-only browsers just embed the IE rendering engine, and most cross-platform browsers use Gecko (here's to Gecko 1.9 passing Acid2 when it's finished!). That basically leaves KHTML and Webkit, which are firmly entrenched in *nix and MacOS respectively, and a couple of independent engines: Opera (cross-platform) and iCab (Mac).

    2. Re:ACID2 Compliance by catbutt · · Score: 5, Funny

      Although you could start using Safari, I have found a better compromise.

      I use Firefox for day to day browsing. But every so often, when I find the need to view the sublime smiley face image in all its glory, I fire up Safari for just that. It serves my needs, since I really only need to see the smily image maybe once a day or so.

    3. Re:ACID2 Compliance by CastrTroy · · Score: 5, Insightful

      This outlines the problem. Safari has been "Fixed" so that the acid2 test renders correctly, yet still contains lots of rendering bugs. I would have to say as a web developer that I run into many more rendering bugs on Safari than I do on Firefox (although IE is the worst). I can probably code a browser that correctly renders the acid 2 test in 3 days. It won't render any other pages properly, but it will render the acid2 test.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    4. Re:ACID2 Compliance by Anonymous Coward · · Score: 0

      Webkit is a fork of khtml and the ACID2 compliance was backported from webkit to khtml. khtml is cross platform -- it originated for kde (based on QT, which is quite crossplatform). Aside from KDE ports to other platforms, khtml can be used standalone on Windows, SkyOS, and AmigaOS (amongst others).

    5. Re:ACID2 Compliance by egomaniac · · Score: 3, Funny

      Hell, I can create a web browser that will render Acid2 correctly in five minutes.

      Step 1: Retrieve Acid2 HTML
      Step 2: Completely ignore it and display a screen shot of the correct rendering

      --
      ZFS: because love is never having to say fsck
    6. Re:ACID2 Compliance by Kelson · · Score: 4, Insightful
      Safari has been "Fixed" so that the acid2 test renders correctly, yet still contains lots of rendering bugs.

      This nicely demonstrates the fact that Acid2 is not a CSS compliance test (something which I've seen claimed in many discussions). If Opera 9 and Safari 2 can both pass Acid2, but Opera 9 has broader and/or less buggy CSS support, then Acid2 cannot tell you the overall level of compliance.

      It's important to remember what Acid2 is: namely, a wish list for web developers. It's a bunch of features that developers would like to use, but which had (until recently) limited, buggy, or just plain no support in major browsers. The prestige of passing Acid2 (and, conversely, the shame of not passing it) was supposed to motivate browser developers to essentially fill in the corners of their CSS support, making it feasible for web developers to start using more of their toolboxes.

      It's taken time, but it's succeeded, with one notable "we don't care, we don't have to" exception: Internet Explorer. Of the four major engines, KHTML and Opera have it, and Gecko is getting it soon. And the biggest player on the block seems to be doing its best to prevent us from actually using our tools if we want the majority of web surfers to see our sites as designed.

    7. Re:ACID2 Compliance by Kelson · · Score: 1
      Aside from KDE ports to other platforms, khtml can be used standalone on Windows, SkyOS, and AmigaOS (amongst others).

      Can be, yes -- there's even a Windows KHTML browser in early alpha stages called Swift -- but practically speaking, most KHTML browsers today are running on *nix platforms, and most Webkit browsers are on Mac OS X. Yes, you can run a non-Webkti KHTML browser on Mac OS X, but Webkit is available right there. And IIRC someone ported Webkit to GTK to run it on cell phones (Nokia?), but for the most part *nix browsers (not counting OSX) tend to use Gecko or KHTML.

    8. Re:ACID2 Compliance by Anonymous Coward · · Score: 1, Informative

      Aside from KDE ports to other platforms, khtml can be used standalone on Windows, SkyOS, and AmigaOS (amongst others).

      You'll find the first non-KDE port of KHTML was to AtheOS, now Syllable.

    9. Re:ACID2 Compliance by gringer · · Score: 1
      Step 2: Completely ignore it and display a screen shot of the correct rendering
      Not quite, the nose needs to light up blue when you hover over it with the mouse cursor.
      --
      Ask me about repetitive DNA
    10. Re:ACID2 Compliance by kdawson · · Score: 1

      > Time to get a new computer. [apple.com]

      Got one. The browsers I tried are Safari 2.0.4 and Firefox 1.5.0.8 -- both of which did pretty well, but not letter-perfect -- and (in Win XP / Parallels) IE 6 and IE 7, both of which were far off the mark.

    11. Re:ACID2 Compliance by AKAImBatman · · Score: 1
      The browsers I tried are Safari 2.0.4 and Firefox 1.5.0.8 -- both of which did pretty well, but not letter-perfect

      You might want to recheck that. I personally ran Safari 2.0.4 through the ACID2 test before posting. It's fully compliant*. If you're seeing anything other than the exact same image shown by the ACID2 reference, then there's a problem with your Safari install.

      * The nose even lights up! Whee!
    12. Re:ACID2 Compliance by Andrew+Kismet · · Score: 1

      Nice try, but would the nose of your render turn blue when rolled over? :P
      Opera got cheeky and did something similar, albeit after passing: http://files.myopera.com/chuanz/files/acid2.png

    13. Re:ACID2 Compliance by Drooling+Iguana · · Score: 2, Funny

      Flash.

      --
      ... I'm addicted to placebos
    14. Re:ACID2 Compliance by dr_turgeon · · Score: 1

      This outlines the problem. How?

      I also code for Firefox and Safari. Both have some problems. When these work together, I can then go and clean up the Win/IE glitches and find the sad compromise. I will testify that Safari isn't perfect.

      But can you explain why FF is not passing the Acid2 test?

      And maybe you have link to explain the "Fixed" theory? Thanks.
      --
      "...objectivity resides in recognizing your preferences, subjecting them to especially harsh scrutiny." -Gould
    15. Re:ACID2 Compliance by Overly+Critical+Guy · · Score: 1

      Ah, the NVidia method of display optimization.

      --
      "Sufferin' succotash."
    16. Re:ACID2 Compliance by Millenniumman · · Score: 1

      Safari passes since 2.02 . It was the first to do so, in fact.

      --
      Stupidity is like nuclear power, it can be used for good or evil. And you don't want to get any on you.
    17. Re:ACID2 Compliance by jdb8167 · · Score: 1

      Safari doesn't render Acid2 correctly if you have the Flash plug-in turned off.

    18. Re:ACID2 Compliance by poopdeville · · Score: 1

      How, exactly, do you turn the Flash plugin off?

      --
      After all, I am strangely colored.
    19. Re:ACID2 Compliance by uhlume · · Score: 1
      real Mac user: someone true to who they are, the misfits, the rebels, the troublemakers, the round pegs in the square holes. The ones who see things differently. They're not fond of rules and they have no respect for the status quo. The ones who are crazy enough to think that they can change the world.

      And apparently, if you're at all representative, the ones with no sense of irony...
      --
      SIERRA TANGO FOXTROT UNIFORM
    20. Re:ACID2 Compliance by CastrTroy · · Score: 1

      Firefox doesn't pass the Acid2 test because they haven't made it a priority to pass the test. They realize that CSS support is important, but they also realize that there's a lot of other things that go into making a good browser. To me it doesn't matter if Firefox passes the Acid2 test. What I care about is real world performance. And in the real world, Firefox gets CSS rendering right more often than Safari or Opera. There's a reason why Safari passes the Acid2 test while konquerer, which uses the same engine does not. Because they wrote specific hacks, just to be able to pass the test.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    21. Re:ACID2 Compliance by Grey+Ninja · · Score: 1

      I just tried the ACID2 test on my computer again after you said that. It would seem that the new Mozilla finally renders it flawlessly. I've previously tried it in Konqueror and Opera, and it displays fine there as well.

      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061219 Minefield/3.0a2pre

    22. Re:ACID2 Compliance by badpazzword · · Score: 2, Funny

      Because they wrote specific hacks, just to be able to pass the test. Because most browsers need specific hacks, just to be able to render regular web pages.
      --
      When ideas fail, words become very handy.
    23. Re:ACID2 Compliance by vadim_t · · Score: 1

      First hit on google:
      http://de.kde.org/bilder/visualguide/3.5/konq-acid 2.png

      You were saying?

  2. 10 years old... by Kelson · · Score: 5, Interesting

    ...and we're still waiting for a complete CSS2 implementation. Though to be fair, CSS2 is only 8.5 years old, and has been undergone a couple of minor revisions. I've seen good comparisons of browser support for CSS2 and CSS3. Anyone know of a good summary of current browsers' CSS1 support?

    1. Re:10 years old... by Salvance · · Score: 2, Insightful

      I don't know if we should give browsers any slack just because CSS2 is "only 8.5 years old". It's pretty poor IMO that a widespread standard such as CSS 2.0 still isn't implemented fully by any browser.

      --
      Crack - Free with every butt and set of boobs
    2. Re:10 years old... by poot_rootbeer · · Score: 3, Interesting

      It's pretty poor IMO that a widespread standard such as CSS 2.0 still isn't implemented fully by any browser.

      Maybe that's not only because browser developers have been lazy (IE) or preoccupied with rewriting the browser from the ground up (Netscape/Firefox) for the past 8.5 years, but also because CSS 2.0 is a convoluted, sloppily designed specification?

    3. Re:10 years old... by Kelson · · Score: 1
      I don't know if we should give browsers any slack just because CSS2 is "only 8.5 years old".

      Sorry, I left out the scare quotes around "only."

    4. Re:10 years old... by Shados · · Score: 4, Informative
      but also because CSS 2.0 is a convoluted, sloppily designed specification


      Correct. Honestly, I don't really ever want to see an -actively pushed-, and considered "standard" specification proposition go out without a reference implementation. Sit down, agree to a specification, propose it, then make a reference implementation, THEN start pushing it.

      When you look at most successful specs, from videocard chipsets, to Java specifications, they come with a reference implementation: this makes sure that everything makes sense in -practice-, not just in theory. With CSS, it is all about theory, without real world tests.

      The only reason it got pushed as standard, is because the web evolved too fast for its own good, and no one realised what was happening before it was too late, to propose an alternative to CSS.
    5. Re:10 years old... by jd · · Score: 1
      No doubt we'll see plenty of confusion, given that CSS2 is barely recognized. Hmmm - maybe Slashdot should claim CSS10 compliance, as the site lists it. :)


      As for CSS 2 being 8.5 years old, that's 3,192.5 days. If we assume a programmer can spend 8 hours a day, that gives us 24,820 workable programming hours since the spec came out, per programmer. Sure, outside of F/OSS (and Electronic Arts) no programmer is going to work 365 days a year, but then very few companies are going to allocate just one programmer to this. You can easily imagine some teams being in the tens of developers for CSS - maybe hundreds in the Open Source world.


      You can't directly use man-hours, because there is interaction between attributes and you can't parallelize beyond a certain level. It's hard to predict just how long it would take to write, component-test and integrated-test each function that you'd need, but a competent team should be able to do a decent level of parallelization and minimize management to where it belongs. (The coffee room - someone has to make the coffee for the engineers!) In 8.5 years, you should be able to implement and formally prove any meaningful permutation of a few hundred attributes, or implement and do very adequate testing on a few thousand, within the closed-source community and ten times that in Open Source.


      By now, we should not be talking about what functions have not been implemented or how many thousand bugs there are per line of code. By now, we should be talking about how CSS 2 is so rock-solid stable and universal that nobody can remember a time before it, and bugs should be measured per thousand browsers.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    6. Re:10 years old... by Bogtha · · Score: 1

      With CSS, it is all about theory, without real world tests.

      On the contrary, some of the most frequently complained about shortcomings of CSS are due to the desire to keep implementations simple, which is practically the opposite of being "all about theory". They purposefully left out things like a decent query mechanism because they considered it too hard for people to implement.

      The only reason it got pushed as standard, is because the web evolved too fast for its own good, and no one realised what was happening before it was too late, to propose an alternative to CSS.

      No, Netscape implemented an alternative (JSSSL) and submitted it to the W3C for standardisation. It was more powerful than CSS, and that's one of the reasons why CSS was a better choice.

      --
      Bogtha Bogtha Bogtha
    7. Re:10 years old... by Shados · · Score: 1
      On the contrary, some of the most frequently complained about shortcomings of CSS are due to the desire to keep implementations simple, which is practically the opposite of being "all about theory". They purposefully left out things like a decent query mechanism because they considered it too hard for people to implement.
      Makes sense. However, looking at the specs, its too simple to pass a real world usuability test (aka: do what my customers want it to do), yet too convoluted to be implemented properly (as a programmer myself, I'd rather implement XAML, Java or Flash from scratch than CSS, at first glance. You know, the whole "This property works. But only for elements of this type. Or with this, this, or that property. Unless its parent has this property, or is of this type. Unless you're using %, in which case it doesn't work at all. Unless....". Holy jesus!).
      No, Netscape implemented an alternative (JSSSL) and submitted it to the W3C for standardisation
      Ok, you win there, I didn't know about that. Though the W3C has proven (with things like XSD, etc) that it is amazingly bad at selecting useful standards... so I'm really wondering if, at the time (obviously TODAY it is easy to see where CSS failed, and propose something better, but it wasn't back then), something better could have been done, if the process of selecting a standard would have went better...
    8. Re:10 years old... by Bogtha · · Score: 1

      You know, the whole "This property works. But only for elements of this type. Or with this, this, or that property. Unless its parent has this property, or is of this type. Unless you're using %, in which case it doesn't work at all. Unless....". Holy jesus!

      Yeah, that's really a pain in the neck, particularly for for designers, but again, it's a limitation brought about by the desire to make it easy to implement rendering engines. If you look at a lot of the things that match your description, you'll find that, say, you can't allow a certain property for a certain type of element because it would involve having the rendering engine jump through hoops to make it happen. Frequently the specification looks more complicated than it actually is because it is written in English and not pseudocode, and English sucks for describing processes.

      There's a balance that has to be struck between making things simple for designers and making things simple for browser developers. In hindsight, I think CSS is weighted too far in favour of the browser developers, but when you consider the performance constraints of 1996 computers, some of the decisions start to make more sense. For example, if CSS selectors were more contextually aware, there's no way a browser would be able to evaluate them in a reasonable timeframe on pages the size of, say, Slashdot comment pages. And, of course, similar constraints are in place today with mobile platforms.

      --
      Bogtha Bogtha Bogtha
    9. Re:10 years old... by Shados · · Score: 1

      I agree, to some extent. The catch is here: There are many different browser based engines, usualy in the form of plugins, that work fine, even on limited hardware. Flash, for example.

      The reason WHY they made CSS the way it is, makes a lot of sense, I'll give you that. However, they failed. The browser already has to be aware of a ton more things, for DOM, javascript, etc. So CSS's implementation helps...cellphones. Thats about it...

      The only thing in the spec that makes sense put in perspective, as someone who has had to code layout engines from scratch in the past, is how selectors can only fetch their childs, not their parents. That obviously makes a lot of sense. But a lot of the rest is really out of wack, for BOTH the web designer (CSS is definately NOT powerful enough) and the people who develop the browsers (no one got it 100% right yet, while there are full implementations of Flash, Java, .NET, XALM {soon}, etc).

      I really understand all the logic you're trying to explain. But regardless: CSS failed at its goal, from virtualy all angles, except at being friendly for embedded devices when paired with XHTML.

  3. A little ironic? by iamjoltman · · Score: 4, Funny

    Is it just me, or is it a little ironic that the page that celebrates 10 years of CSS is so bland looking?

    1. Re:A little ironic? by Klaidas · · Score: 1

      No, it's not just you ;)
      I've noticed that almost all log-living websites have such a blank desing :|

    2. Re:A little ironic? by Aqua+OS+X · · Score: 1

      Ironic? No.

      Fitting? Yes.

      --
      "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
    3. Re:A little ironic? by AnyoneEB · · Score: 1

      But it's highly themeable. ;)

      --
      Centralization breaks the internet.
    4. Re:A little ironic? by sootman · · Score: 0

      What do you mean? Did you miss the awesome part where when you mouse over the links* in the top row they go from being nice white-on-black text to light-blue-on-white with a drop shadow in a box with no padding? *gag*

      Proving once again that it's better to have talent and bad tools than good tools but no talent.

      * note: the first bit of text, which looks EXACTLY like the other bits of text in that row, is not a link, just like the e*trade example here. Actually, whichever page you're on gets the this-isn't-a-link treatment, but nothing else about the text indicates that it's the page you're on. So I guess to figure out which page you're on, just mouse over all the links and see which one doesn't change. Oh, wait, I see--there's also the little pixel-y graphic that moves. I see. But the little graphic just looks like a fancy bullet on the first page since it's all the way on the left. Wait, let me check Firefox (I'm using Safari) to make sure I'm not missing anything. [checks] Nope, the only difference is Firefox doesn't show the drop shadow. Nice.

      Which is better design:
      - having distinct things which look distinct when you first see them--tabs, for example**
      - having distinct things with small visual distinctions which only become apparent when you do a few different things and look closely for differences, like those spot-the-six-differences-in-these-two-pictures things in the Sunday comics.

      ** note: for as good as Apple is, I'm super-pissed that they ditched tabs in favor of blue buttons starting in OS X 10.3. Tabs are WAY easier to differentiate, especially when there's only 2 choices. And they don't almost disappear when the tabbed-item-in-question isn't the foreground app.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  4. Safari has done Acid2 for more than a year! by network23 · · Score: 1, Redundant


    Are you on acid?

    Apples Safari has been able to render Acid 2 for more than a year now.

    - - -

    http://mil.int.gov.edu.org

    1. Re:Safari has done Acid2 for more than a year! by hr.wien · · Score: 1

      Opera also passes. What's your point? The summary said no browser on his computer passes ACID2, so I'm guessing he's not a Mac or Opera user.

    2. Re:Safari has done Acid2 for more than a year! by Midnight+Thunder · · Score: 1

      Opera also passes. What's your point? The summary said no browser on his computer passes ACID2, so I'm guessing he's not a Mac or Opera user.

      Yup, he is probably using Windows 98 or something. Of course there is the possibility he is using Lynx on a VT100 terminal :)

      --
      Jumpstart the tartan drive.
    3. Re:Safari has done Acid2 for more than a year! by Shados · · Score: 3, Informative

      The sad part is, Safari can pass Acid 2, but last I checked, it didn't handle onload image event contexts properly. Sad.

  5. And apparently by Marxist+Hacker+42 · · Score: 1, Redundant

    Slashdot's advertisers STILL CAN'T GET IT RIGHT. I just saw a CSS error, in Firefox 1.5, that disappeared with a reload. Obviously a top of screen banner ad went bad.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  6. It just works! by skia · · Score: 2, Informative

    I was ... disappointed (but not surprised) that no browser on my computer correctly renders the Acid2 test.

    You're clearly not using a mac.

    --

    --

  7. Wow! by NoMoreNicksLeft · · Score: 5, Funny

    PNG was almost 10 years old when IE finally supported it! Maybe this means that IE8* will have CSS! Hurray!

    *IE8 is expected to debut sometime in late 2018.

    1. Re:Wow! by Yvan256 · · Score: 0, Redundant

      Too bad PNG is still not supported correctly by IE (alpha channel).

      It's also too bad that CSS support is still buggy in some browsers. However, IE is the one still lagging far behind the others.

    2. Re:Wow! by NoMoreNicksLeft · · Score: 4, Funny

      Thank you. My joke wasn't nearly clumsy enough on its own, I needed someone completely oblivious to sarcasm to come along and add that part in.

    3. Re:Wow! by Kelson · · Score: 1
      Too bad PNG is still not supported correctly by IE (alpha channel).

      I take it you haven't been following news about IE7? Or did I miss something and it's got some major bug in its alpha channel support?

    4. Re:Wow! by Yvan256 · · Score: 1

      IE7 won't replace IE5 and IE6 for quite a few years to come. Today's support comes from yesterday. As the parent wrote, we should have proper CSS support from IE users at around 2018.

    5. Re:Wow! by Yvan256 · · Score: 0, Offtopic

      My comment was about IE still not supporting PNG completely, not your comments themselves.

    6. Re:Wow! by blibbler · · Score: 1

      Curiously IE was the first browser to support PNG alpha channel.

    7. Re:Wow! by NoMoreNicksLeft · · Score: 1

      It finally supports alpha transparency. The problem is, with their WGA bullshit and abandonment of older platforms, IE7 will never become the 99% adoption (among IE users) that it needs to become, not in any sane period of time. Just dropping WGA and pushing it out as a critical update, we'd be able to ignore filter() bullshit by the end of January.

      They're not interested in giving out their browser, so much as forcing obselensence to sell copies of the new OS. Funny how their browser was only free long enough to scuttle the competition. (Or is it really an OS subsystem component?)

    8. Re:Wow! by styrotech · · Score: 1

      Don't worry, all is not lost despite the PNG alpha channel being fixed. As far as I'm aware IE7 still screws up gamma on PNGs.

    9. Re:Wow! by asdfgl · · Score: 1
      It finally supports alpha transparency. The problem is, with their WGA bullshit ...


      Granted, WGA isn't perfect, but how is checking that a customer actually payed for his OS bullshit?
      They're not interested in giving out their browser, so much as forcing obselensence to sell copies of the new OS. Funny how their browser was only free long enough to scuttle the competition.


      Has IE suddenly started to cost money without me noticing? For all that it's worth, IE6 sucks, but it is still free as long as you own a valid Windows license. What is your problem with that?


      All in all some of MS's business practices are shady to say the least, but you can't badmouth them for actually releasing IE7 if even for a limited subset of OS-versions now, can you?

    10. Re:Wow! by NoMoreNicksLeft · · Score: 1

      We're not talking about their OS. We're talking about browsers. If they want to check if the OS is valid, fine, but tying downloads of IE7 to this is bad for everyone.

      Same with security patches... even if it's a pirated copy of windows, having it unsecure harms everyone. And for a company that had no problem with piracy when it was doing them good, to turn around and pull this stunt, well, it's pretty damn low. Even for them.

      Has IE suddenly started to cost money without me noticing?

      Yes. If it is tied to a WGA-validated copy of windows, then it is no longer free. It is some unknown fraction of the retail cost of an XP license. For instance, a free (as in beer) copy of IE7 might still run on linux through wine, but they disallow this. It's not free, it has a hidden cost. Economically-speaking, this can't be disputed.

      All in all some of MS's business practices are shady to say the least, but you can't badmouth them for actually releasing IE7 if even for a limited subset of OS-versions now, can you?

      Yes, for limiting the release where there is no good excuse to do so. A month after, every XP machine that doesn't have automatic update disabled should have the damn thing already. We shouldn't have to be dealing with IE6 bullshit at this point, and we still are. Screw that.

  8. Re:CSS or CS:S? by Ingolfke · · Score: 2, Funny

    I'm not up on the finer points out the definitions for "nerd" and "geek" but it would seem to me that if your first thought about a core web technology like CSS was about Counter Strike your more likely to be a loser then a nerd... maybe a nerdy loser.

  9. 10 years by wumpus188 · · Score: 5, Funny

    ... and still no vertical centering. </rant>

    1. Re:10 years by Yvan256 · · Score: 2, Insightful

      ... and still no "height=100% of parent container" either. We're still forced to do either javascript and/or visual hacks to make two columns of the same height with dynamic content inside each column.

    2. Re:10 years by j_sp_r · · Score: 1

      that's a closed with a ... Wouldn't that be incorrect? Really you cannot style that properly without styling my post.

    3. Re:10 years by wumpus188 · · Score: 1

      oops.. hey, nobody's perfect, after all.. ;)

    4. Re:10 years by jo42 · · Score: 1

      What you want is called a "table"...

    5. Re:10 years by brunascle · · Score: 2, Informative

      that's what they're talking about.

      i dont remember the specifics of it, but i ran into this problem last year trying to set height=100% on a table. when it didnt work, i hunted down the reason: apparently, proper HTML has never had height=100% as a valid value for a table. the w3c explained that tables were never meant to be used for layout, but only for displaying tabular data.

    6. Re:10 years by Yvan256 · · Score: 1

      Tables are supposed to be used for tabular data, not content layout.

    7. Re:10 years by Yvan256 · · Score: 1
      I have no problem centering something vertically or making two columns of the same height with dynamic content using nothing but a combination of HTML and CSS.
      Really? Only HTML and CSS? No table and no javascript messing around rewriting the document?

      Then why don't you share your genius with us, oh great AC?
    8. Re:10 years by Shados · · Score: 1

      The part that irks me about the whole "table were never meant to be used for layout" deal, is that in most other environment, there are multiple layout methods. CSS implements most of those. Even a subset of "table layouts" in the form of the display:table-cell, display:table, etc, but no actual grid/table layout of some kind. To do some stuff, these ARE the easiest way to do things.

      So in the same way in other environments we have "data tables", to display tabular data, and "table layout" to do what tables have been used to do in HTML, there should be something like that in CSS too (and no, the display CSS properties aren't enough).

    9. Re:10 years by Scarblac · · Score: 3, Informative

      Really? Only HTML and CSS? No table and no javascript messing around rewriting the document?

      In what way is table not HTML?

      --
      I believe posters are recognized by their sig. So I made one.
    10. Re:10 years by VJ42 · · Score: 1

      <div class='rant'> ... and still no vertical centering. &lt;/rant&gt;</quote>
      <pedant>
      Your HTML isn't properly formatted, it should be </div>, not </rant>
      </pedant>

      --
      If I have nothing to hide, you have no reason to search me
    11. Re:10 years by Anonymous Coward · · Score: 0

      >>the w3c explained that tables were never meant to be used for layout

      the W3C has never seen some of the geniuses in my workplace use Excel for laying out pages of text and images...

    12. Re:10 years by strider44 · · Score: 1

      I can't believe you just typed &lt; and &gt;.

    13. Re:10 years by shmert · · Score: 1

      http://www.w3.org/Style/Examples/007/center-exampl e.html should do the trick, although I tend to be among those ridiculing the CSS zealots who resort to obscene hacks to get around using tables. This example seems like kind of a copout, since it uses the display:table functionality in CSS. So, you can't use a table, but it's perfectly fine to use a and tell the browser to render it like a table :P

      --
      You drank my drink, you drunk!
    14. Re:10 years by Yvan256 · · Score: 0, Redundant

      Tables aren't made for page layout, just like a bold paragraph isn't a sub-header.

    15. Re:10 years by Yvan256 · · Score: 1

      That's because "data tables" and "tabular data" has to be displayed with the table HTML element. That's what it's for!

      Tables are not supposed to be used for page layout, which is what most people are talking about. Tables aren't bad, but people are using them the wrong way most of the time.

      Calendar, database, etc: table
      Page layout with columns, header, footer and stuff: CSS

    16. Re:10 years by Shados · · Score: 1

      You misunderstood me. What im saying is that for extremely complex layout in other (not HTML) environment, you always have some kind table based layout engine (which is NOT the same as using a data grid, etc. I am talking about something that does exactly the same thing as using tables for page layout in HTML, but as a totally separate element, with layout specific features).

      Take Java Swing for example: jTable -> tabular data. Gridbag layout -> "table" layout.

      HTML/CSS needs something -specificaly- for table layouts to cover these cases (for example, like having multiple columns that need to grow symetrically, with specific resizing constraints, etc )in a more intuitive manner, without having to rely on a -datatable- element (the current HTML tables).

      Thus, Im saying HTML is missing a layout element. And CSS's display:table doesn't count.

    17. Re:10 years by Yvan256 · · Score: 1

      Ok, I understand what you meant. But I'll also guess that you meant "CSS is missing a layout element", not "HTML is missing a layout element". HTML is not about layout, it's about structured content.

      For the whole layout mess, my guess is that a simple [div style="height=100%"] would be enough, making it possible to at least make easy-to-make grids of blocks-within-blocks without messing up everything else already in place (both specs and all the websites already in place). I'm also guessing that making divs with height 100% is also what most people try at first. ;-)

    18. Re:10 years by Shados · · Score: 1
      HTML isn't about layout....anymore. It used to be though :) I prefer seeing XHTML as the structured content language, since XML is about structure. HTML was around before CSS, so obviously it was made with layout in mind, originally. The whole HTML/CSS to separate the structure from the layout is also obsolete in my opinion... That was from before server side languages became mainstream. ASPX (ASP.NET), JSP, JSF, the templating part of PHP, ASP, whatever...those are now about structuring content, and HTML and CSS both ends up being about the layout if you see what i mean. CSS/HTML becomes a superfluous separation, since its already separated. Then merged, then separated again @.@ Anyhow, back to your point: div style height 100%, a position:relative that works no matter what the container is, and an expression language would do the trick. If I could do, let say:

      <div id="whatever"> One column </div>
      <div id="another" style="height:#whatever.height + 20em"> Another column </div>
      Give or take (typing code in slashdot's text editor isn't ideal, haha), now then we would be in business. But again, all that would still fall short of other presentation layer solutions, when HTML is so mainstream, it should not be limited. At least not when read on a desktop. Now that ASP.NET, JSP, PHP, and so on are mainstream, and gives us the extra separation, the whole HTML deal seems overkill. Separations within separations within separations just at the presentation layer level, when my app is already separated in 20+, is really overkill.

      If HTML/CSS is a solution designers like, so be it. I want a solution for web apps. Microsoft has one: XAML. But thats Microsoft only, and will never be widely accepted. I want another :) (Yeah, i'm picky). Until that happens, the thing I showed above would solve 90% of problems. If at the very least I could structure my data using HTML, without having to think at ALL about the layout (because with CSS' current limitation, I do. Just look at the CSS Zen Garden, it has an extreme amount of tags to allow perfect separation of layout and structure, and it STILL is limited, if to a much lesser extent...thats insane!), then it will be sufficient. For now.
  10. Oh thanks /. I feel old now :( by Tei · · Score: 1

    Is like technology growing old all around me. 2002 is like the year I started with Wiki, and now looks almost like the good old days.
    Dont let me start with 1995 and my commodore 64 computer ....

    --

    -Woof woof woof!

    1. Re:Oh thanks /. I feel old now :( by Anonymous Coward · · Score: 0

      "Wiki" isn't a proper noun.

    2. Re:Oh thanks /. I feel old now :( by poopdeville · · Score: 1

      Yes it is. It refers to the "WikiWikiWeb" at c2.com. This was the first wiki ever made, by the way.

      --
      After all, I am strangely colored.
  11. Ten Year Anniversary Page @ w3c.org by markjl · · Score: 1

    http://www.w3.org/Style/CSS10/ first link points to the press release and the CSS Hall of Fame is worth visiting, too!

    It was about ten years ago that I saw Hakon present CSS to some of the engineers and product managers at Netscape, where I was a technology evangelist. That was a great moment in my career, where I knew how much trouble we had with the rendering engine as well as how much responsibility we had to fight the good fight for standards.

    Thanks to Hakon and Bert, congrats to the w3c, and keep on on styling your designs!

    --
    My opinions are my own, but you may share them!
    1. Re:Ten Year Anniversary Page @ w3c.org by howcome · · Score: 1
      It was about ten years ago that I saw Hakon present CSS to some of the engineers and product managers at Netscape, where I was a technology evangelist. That was a great moment in my career, where I knew how much trouble we had with the rendering engine as well as how much responsibility we had to fight the good fight for standards.

      Wow. Thank you for remembering. And posting.

      -h&kon

  12. http://www.csszengarden.com/ by Brummund · · Score: 1, Funny

    Yay, yet another bunch of web pages with light grey text on white background! Just what the world needed.

    Come on guys, it might be valid CSS, but it is not easy on the eyes.

    1. Re:http://www.csszengarden.com/ by Anonymous Coward · · Score: 0

      zengarden is for php sites - as soon as you implement in html format it loses something zengarden will remain as trendy as php remains fashionable.

    2. Re:http://www.csszengarden.com/ by spun · · Score: 1

      There are dozens of different entries at that site. Maybe hundreds, it's been a few years since I looked though all of them. Most of them do not have light grey text on a black background. The neat thing about the site is that the html is exactly the same, only the CSS changes.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    3. Re:http://www.csszengarden.com/ by ewhac · · Score: 2, Interesting
      You did check the hundreds of other stylings of the same content, didn't you?

      In case you didn't, here are a few examples.

      The point of the site is to illustrate how the exact same HTML file can be displayed in an infinite number of ways by simply changing the CSS. The site is essentially an argument for a semantic Web.

      Schwab

    4. Re:http://www.csszengarden.com/ by Anonymous Coward · · Score: 0

      The point of the site is to illustrate how the exact same HTML file can be displayed in an infinite number of ways by simply changing the CSS. Am I the only one that finds it ironic that three of your four examples have essentially the same layout? Sure, the backgrounds and such are different, but the basic layout is essentially the same. Where's the CSS tabbed layout where you hover over a heading and it shows you the content? Or how about a circle layout?

      The biggest problem with CSS Zen Garden is that most people just use it to highlight their graphics skills. It needs a moderation system so that truly unique views can be highlighted. As things are, it's mostly crap.
  13. Uh oh by sirnuke · · Score: 4, Interesting

    Uh oh
    #navigation li Invalid number : text-shadow Property text-shadow doesn't exist : 0 2px 4px #000

    --
    Zing!
    1. Re:Uh oh by Bogtha · · Score: 3, Informative

      The W3C's CSS validator has recently been changed to check against CSS 2.1 by default instead of CSS 2. The text-shadow property was removed from CSS 2.1 because virtually no browser developers bothered to implement it. The stylesheet is still a valid CSS 2 stylesheet, but you wouldn't know that because nobody's bothered to come up with a way of labelling stylesheets to denote what level of CSS they are meant to conform to.

      --
      Bogtha Bogtha Bogtha
  14. 10 years of "how come" by elcid73 · · Score: 1
  15. Gah! Ten? by Ai+Olor-Wile · · Score: 2

    CSS10? But IE still doesn't have CSS2... aha! It's a binary joke! I get it now! There are 10 kinds of browsers in the world: those that implement CSS properly and those that don't.

    1. Re:Gah! Ten? by RAMMS+EIN · · Score: 2

      ``There are 10 kinds of browsers in the world: those that implement CSS properly and those that don't.''

      Sadly, I think there is only 1 kind.

      --
      Please correct me if I got my facts wrong.
  16. Great! Now let's use it!! by thetekwiz · · Score: 1

    Ok, guys, the "Age of the Tables" is officially over. Let's start using divs! (Correctly, please).

    --
    -- The TekWiz
  17. Was it worth it? by Animats · · Score: 0, Troll

    Before CSS, we had formatting with nested tables. After CSS, we had formatting with nested DIVs. Big deal. Plus absolute positioning, the big mistake. And layers, which are 10% useful and 90% annoying ads.

    Of course, now we have more "abstraction". Yeah, we have a macro system. Big deal.

    The real effect of CSS was to make web layout more complicated, so as to keep a role for programmers in web design. Otherwise, the artists would be in full control by now.

    1. Re:Was it worth it? by Rakishi · · Score: 1

      Big deal.

      Because it's always fun to have to change 342 different areas/tags to make page or site wide change.

      The real effect of CSS was to make web layout more complicated, so as to keep a role for programmers in web design. Otherwise, the artists would be in full control by now.

      No one forces you to use CSS, if your hypothetical artist wants to they can have all the fun they want with html. Well that is until their templated editor craps out on something (I'm assuming they're not utterly stupid), they need to do something semi-complex (ie: javascript, user controlled templates, etc.), someone else needs to take over the mess they made, bandwith is becoming a problem and so on.

    2. Re:Was it worth it? by Dracos · · Score: 1

      The real effect of CSS (and its goal) is separation of content from presentation.

      CSS is about as much programming as HTML. Ever tried to execute a stylesheet? I don't think so. Calling it a macro system proves you have no idea what you're talking about.

      The only added complexity in using CSS is that it's another syntax to learn. Offsetting that is the fact that table layouts are bloated and their structure is hard to follow. CSS layouts result in leaner, cleaner documents. As they say, "It's about content, stupid."

      As for the "artists", they're still around, thinking that a web page is a canvas that they can paint whatever they like on. They never knew HTML, they didn't bother to learn CSS, they have no use for any web standards because they are ar-teests, that's why they use Flash. Or still slice up their Photoshop mockups into tables.

    3. Re:Was it worth it? by Kabal` · · Score: 1

      It does an OK job at seperating the text content from the presentation but for layout it totally blows. Complex column 3 layouts in CSS are about 20x harder to understand and maintain than tables ever were. Yay negative margins.

    4. Re:Was it worth it? by Animats · · Score: 1
      Because it's always fun to have to change 342 different areas/tags to make page or site wide change.

      That's what Dreamweaver is for.

      Slashdot has many users who like to hack on HTML/XML, but realistically, that job has been automated.

    5. Re:Was it worth it? by Rakishi · · Score: 1

      And as the rest of my comment said, a half assed hack of a solution has it's own massive set of problems (scalability will be worse). I'm sure trying to write a complex Ajax app in Dreamweaver is great fun...Hell, even a complex server side scripted one would probably be hell (then you get to hack all this stuff as server side templates I guess, equally fun).

      And artists are simply abusing the fuck out of Flash instead of bothering with html anyway, god knows it's probably easer than trying to shove together the same thing with javascript and pure html.

    6. Re:Was it worth it? by peepleperson · · Score: 1

      The real effect of CSS was to make web layout more complicated I disagree. I did a lot of accessibility work, recoding badly-written websites in XHTML and CSS. Once you've studied the box model of CSS, it is incredibly simple - it is only the browser implementations which let it down. Typical process would be: - Examine website - Re-style with box model in tiny brain - Code wonderful, flexible, tableless, standards compliant, gracefully degrading XHTML content and CSS styling - Watch said code create mayhem in most browsers - Hack - Ta-dah! - Client's main customer uses Mac IE 5. - Scream

    7. Re:Was it worth it? by juiceCake · · Score: 1

      Complex column 3 layouts in CSS are about 20x harder to understand and maintain than tables ever were.

      How so? They are dead easy, in either fixed, elastic, or liquid forms. Very little code is required and adjustments can be made quickly. I use 2 - 4 column css layouts all the time.

  18. CSS turns 10, typographers still crying by Aqua+OS+X · · Score: 1

    I'm sorry, but I can't wait until my options for web type are more then the font tag, a crappy style sheet, a picture that looks like type, Flash, or some sort of odd embeded media option that a only fraction of people can view. I hope by the time Slashdot posts "CSS turns 20" we've finally embraced our SVG overlords, or some sort of superior vector graphic solution.

    Even if browsers were to finally properly support tracking, x-height controls, etc., CSS is still obnoxiously rudimentary in comparison to the typesetting tools that exist for static type. Hell, it's been over a decade and there is still no widespread adoption of a way to embed an f'n typeface in cross platform / cross browser way that does not annoy everyone. ugh.

    --
    "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
    1. Re:CSS turns 10, typographers still crying by croddy · · Score: 3, Interesting
      The great thing about a personal computer is that I can customize the settings to my personal preferences. If, god help us all, you ever do find a way to embed typefaces in web pages, I'll be painlessly overriding your designs with black Bitstream Vera on a pale gray background.

      I can't wait either.

    2. Re:CSS turns 10, typographers still crying by Aqua+OS+X · · Score: 2, Interesting

      Believe it or not, some graphic designers / typographers actually know what they hell they're doing; and they've been schooled to use typesetting to as a communication tool that can actually increase comprehension, legibility, reading speed, etc. Yet I can't necessarily say thats all, or the majority, of "graphic designers."

      That said, yes, properly styled and typeset text needs to live and accessible. It's currently not (at least in any practical form), and that's the problem.

      --
      "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
    3. Re:CSS turns 10, typographers still crying by Anonymous Coward · · Score: 0

      SVG is nice for that indeed.
      The best (partial) implementation at the moment i think is Squiggle, then Opera, then Firefox.
      As developments seem to go faster, that order might change soon.
      More on SVG at http://svg.startpagina.nl/
      You can also use CSS in SVG, though many people think it's better if you don't

    4. Re:CSS turns 10, typographers still crying by pafrusurewa · · Score: 1

      No. Not a single graphic designer or typographer knows in what circumstances I will view his website. He doesn't know me. He might not know that I have trouble reading his "beautiful" (curved) fonts because I'm graphically challenged (really, even those Slashdot gotchas are hard for me). Maybe I want to sit back an look at my monitor from a couple of meters away and zoom in, thereby necessarily changing the layout (Opera is great for this BTW). Maybe I need ultra-high contrast (because my vision is bad or the sun is shining) and have to override his choice of colors. Maybe I view your website on a monochrome screen and your black-on-grey color scheme doesn't make sense. Maybe I am one of the ~5-10% of males that are color blind in some form or other (I am actually, green and red texts or backgrounds are just a blurry mess to my eyes). You get the idea.

      Layout in print only works because you can control everything, including display size and type of display. That said, it's still a compromise that has to be made because of technical contrainsts. It's not ideal for anyone.

      That's why CSS and HTML are designed so that users can override the layout in any way they want (really easy in Opera by the way; not surprising since they practically invented CSS).

      Let's hope that most websites will never be rendered as an image, vector or otherwise. I'm actually shocked that you would suggest that.

    5. Re:CSS turns 10, typographers still crying by Aqua+OS+X · · Score: 1

      And by desiring proper typesetting tools you assume I'm asking for web text that is not live and accessible (as I noted in the past post)?
      You're ranting about the exact same thing I'm ranting about, current typesetting conventions.

      The current convention, more or less consists of typeset text which is generally not live or accessible (ie can't select / copy / use with universal access software), or live / accessible text which can only be typeset in rudimentary ways. This is bad. You shouldn't need to use images or Flash simply to get proper tracking, a decent rag, control over and x-height, etc. Basic stuff.

      Just because text is on a screen doesn't mean it's exempt from fundamental rules of typography.

      --
      "Things are more moderner than before- bigger, and yet smaller- it's computers-- San Dimas High School football RULES!"
    6. Re:CSS turns 10, typographers still crying by Bob+Uhl · · Score: 1
      The problem is not that typographers/graphic designers are ignorant--quite the opposite, actually: the problem is that they are too learned in outdated technology. They learnt their skills on the printed page, which has something like 1200-2400 dpi resolution and a fixed (or at least controllable) page size. What makes sense for books doesn't necessarily make sense on-screen; in fact, sometimes it's the worst possible thing.

      Now, the very best typographers and graphic designers are the ones who will seperate the universal principles of design from their particular applications with regard to the static page, and apply them to the dynamic, computer-displayed web page.

      However, there are many lesser talents whose influence now is positively dangerous--you know the sorts I mean: the ones who assume a specific screen size (a web page should look as good when the browser is 100 pixels wide as when it's 1,024), or specific fonts, or what-have-you.

    7. Re:CSS turns 10, typographers still crying by pafrusurewa · · Score: 1

      My point is: proper typography is impossible on the Web, by design. And that's a good thing. You can't and shouldn't be able to assume how your content will be displayed. That's entirely up to the user and his choice of browser to decide.

      Get over it.

  19. Usable positioning in another 10? by bill_mcgonigle · · Score: 4, Insightful

    Hey, and maybe in another ten years we'll have a position system that works reliably across browsers and can survive the window being resized, the dpi being changed, or the font being enlarged. Other than tables I mean.

    I did the CSS -showcase thing a few months ago and about 10% of the layouts by the CSS Masters of the Universe fit the above criteria. It may not be impossible, but the bar's too high.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:Usable positioning in another 10? by RAMMS+EIN · · Score: 1

      ``Hey, and maybe in another ten years we'll have a position system that works reliably across browsers and can survive the window being resized, the dpi being changed, or the font being enlarged. Other than tables I mean.''

      My first reaction to this is: I don't think this is a problem with CSS. Maybe there is a problem with implementations, or with webmasters doing things the wrong way. Am I missing something?

      --
      Please correct me if I got my facts wrong.
    2. Re:Usable positioning in another 10? by crayz · · Score: 1

      Yeah: CSS makes it so difficult to do proper layout that will look right in all browsers, that most people stick with tables. Part of this is the fault of browser implementors(*cough* IE *cough*), but its a real sore-spot for web design

    3. Re:Usable positioning in another 10? by juiceCake · · Score: 1

      I'd argue the opposite. Tables can get very complex. CSS positioning makes layout a breeze for all the sites I develop, in Safari, IE 6 +, and Firefox. I'll never go back willingly, though I have to painfully update content on some old sites. The ability to change layouts quickly and make adjustments side wide is spectacular. I'm happy I'll never have to use tables for layout again.

      People are used to the complexity of tables and using spacers. When they get to CSS it's a different paradigm. I'd argue it's far simpler than using tables for layout.

  20. Good but not all there yet. by MikeFM · · Score: 1

    Do any browsers really do CSS right? Firefox is missing drop shadows and IE7, Safari, and Opera still don't center content correctly all the time. Still things are a lot better than with older browsers such as IE6.

    I wish the standards would be realistic and just realize that no browser is ever going to be 100% perfect in how it renders a page and that in some cases the standard isn't going to be perfect either. I hate to praise IE but IE has a way to only load certains stylesheets for IE or even certain versions of IE. It'd be nice to see that built into the standard so it'd be easier to make minor tweaks for individual cases. If you can specify the stylesheet's media then why not browser? Heck, I like to switch stylesheets based on window size even so why not make that possible also without resorting to Javascript (which results in a minor jump as the page loads and changes stylesheet). Like print stylesheets, few developers might use such browser or size optional stylesheets but for those of us who do it'd make things easier for us and nicer for our users.

    Overall, I love CSS though. It allows me to vary the look of my sites a lot and to do things that look good without requiring plug-ins like Flash and without making pages unusable for the disabled. I can't wait for the additional features of CSS3.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:Good but not all there yet. by Kelson · · Score: 1
      Heck, I like to switch stylesheets based on window size even so why not make that possible also without resorting to Javascript

      You mentioned CSS3, so you may be aware of this already, but CSS media queries will eventually do this. AFAIK, Opera is still the only browser with even experimental support for them, though.

    2. Re:Good but not all there yet. by Bogtha · · Score: 1

      I hate to praise IE but IE has a way to only load certains stylesheets for IE or even certain versions of IE. It'd be nice to see that built into the standard so it'd be easier to make minor tweaks for individual cases.

      Delivering differentiated content to work around buggy user-agents is a function of the transport protocol, not something you want to replicate for each and every file format delivered over that protocol. It is built into the standard - the right standard for this, HTTP. I quote from RFC 2616:

      The User-Agent request-header field contains information about the user agent originating the request. This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring responses to avoid particular user agent limitations.

      Of course, it isn't reliable, but that's because of abuse from both web developers and browser developers. It's only in the face of this abuse that stupid workarounds in particular file formats is necessary.

      Heck, I like to switch stylesheets based on window size even so why not make that possible also without resorting to Javascript

      That's already possible with CSS 3 Media Queries, already implemented by Opera.

      --
      Bogtha Bogtha Bogtha
  21. What's a Fire Millen? by spun · · Score: 0, Offtopic

    Is that some kind of server room safety equipment? And what's NFL? Is that some new kind of filesystem? Don't just tease us with these mysterious new IT related products, give us the details!

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  22. And here I thought by moheezy · · Score: 0

    And here I thought that CSS meant Content Scrambling System(This is the 10th anniversary of CSS btw) which isn't a great thing to celebrate since it was cracked in a three years.

    1. Re:And here I thought by RAMMS+EIN · · Score: 1

      ``And here I thought that CSS meant Content Scrambling System(This is the 10th anniversary of CSS btw) which isn't a great thing to celebrate since it was cracked in a three years.''

      It took that long? I never knew.

      --
      Please correct me if I got my facts wrong.
    2. Re:And here I thought by mabhatter654 · · Score: 1

      should have had the W3C do their encrypting engine!! Cascading Style Sheets STILL haven't been cracked!

  23. Look closer by Anonymous Coward · · Score: 0

    Perhaps it's not as obvious as it should be, but the point of the CSS Zen Garden isn't the default stylesheet (the grey-on-white colour scheme you mention).

    It's actually a gallery of very different styles, including quill pens on parchment, urban tagging, and even one that looks like an old-time movie theatre with scrolling credits.

  24. Yes and in 10 Years by fullphaser · · Score: 4, Insightful

    They have yet to convince me just how they are going to make the table obsolete, every time you turn a corner you are hearing from CSS users (including myself) the end of the table is near, don't use the table, I think the real question ought to be why not use the table, besides the lag, the complications with non css table layouts actually tend to go down in my experience. Yes I could spend 2 days figuring out why the div layout is being difficult and use CSS hacks to make it cross browser, but in the long run the div/css layout has a lot to work on before you see it being adopted as anything more than a side note for those who want to show off their skills. Right now CSS because of its major lack of vertical control is far less stable than the table structure, yes we are told you should burn in hell for even thinking of using tables, but on the end note it works, and quite frankly If I am going to get more stable results at the the price of not promoting the great CSS, than I can get over it. I am glad CSS has had 10 years and a congratulations are in order for them, but please if you are going to promise the end of an era or style try to make sure you can back it up with proof like the decline of nearly every major dynamic web software relying on tables to ensure stability (with CMS's trying to move to the div, the BBS stuck in a rut because css/divs just don't seem to help do them well

    --
    Did someone say cake?
    1. Re:Yes and in 10 Years by bwy · · Score: 1

      I agree 100%. I don't do a lot of HTML work- but I seem to have a project every year or so. For the past several years I've started each project fresh thinking "this is the time I quick using tables!" and it never fails- I spend days trying to make a div layout work. My deadline approaches and I end up using tables again.

      Who the heck is behind this "table is dead" mentality? Personally, I dislike CSS. It leaves guys like me in the cold. What do I mean? In my experience CSS isn't as easy or usable by people who code HTML by hand- especially on a casual basis. I suppose this doesn't matter for users that desire a WYSIWYG editor. And I guess it doesn't matter for users who use CSS daily in their profession and become proficient at it. It is those of us who have to develop the occasional JSP or small web site that won't make the transition.

    2. Re:Yes and in 10 Years by growse · · Score: 1

      Because by using a table as a stylistic and not a semantic element, you're depriving me of the ability and the choice of viewing your page without any styling at all. For a well designed page, I should be able to switch all styling off and have the content presented to me in a logical, sensible manner. If you use tables and I switch CSS off, I've suddenly got a whole bunch of information presented in a table for absolutely no reason. People aren't saying "Don't use the table", they're saying "Don't use the table unless you're presenting tabular data". There's no such campaign for the "death of the table", that's just retarded. People who mis-use HTML are, however, annoying.

      The actual nature of the content and the way it is presented on the page should be two completely separate things, usually written by two different people. That means don't change the semantics of the data just to fit your styling needs. Style the way the standards say. If using tables was ok, most people wouldn't be pissed off that no browser follows the styling standard properly yet - they'd just use tables.

      --
      There is nothing interesting going on at my blog
    3. Re:Yes and in 10 Years by Anonymous Coward · · Score: 0

      And how does one align equations properly without tables? Or include a matrix?

    4. Re:Yes and in 10 Years by melikamp · · Score: 1

      In my experience CSS isn't as easy or usable by people who code HTML by hand- especially on a casual basis.

      What the heck do you mean? I always coded all of my HTML by hand (it's not much, but it's something), and when I discovered CSS I thought that it was contrived by Jesus and designed by Moses himself. Look, ma, I can change the color of all links, on all pages on my website, by fixing this one value.

      I know, I'm a lazy bastard. You guys probably just go into the Perl interaction mode and fix it with a single regexp...

    5. Re:Yes and in 10 Years by mdfst13 · · Score: 1

      And how does one align equations properly without tables? Or include a matrix? How does one align equations properly with a table? Given an example of the effect that you want, someone can probably suggest a superior alternative. Possible example: http://www.xs4all.nl/~sbpoley/webmatters/superscri pts.html

      By matrix, do you mean something like

      816
      357
      492

      ? Hmm...I see rows and columns. Since this is data that is *supposed* to be tabular, you would use a table for semantic reasons. By contrast, in a three column layout with a header and a footer, the data is not organized semantically. If I move the data from the header into the left column and move the data from the footer into the right column, it still makes sense. There is no characteristic of the data that makes the header inherently need to appear above the content and the footer below.
    6. Re:Yes and in 10 Years by bwy · · Score: 1

      CSS is a nice option for style, but not for layout. So while it is nice for changing all your fonts, it is a bear to use it to lay out your page. This is why tables are still used so heavily.

  25. ? Surely? by littleghoti · · Score: 1

    </div>? Surely?
  26. /. Test by RAMMS+EIN · · Score: 0

    Some browsers may pass the acid2 test, but does acid2 pass the Slashdot test?

    --
    Please correct me if I got my facts wrong.
  27. That's 10 years of not using it! by NineNine · · Score: 0, Troll

    Wow! CSS has been son incredibly inconsequential, that I have gone 10 years, running income-producing web sites, with no CSS, whatsoever. That's pretty amazing, when you think about it, that CSS has made such a lack of impact.

    1. Re:That's 10 years of not using it! by Anonymous Coward · · Score: 0

      I can't tell. Your website is down.

    2. Re:That's 10 years of not using it! by Dracos · · Score: 1

      I'm baffled and saddened that you're proud of this. Do you still have a Pentium I as your main desktop? How's that bandwidth bill treating you, since your Intarweb pages are 20% to 60% more bloated than they could be?

    3. Re:That's 10 years of not using it! by NineNine · · Score: 1

      How's that bandwidth bill treating you, since your Intarweb pages are 20% to 60% more bloated than they could be?

      Are you kidding? Bandwidth is near free, these days. Hell, it's about 1/10 of my phone bill. Who cares?

    4. Re:That's 10 years of not using it! by Abcd1234 · · Score: 1

      Are you kidding? Bandwidth is near free, these days.

      You really are an idiot if you believe that these bandwidth concerns have anything to do with the end-user (as opposed to the company, who is paying for every byte they send).

    5. Re:That's 10 years of not using it! by NineNine · · Score: 1

      A. I AM the company. I don't pay for every byte I send.

      B. If, in this day and age, you're worried about a 10K page vs a 8k page, then you might as well also be designing with the original 256 color web pallette, and testing on Mosaic.

    6. Re:That's 10 years of not using it! by Esine · · Score: 1

      Here's something you should read http://www.hotdesign.com/seybold/

        -- dbg

    7. Re:That's 10 years of not using it! by Anonymous Coward · · Score: 0

      Yeah, but that would only matter if people actually visited his web site.

  28. Slashdot using invalid css? by mrcgran · · Score: 1

    Trying slashdot.org on article's link http://www.w3.org/Style/CSS10/
    18 December 2006 - Fuji CSS Validator released (more) http://jigsaw.w3.org/css-validator/

    --
    W3C CSS Validator Results for http://www.slashdot.org/
    Sorry! We found the following errors
    URI : http://images.slashdot.org/base.css?T_2_5_0_138
    16 h1, h2, h3, h4, h5, h6 Invalid number : text-shadow Property text-shadow doesn't exist : #000 0 0 0
    176 Invalid number : min-width Property min-width doesn't exist : 0
    178 Combinator ~ between selectors is not allowed in this profile or version
    345 div.storylinks ul li.comments Invalid number : text-shadow Property text-shadow doesn't exist : #000 0 0 0
    638 div.storylinks ul li.bin Invalid number : text-shadow Property text-shadow doesn't exist : #000 0 0 0
    659 a.ac-source Invalid number : background-color darkgray is not a color value : darkgray
    668 #ac-select-widget Invalid number : background-color lightgray is not a color value : lightgray
    674 #ac-select-widget input Invalid number : border lightgray is not a color value : 2px solid lightgray
    688 #ac-choices .yui-ac-content Invalid number : border darkgray is not a color value : 1px solid darkgray
    URI : http://images.slashdot.org/slashdot.css?T_2_5_0_13 8
    15 a#newuser Invalid number : text-shadow Property text-shadow doesn't exist : #000 0 0 0

    Warnings (224)
    URI : http://images.slashdot.org/handheld.css?T_2_5_0_13 8
    17 Same colors for color and background-color in two contexts #logo h1 a and #slogan h2
    26 Same colors for color and background-color in two contexts div#links div.block div#links-sections-title and .details
    26 Same colors for color and background-color in two contexts div.block div.title and .details
    26 Same colors for color and background-color in two contexts div#links div.block div#links-sections-title and .details
    26 Same colors for color and background-color in two contexts div#links div.block div.title and .details ...etc

  29. Re:Great! Now let's use it!! by Bogtha · · Score: 1

    No, if you are thinking of the <div> element type as a replacement for the <table> element type, you're still doing it wrong. Moving to CSS isn't about replacing <table> with <div>, it's about using the most appropriate element type for the job. You only use <div> when there isn't anything more appropriate (there usually is).

    --
    Bogtha Bogtha Bogtha
  30. works perfectly by commodoresloat · · Score: 1
    "Safari can't open the page.
    Safari could not open the page "http://www.webstandards.org/action/acid2/" because the server stopped responding."

    Thanks, slashdot!

  31. It was worth it by WebCowboy · · Score: 4, Insightful
    The real effect of CSS was to make web layout more complicated, so as to keep a role for programmers in web design. Otherwise, the artists would be in full control by now.

    The artists DID have control for a dark time in the mid-to-late 1990s, when the Internet bubble was in the earliest stages of inflation. I like to call it the "JPEG Jigsaw Puzzle Age" of the WWW.

    While I think that CSS is far from perfect (it WAS, ironically enough, inspired by a concept from Microsoft after all) I do in fact find a properly-written CSS-formatted HTML page much EASIER to follow. Back in the dark JPEG Jigsaw Puzzle age, when trying to view or parse HTML source, it was cluttered with FONT-this and IMG SRC="spacer.gif"-that and TABLEs inside TABLEs inside TABLEs containing image maps. It was absolutely DREADFUL. And no, nested DIVs are NOT the same as nested tables, because tables have rows and columns and are meant for TABULAR DATA--NOT for general structuring of content. DIVs get no more complicated (from a content perspective) than simple nesting, whereas TABLEs have specialised TR collections within them, which in turn have TDs...and COLSPAN and ROWSPAN even further complicate and confuse when used for layout purposes.

    CSS is more than a formatting tool--it enables content and presentation separation as well as semantic web design. The web would be beautiful but completely unusable GARBAGE if artists were in "full control". Similarly, the web would be efficient and powereful, but ugly and arcane if programmers were in "full control" (that is, we'd probably still be messing with Gopher, Archie, WAIS or similar powerful but ugly and/or user-unfriendly systems). If the artists and programmers could cooperate properly (and development tools that make use of CSS and HTML standards more effectively enabled such cooperation perhaps) then we get balance between effective presentation and functionality.

    I suppose the biggest problem with CSS, beyond inconsistent interpretation of CSS by various browsers (which isn't CSS' fault) is that it is far too easy to mis-use it, and most CSS isn't properly or effectively used (probably because artists are trying to control it ;-). Many (or most?) people who employ CSS see it the way the parent poster Animals sees it: as some kind of fancy layout-macro system. I see a lot of places where class selectors are used when IDs were more appropriate (or vice versa). But even MORE irksome is when I see IDs and classes in HTML and CSS named stupidly: div id="toprightblock"? class="bigboldbluefont"? It makes me want to vomit! Basically, it's like the W3C gave us a set of fancy Henkel knives to use for gourmet cooking and we're all using them to gouge open tins of Chef-Boy-Ar-Dee ravioli.

    A properly designed XHTML-and-CSS page is absolutely beautiful to behold: It is attractive yet simple to navigate. It is accessible (it degrades gracefully in audio and text-only browsers, and there is no need for "printer-friendly" links--ever--so get rid of them--NOW). It is easy to manage (don't like the way it looks just change the CSS, and if you need to update the content you can do so in the XHTML with virtually no effect on presentation). It is easy to parse and very human-readable (if you properly name your elements that is--use id="navigationMenu" instead of "toprightblock" and class="articleName" instead of "bigboldblue"). Without all that TABLE/TD/TR/IMG SRC="spacer.gif"/FONT/blah blah clutter in the HTML you can easily see the document structure, links, etc...and without all the

    blahblahblah

    ...etc content clutter in the CSS you can clearly see how each component in a document is supposed to be displayed.

    Sorry...had to get this out...sometimes I can't resist a troll...
    1. Re:It was worth it by suv4x4 · · Score: 1

      And no, nested DIVs are NOT the same as nested tables, because tables have rows and columns and are meant for TABULAR DATA

      You know, no one can help you if you don't see the irony in your own statements.
      And TYPING IN ALL CAPS doesn't help get your supposed point across either.

      Check the CSS3 Layout module proposal: it has rows and columns. Because this is what layouts are. Until CSS gains back this ability, tables will have plenty of cases where they have edge on CSS hacks.

    2. Re:It was worth it by howcome · · Score: 1

      You make many true statements in your post. However, this one is false:

      While I think that CSS is far from perfect (it WAS, ironically enough, inspired by a concept from Microsoft after all)

      CSS found inspirations in many places, but not at Microsoft. Microsoft were actively involved in the W3C group that produced CSS1, but they didn't inspire it.

      howcome

    3. Re:It was worth it by WebCowboy · · Score: 1

      CSS found inspirations in many places, but not at Microsoft.

      Hmm...well being this seems to come right from the horse's mouth I stand corrected...thanks Hakon. I was under the incorrect impression because if IE3 being the first kid on the block with meaningful support for CSS, while Netscape seemed to resist it in favour of their own way of doing things (which is still ironic considering Mozilla's much more dedicated efforts to support the standard today).

      It is a shame that MS did not remain committed to supporting the standard through their bowser, and telling that once they achieved market domination with their own browser MS lost interest in supporting the standard (and in fact seemed to put efforts into entrenching/encouraging the use of their own quirky interpretation of CSS as it established in IE3).

  32. 10 years of almost pure jibberish... by FlyingGuy · · Score: 1

    Here I am with mod points and I am frittering away my time to use them by replying to this.

    CSS... Ah yes the grand attempt to make HTML more usefull. It has been somewhat successful, but thats the problem then isn't it, its only somewhat successful, and all of the finer points that would make web sites really functional are left to chance.

    My basic problem with CSS is that in its laudable attempt to make something from a thing that was never meant to be what it has been twisted and shoe-horned into, is that no one will call a rather well polished turd, well, a turd.

    CSS at best is marginaly comprehensable. The Documentation is horrible. The grammer for the various incarnations of weak hacks is totaly unrelated to itself. I have made a solid attempt at using CSS. Some of it is pretty straight up, yet the finer points of it are black alchemy. Now I am not saying I am the sharpest tool in the box, but neither am I the dullest.

    Sadly CSS is help together contextualy. For example, Position Relative. Well relative to what? The preceeding DIV? The immediately preceeding line of HTML? It needs to be glued together better, objectified if you will. In my opinion if something is declared relative, it should be a requirement that it be declared what it is relative to, instead realying on simply the preceeding line, ie: position relative(object). This glues it firmly to another object and therefor cements the relationship and each object knows what it should be relative to and can behave accordingly.

    Ok and then there is the whole EM -v- PX debate, and the CSS people can't even make up their own minds about the best usage of it. Now this is not quite the same as a discussion about using i++ -v- i = i + 1. This is about fundamental behavior of the user agent in its interaction with the content! Should padding around an object be some relative to the size of the font as in this example which shows a padding: 1.5em?? I was under the impression that pixels are used to deal with the placement of an object within the browser window, relative to its upper left hand corner being 0,0 and its lower right hand extreme ( even if it is beyond the viewport and must be scrolled to ) being the x,y limit of the virtual screen space.

    CSS extends standard HTML tags, yet one can create completely new things with CS. Then as I aluded to previously there are the grammer conventions. .content which is shorthand for document.content ( once again everthing being relative ) and the statements that beging with pound symbols (#) or not as the case may be, again non intuitive useage.

    Then there are the various browser work arounds. Now clearly this is not the problem of CSS or its designers, this is the problem of user agent implimentations and their programemrs, or really is it... Lets ponder this for a moment with the PX - EM debate, or the position absolute debate. it would seem that CSS designers and the actual spec authors want to use everyhting with everthing else except where they don;t want it and then only if condition X exists. Now from a programers point of view, this is what we call, out worst nightmare. We like to write code that is straight forward and follows a given set of rules. We handle exceptions when the input violates those rules and handle them accordingly, usualy by showing some sort of message that is minimly explanitory and at least somehwat polite. I for one would really like to see a CSS rule matrix, developed by the CSS people that is coprehensive to the layout process. It would an interesting exercise and programemrs who try to write code to interpret this hodge-podge would probably be eternaly greatfull, well as greatfull as a programmer can get when people screw up their well ordered world.

    All in all I think the goals of both HTML and CSS are laudable, but they are fundementaly broken. No

    --
    Hey KID! Yeah you, get the fuck off my lawn!
    1. Re:10 years of almost pure jibberish... by Anonymous Coward · · Score: 0

      I'd say that was more like 10 paragraphs of almost pure "jibberish".

  33. Heh, those funny typos by scdeimos · · Score: 2, Funny

    Nice to know that not even W3C can afford to spell check everything: teached CSS. It's not just /. editors! :)

  34. The problem is systemic. by Ayanami+Rei · · Score: 1

    HTML, from it's inception, was designed to be layout indepedent. The size and placement of objects is determined from inside out, expanding to fit.

    CSS follows this model, to keep things from horribly breaking when a browser decides to turn off some CSS feature or substitute a stylesheet for print preview or what have you.

    Saying that some container should expand to an arbitrary size that hasn't been determined yet breaks the model. That becomes especially problematic when you nest a series of parent-relative-sized elements within each other. You'd have to use a two pass model... where you establish minimum sizes for elements, and then potentially increase the size of some of them working back outwards for vertical alignment (without introducing reflow; if you do then you have to go back and recalculate the widths of everything).

    I think it's a fundamentally hard problem unless you introduce a layout language that is properly seperated from the content so it can be more clearly expressed. Sort of like "framesets", for positional layout, and then CSS+HTML for document-flow content within each piece.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  35. CSS by alxbtk · · Score: 1

    I've been playing Counter-Strike : Source for ten years already?!

  36. One post of almost pure jibberish... by soliptic · · Score: 2, Informative

    For example, Position Relative. Well relative to what? The preceeding DIV?

    No.

    The immediately preceeding line of HTML?

    No.

    It needs to be glued together better, objectified if you will.

    No it doesn't, it's clear already.

    In my opinion if something is declared relative, it should be a requirement that it be declared what it is relative to, instead realying on simply the preceeding line,

    "Relying on the preceding line"? It does no such thing.

    "Well relative to what" - simple answer - the closest parent element / DOM node with absolute position.

    If no elements have had position:absolute explictly declared, the overall canvas (body element) is assumed instead.

    Ok and then there is the whole EM -v- PX debate, and the CSS people can't even make up their own minds about the best usage of it.

    The fact you see both doesnt (necessarily) mean they "can't make up their own minds", it means they (we) know there is a time when either might be best, and use them accordingly.

    Now this is not quite the same as a discussion about using i++ -v- i = i + 1. This is about fundamental behavior of the user agent in its interaction with the content! Should padding around an object be some relative to the size of the font as in this example which shows a padding: 1.5em??

    It depends. Is the padding on the element something which should grow and shrink with user text resizing, or is the element something which is of a fixed pixel size, (eg) something designed as 'chrome' like a rounded corner or combination of background images which have to line up pixel accurately to maintain the illusion of the overall interface.

    Something like line-height is better specified in ems, since you want it to remain proportionate to text size. Arguably, something like column width is too. Although this a grey area of compromise between demands of the client, purism of the designer, legal requirements of accessibility, practical requirements of browser support, etc. Hence, using both depending on where the compromise line is made.

    I was under the impression that pixels are used to deal with the placement of an object within the browser window,

    See above; your impression is simplistic, sometimes pixels are used, other times ems are a more appropriate unit (to create liquid layouts which can adapt to user text resizing - which people may set to remain comfortable reading on small/huge monitors, if they have vision impairment, etc. Still other times percentages of parent elements are appropriate.

    .content which is shorthand for document.content ( once again everthing being relative ) and the statements that beging with pound symbols (#) or not as the case may be, again non intuitive useage.

    You seem to be talking about .classes and #ids. Albeit you get it a bit mixed up: document.whatever looks like javascript DOM speak, but there is no document element in CSS; you use elementname.classname hence div.newsitem or a.external or ul.shaded li.odd. Non-intuitive? All you've got to remember is "." means class and "#" means ID. How hard is that? Of course it's not intuitive but what is? The dozens of reserved symbols and tokens in any markup or programming language from HTML to C far outstrip the "confusion" of .class vs #id.

    People complain about IE and Microsoft and i do as well, but you must give creedence to the way they did things for their browser.

    If I had any remaining suspicions that you worked in the professional web design field (which I didn't), you'd have just shattered them for good. Even forgetting any co

    1. Re:One post of almost pure jibberish... by FlyingGuy · · Score: 1

      Hey there,

      Nothing to be shattered here, I am not a "profession" web designer. I am a programmer trying to learn a new class of "languages" for lack of a better term I suppose. I appreciate your comments, well except for the last one. I don't do CSS consulting. I consult on things I know well, obviously CSS is not one of them, since to me it seems like quite a bit of jibberish when compaired to object oriented programming languages which are very concrete in the way things are done, at least from the object perspective.

      Yes i agree the box model on IE is totaly hosed, well for that matter, pretty much anything that wasn't invented by MS to be run through IE is kinda hosed. I don't like IE and I don't use it if I can avoid it but there are those times...

      I guess one of the things I find objectionable about CSS is its lack of declaratives verbs like Column(...) or Box(...) which clearly describe what you are trying to accomplish. HTML tables I find very clear, you define columns and rows which work very nicely. I also like the notion of Frames which very neatly devide up the space you are working in and also makes it easier to maintain with things like header frames for menus that are defined once in one file. I guess this could be fixed by having an include syntax without having to use something like Java Script, to sniff out broswer versions and then pull in the correct style sheet or whatnot. This lack, at least with my understanding, leads to very large monolithic HTML pages that have to be repeated over and over again is the various files when they are called with an HREF tag.

      I dont find the notion of CSS objectional at all, I find the current implementation objectional because it is confusing and muddled. Of course, everyones millage will very because lots of people look at things in different ways and there really is no single perfect way to implement things. I guess one could resolve this to the difference between i++ and i = i + 1 since they both generate the same machine code in the end and it becomes a stylistic issue.

      Just more pennies from my brain, albeit a somtimes fuzzy brain, but one that functions never the less.

      --
      Hey KID! Yeah you, get the fuck off my lawn!
    2. Re:One post of almost pure jibberish... by soliptic · · Score: 1
      I appreciate your comments, well except for the last one.
      Heh, sorry. I'd had quite a few whiskys and wasn't very polite. Thanks for not being more offended by my ranting tone! :)

      I also like the notion of Frames which very neatly devide up the space you are working in and also makes it easier to maintain with things like header frames for menus that are defined once in one file. I guess this could be fixed by having an include syntax without having to use something like Java Script,
      I usually use php include() but ASP and the rest will have their equivalent. Failing that, there are old school server-side includes.

      dont find the notion of CSS objectional at all, I find the current implementation objectional because it is confusing and muddled. Of course, everyones millage will very because lots of people look at things in different ways and there really is no single perfect way to implement things. I guess one could resolve this to the difference between i++ and i = i + 1 since they both generate the same machine code in the end and it becomes a stylistic issue
      Yeah, fair play, the CSS "float" model isn't as obvious as the columns/rows model of table-based HTML. You get used to it though.
  37. CSS bad decision by Tablizer · · Score: 1

    Why couldn't style sheets be based on HTML? Why Yet Another Language/Syntax? If HTML is not good enough to express styles, then lets fix it. Didn't anybody challenge that idea? Didn't anybody stand up and ask, "Why do we need yet another language/syntax?" Where is Bones when you need him to ask the hard questions?

  38. Re:Great! Now let's use it!! by Regnard · · Score: 1

    It was supposed to be over 10 years ago.

    --
    Need a color? Try 100 random colors
  39. Re: Safari by nullchar · · Score: 1

    My biggest beef with Safari is that it does not style form elements such as , , , etc.

    Agreed, passing one test is silly. We need some suite of tests.

  40. 10 years old by TheSeer2 · · Score: 1

    ... and still overly messy.

  41. CSS validator useless by wysiwia · · Score: 1

    I just had some experience with the CSS validator (http://jigsaw.w3.org/css-validator/validator.html .en) since I tried to make my new pages CSS compliant. First even if I choose "English" on the front page the results are in "German". My dear, before making pages conform to standards they should first be functional correct. How could W3C put up such a silly beginners mistake.

    Yet whenever an error is spotted the resulting error message is more or less useless.

            td,th,tr{
                    align:left;
                    vertical-align:baseline;
            }

    => td, th, tr Die Eigenschaft align existiert nicht : left

    Now each browser I tried interprets this correct even if it might be wrong formulated. Why can't the validator detect it as well and give a better error message?

    Another case is the "size=1" argument in a "select" statement.

            select.mini {
                    width:10em;
                    size:1;
            }

    => select.mini Ungültige Nummer : size Die Eigenschaft size existiert nicht : 1

    Again any browser is able to interpret this correct only the validator isn't.

    The question arises why have the W3C validator such silly beginners syntax detection while any browser is far better? How can standardization been taken serious if W3C can't provide better tools?

    O. Wyss

    --
    See http://wyoguide.sf.net/papers/Cross-platform.html
    1. Re:CSS validator useless by J0nne · · Score: 1
      td,th,tr{
                                      align:left;
                                      vertical-align:baseline;
                      }

      Perhaps you meant 'text-align'? There's no 'align' in css (and browsers don't even support it, I've tested it). Now, it basically says "align doesn't exist, you dummy. Use something else", which should give you clue. It's not like it 's easy for the validator to guess what you meant each time you use the wrong attribute.
      select.mini {
                                      width:10em;
                                      size:1;
                      }

      Selectboxes default to a size of 1 by themselves (I'm assuming you mean the number of rows shown). I tested with size:2, and nothing changed. This is obvious, as there's no 'size' in css. If you want selectboxes to show more options at once, you have to define that inline (<select size="x">, which is perfectly valid, even when using xhtml strict).

      Maybe you should use some sort of reference when writing css, instead of inventing attributes.

      Not that css is perfect and easy, but your examples kind of failed to show what's wrong with css or the validator.
    2. Re:CSS validator useless by Anonymous Coward · · Score: 0

      So, you make some beginner's mistakes that will get your CSS rules ignored in a lot of browsers, and it's the validator's fault? Because, having the validator actually tell you when things aren't valid is like demeaning to a leet coder like you. Geez.

  42. Firefox nightly passes ACID2 by Anonymous Coward · · Score: 1, Informative

    From: http://www.squarefree.com/burningedge/

    2006-12-13 Trunk builds:
            * Fixed: 300030 - Refactor intrinsic width computation out of nsIFrame::Reflow (land dbaron's reflow branch).

    This is a huge change that David Baron has been working on for about two years. It involved changing 201 files, simplifying many of them: a diff showed 8726 insertions but 18253 deletions, for a net removal of 9000 lines of code. It improved speed on page load tests by 3-5% and fixed over hundred bugs, including:

            * Fixed: 69745 - Auto-width left float containing only nested right float is too wide.
            * Fixed: 129346 - Fieldset renders incorrectly with style="float: left;" or any other shrink-wrap situation.
            * Fixed: 269643 - When clicking link, page redraws with different layout, click is ignored.
            * Fixed: 291126 - Intrinsically sized (shrink-wrap, auto-width) absolutely positioned element containing right float is too wide.

    The reflow branch landing fixed the last remaining issues with the Acid 2 test, so Firefox trunk now passes the test.

  43. Re: Safari by Anonymous Coward · · Score: 0

    Good idea, how about the CSS Test Suite?

  44. Cut the crap! by Lefty_POl · · Score: 1

    I don't get what all this hype about the Acid2 test is about - its not even a standards test! By their own admission it's a "means of exposing the ability of user agents to handle invalid CSS properly" (source).

    I'd rather browser makers worked on fixing bugs (may take a while to load) and more rich features.

  45. Huh. by NulDevice · · Score: 1

    From reading the comments, I'm guessing I'm the only one who doesn't really think CSS is that hard to understand. Yeah, the implementations are clumsy, and it lacks in some important areas, but holy mother of balls is it preferable to me over editing 4000 font tags in a website. The syntax is kinda ugly, but compared a lot of the other syntaxes in the web world (javascript, I'm looking at you) it's clean and sleek. Sheesh.

    I think a huge problem is that a lot of people use CSS like they use font tags - instead of reusing tags and classes, and allowing for cascades, they create a new class for every block that they want to style.

    --

    ----
    "I used to listen to Null Device before they sold out."

  46. Do you do publishing or typesetting? by WebCowboy · · Score: 1

    ...because your idea of what a layout is seems quite rudimentary to me:

    Check the CSS3 Layout module proposal: it has rows and columns. Because this is what layouts are.

    A layout is NOT a table! A table is a specific KIND of layout in a sense (it is a way to structure content as well, as in a spreadsheet or database, which is why XHTML still has a TABLE construct). You might as well say "Check out this square--it has four sides. Because this is what parallelograms are".

    Layouts can be free-form (flowing) or consist of elements in fixed positions described by cartesian coordinates, or be columnar, or, yes, be tabular. CSS3 advanced layout standard as *proposed* (it is NOT yet standard--it is a working draft) contains a "row and column" mode of operation--as well as "template" and "stacked" modes of operation...and look what has been said about the rows-and-columns mode:

    This is an alternative to the layout policy above. Probably we don't need both. Maybe the best parts can be combined: layout that is independent from the document structure in one case and arbitrary levels of stretchability in the other.

    "Alternative" policy? "Don't need both"? Looks like it isn't seen as essential to keep in the recommendation doesn't it? I certainly wouldn't use them if I didn't have to. As I said, CSS layout is far from perfect and there are challenged in doing things like multi-column, newspaper-like layouts that make less sophisticated web designers give up and use tables, and CSS3 advanced layout was set up to address such shortcomings so that it is easier to avoid the mis-use of layout tables in the content (html code). It "has" rows-and-columns as currently proposed but it DEFINITELY doesn't rely on them, and in fact does not even consider them the layout policy of choice!

  47. Thank god for DeCSS by Lost+Race · · Score: 1
  48. Joshua's law of out-of-bounds posting: by skia · · Score: 1

    If one posts a reply that mentions a Mac outside of apple.slashdot.org, one should expect to be immediately be modded down to (-1, flamebait). This is true even if said post is true, relevant, on topic, and links to a previous discussion on /. itself.

    --

    --

  49. Re: Safari by Yvan256 · · Score: 1

    And my biggest beed with Firefox on OS X is that it allows styling of form elements, which look like some Windows/KDE crap from the start anyway.

    Form elements are supposed to be drawn by the OS. If you start to mess with them (apart from background/text color, and maybe font/font size at best), you may end with users not recognizing your form elements.

  50. Re: Safari by nullchar · · Score: 1
    apart from background/text color, and maybe font/font size

    Yes- that is exactly what I want to do, change the background color, change the foreground color, change the font and font size, and apply borders and padding.

    Not allowing styling of form/input elements to protect the user from bad design is silly. There are plenty of bad designs out there that don't style forms.

    From elements should NOT be overridden by the OS. Does 'aqua' override flash-based forms? No. Does it override image-based input elements? No. It allows styling of A/Links. If I make my A look like a 'button', I should expect my INPUT to look the same -- borders, colors, everything.

  51. Wow! by DuranDuran · · Score: 1

    Has it really been ten years? It feels like just yesterday my brother introduced me to it. I've spent countless hours figuring out its little foibles and trying to get better at it. It looks really simple but it's just not the kind of thing that you can just pick up.

    There's certainly still room for improvement, and from what I read we can expect big things for it in 2007.

    I still think de_dust is the best though.

    --
    "You can justify anything by putting it in quotes, adding a famous name and making it a sig" - Albert Einstein