Anne van Kesteren

On valid CSS

html{
 display:none
}

Comments

  1. Wow, that solves all my problems!

    Thanks!

    Permalink · 2005-03-13 19:50:12 · Daniel Morrison

  2. We all have that feeling every once and a while

    Permalink · 2005-03-13 21:15:00 · Joël Kuiper

  3. Why not just

    * { display:none; }

    For complete coverage ;)

    Permalink · 2005-03-14 01:22:10 · Jeff Minard

  4. That still doesn't fix your flag...

    Permalink · 2005-03-14 02:11:29 · dolphinling

  5. Was the purpose of this to illustrate what is valid in CSS, yet not supported by Mozilla? In my test, the DOM inspector showed the computed value for 'display' as none, but the content was still displayed. The same test worked correctly in Opera.

    Permalink · 2005-03-14 06:57:48 · Lachlan Hunt

  6. dolphinling, I know. But then I also know that :root{ display:none } is not supported by Internet Explorer or Opera. Using the universal selector did not seem right to me.

    Lachlan, I forgot about that. Which is stupid, since I filed a bug about that a few days ago.

    Permalink · 2005-03-14 09:43:30 · Anne

  7. At least this makes the website way prettier than many others out there - although still a bit boring. But I do agree with Jeff Minard, you get 100% coverage, and you save yourself 3 bytes.

    Permalink · 2005-03-14 15:03:47 · Arve Systad

  8. And who says minimalist work is overrated? ;)

    Permalink · 2005-03-14 16:31:31 · Marco

  9. I think you can save yourself even more by just not having any CSS at all, and then not have anything in your HTML between the <body> and </body> tags. :)

    Permalink · 2005-03-16 01:21:39 · Timothy McClanahan

  10. Why don't we just stop with designing websites at all? That would make our problems disappear at once ;)

    Permalink · 2005-03-17 19:06:49 · Bart

  11. Why don't we just stop with designing websites at all? That would make our problems disappear at once ;)

    It's certainly solved mine.

    Permalink · 2005-03-21 22:08:07 · Mark

Comments are closed

Sorry, comments are closed at this time.