Slashdot Mirror


Return of the WaSP

No_Weak_Heart writes "After a brief hiatus, the Web Standards Project (WaSP) has returned. Here's the story at Wired about this grassroots coalition which works to promote the adoption of web standards by authors, tool makers and in browsers. In a related vein, the Boston Globe has a comfy chat with Tim Berners-Lee, the guiding force behind many of those standards."

56 of 173 comments (clear)

  1. Well yes .. but ... by Mr_Silver · · Score: 5, Interesting
    The most popular browser in the world is pretty good at following the rules, the permutations of the Gecko engine (here are some: N M C) are all praiseworthy, and on top of that virtuous standards oatmeal is some pretty tasty rendering brown sugar; anti-aliased fonts are here to stay!

    Well, yes, I don't think many people but the most hardcore of standards purists could claim that IE isn't pretty good at following the rules. Thats not the issue.

    The issue is that it's not very good when the code doesn't follow the rules. The problem here is that IE "guesses" what you're trying to do.

    This in itself isn't a bad thing and from an end user perspective is a damn good idea. If I go visit a site that someone has made a basic error then at least I can still view the content, their mistake doesn't prevent me from getting what i want.

    The problem comes when people start getting used to writing sloppy HTML because it works on IE (yes, I made that mistake before I found the w3 validator and Opera) and when Microsoft products start producing sloppy HTML (Words and Powerpoint being two apparant examples, although I've not looked personally).

    So yes, web-standards great idea. But there should be a standard on what to do with badly formed HTML too.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
    1. Re:Well yes .. but ... by Zontar+The+Mindless · · Score: 2

      > But there should be a standard on what to do with badly formed HTML too.

      I could not agree less. This would simply reinforce, encourage, and -- even institutionalise -- bad markup.

      --
      Il n'y a pas de Planet B.
    2. Re:Well yes .. but ... by slamb · · Score: 2

      there should be a standard on what to do with badly formed HTML too.

      There is such a standard for XML:

      Validating and non-validating processors alike must report violations of this specification's well-formedness constraints in the content of the document entity and any other parsed entities that they read.

      I suspect it's there because of the reasons you mentioned.

    3. Re:Well yes .. but ... by IamTheRealMike · · Score: 2
      Well, yes, I don't think many people but the most hardcore of standards purists could claim that IE isn't pretty good at following the rules. Thats not the issue.

      Call me a standards purist, but last time I tried to make web pages work in IE6, I had a hell of a time. I ask it to draw a dotted border, it draws a dashed border. I scroll down and up again, lo, the border has become partially solid (a rendering bug).

      So I say, okay, screw that, back to solid borders. Then I find it doesn't do transparent PNGs. One evil DirectX-using hack later, that's working too.

      Next up is the fact that it doesn't seem to like XHTML, or I was doing something wrong. It worked just fine in Mozilla though, so I'd guess I'd got it at least mostly right, as Gecko is fairly strict. So I drop the XHTML aspect of it.

      Finally I find the text is too big, IE doesn't understand the "small" text sizing keyword, so I have to specify it in point sizes, which is now too small on Linux.

      No, though 6 is much better than 5, IE is still a long long way off being anything other than a half-arsed attempt to follow the rules.

      Sorry, rant over :) Other than that, yep, agree 100% with your post.

    4. Re:Well yes .. but ... by SoupIsGoodFood_42 · · Score: 2

      Never had a problem with dashed vs. dotted. Sure you have the proper DOCTYPE in there?

      It should look exactly like this:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

      If it isn't right. IE will go into quirks mode.

      But yes. IE still has some really annoying bugs. IMO it's still behind in standards when compared to any Mozilla based browser.

  2. What's their objective though? by ranulf · · Score: 2
    I struggle to see how their aims are any different from W3C, as there seems to be little on their page that says what their goal is apart from "The Web Standards Project (WaSP) fights for standards that reduce the cost and complexity of development while increasing the accessibility and long-term viability of any site published on the Web". Later, they cite as a list of standards those created by W3C. All I can figure is that maybe they oppose the RAND proposals, etc... but this doesn't seem to be stated.

    Anyone with any ideas?

    1. Re:What's their objective though? by LordoftheFrings · · Score: 2, Informative

      The W3C is here to design standards. They are not here to help web developers create web pages with no compatability issues. That is what WaSP is for. So, yes there is a difference.

    2. Re:What's their objective though? by JamesOfTheDesert · · Score: 3, Insightful
      The W3C is here to design standards.

      The W3C designs recommendations. They are not a standards organization (such as ISO or ANSI).

      --

      Java is the blue pill
      Choose the red pill
  3. W3C for dummies by jukal · · Score: 2

    Is not actually a bad idea at all. w3c in it's all brightness does not provide a comprehensive statement on "what to do" and "why" for those new to these things. An organisation responsible for standardizing such a large matter always hides everything behind a jungle of technical details.

    An organisation that sums this up, cannot harm anyone - atleast as it does not start pushing only the will of a selected vendor.

  4. Oh yes, I remember WASP by Salsaman · · Score: 2
    They were the people who said that Mozilla should give up and die, right ?

    1. Re:Oh yes, I remember WASP by SoupIsGoodFood_42 · · Score: 2
      They were the people who said that Mozilla should give up and die, right?

      Care to back that up with something? If not. I think you must have missinterperated something they said. 'Cause I've followed WaSP closly, and I find it hard to belive they'd say something like that.

    2. Re:Oh yes, I remember WASP by Salsaman · · Score: 2
      No, they were complaining about Mozilla taking more than two years to go from nothing to a release quality product.

      Well, I guess it would have been possible IF the Mozilla team had written just a browser, just for Win32.

      But that was never mozilla's plan - look what we have now, a fully featured, cross platform browser suite, we have bugzilla, tinderbox and bonsai as well.

      The point that was made at the time was that the WaSP should have been supporting mozilla, not piling critisism on it. It was very, very short sighted off them, and I won't let them forget it.

  5. Re:I am not impressed by skunkeh · · Score: 2, Interesting

    Your point is fine in theory, but you have to remember two things. Firstly, the vast majority of internet users don't even know that they can change their default font size (let alone how to do it). Secondly, the default font size on most browsers looks plain ugly. I would imagine that any users who want larger fonts have set their font size so that sites which use "font-size: small" are readable for them, as that will be a very common size for text on the web.

    I imagine the Web Standards site design team had to make a tricky compromise, between the theoretically correct step of sticking to the default browser font size and the more design friendly choice of using "font-size: small". At the end of the day the point of the project is to convince designers that they should be using web standards, and as such it is important that the site looks good. Had they used the default font size I imagine many designers would have been put off the site by the ugly size of the text.

  6. Ridiculing by LordoftheFrings · · Score: 4, Funny
    From article:
    ...if that fails, we plan to guilt-trip them. And if that fails, we will ridicule them mercilessly, as we once ridiculed Netscape and Microsoft.
    Wow, they seem to really have a great strategy worked out.
  7. Re:I am not impressed by rknop · · Score: 3, Insightful

    Your point is fine in theory, but you have to remember two things. Firstly, the vast majority of internet users don't even know that they can change their default font size (let alone how to do it). Secondly, the default font size on most browsers looks plain ugly.

    Uh-huh. I'm not the slightest convinced. These are people who say "follow standards and everybody will be happy". Making tradeoffs to cater to the default font size on IE undercuts their message.

    -Rob

  8. While you're at it .... by reaper20 · · Score: 4, Insightful

    Government workers and contractors, you have to (or already have) comply with Section 508 Accessability Guidelines (as stated in the article), which means that most of these pages need to be rewritten anyway, now's a good chance to knock out XHTML1.0 compliance while you're at it, and shoot for the Web Content Accessability Guidelines (WCAG) too ... so all those neat Powerpoint presentations that are autogenerated into HTML need to go!

    Getting to level A is not hard at all, anyone hit AAA yet?, I'm finding XHTML1.1 and WCAG-AAA a little bit to unwieldy for everyday web use ...

    1. Re:While you're at it .... by dsoltesz · · Score: 2

      Actually, writing valid HTML 4+ is prettty much a requirement of Section 508 along with following standard accessibility practices.

    2. Re:While you're at it .... by gregbaker · · Score: 2
      Sure, plenty of people have.

      I'm working on it for my site. I've got all of the ugliness done (I had no idea how many acronyms I used), there's just a few small AAA level things I have to fix up now.

  9. Slashdot by DNS-and-BIND · · Score: 2

    So, does slashdot.org comply with the standards stated in the article? If not, why?

    --
    Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    1. Re:Slashdot by Lysander+Luddite · · Score: 5, Interesting

      well...

      Slashdot relies on tables for layout which is a big sin for WaSP. Not only do table-based layouts violate the structural markup that is the basis of HTML (and XML derivatives) it causes problems in browsers designed for the sight impaired (and therefore violates Section 508).

      Slashdot also uses deprecated tags such as (font) and (b) rather than use CSS to change text presentation. I also don't see any structural flow such as using (H)eader tags to enable things like search bots to more accurately determine page content and weighted analysis.

      So no, I would suspect Slashdot wouldn't stand up to WaSP scrutiny.

    2. Re:Slashdot by krs-one · · Score: 2

      I'm sorry but you had several mistakes in your post.

      First, tables, provided they are coded correctly, are HTML, and XHTML compliant. They would have to be, as tabular data (what tables were made for) still has to be displayed on some sites.

      WASP is saying that to make a layout like their site does not require tables, and it doesn't. You can use some fancy positioned div's, and spans and you'll have a very nice site.

      Also, the (b) tag is not depricated. However, (strong) should be used in place of it in most places.

      No, the HTML behind /. would fail WASP tests and the regular W3C validator tests.

      -Vic

    3. Re:Slashdot by Lysander+Luddite · · Score: 2

      You are right about the tables. It si compliant, however using them for layout is not how they were intended to be used. That is the point I tried to make. It also explains why text-to-speech browsers have difficulties with them. I apologize if I wasn't clear.

      As for (b) correct again, but WaSP would suggest you use a SPAN or DIV rather than a (b), which is a presentation tag rather than a structural one.

      However, I do applaud Slashdot for at least use a DOCTYPE header, which reads as 3.2. WaSP would most likely encourage them to move to HTML 4.01 or and XML/XHTML DOCTYPE. That would allow the separation of content and layout.

  10. Re:I am not impressed by liquidsin · · Score: 2

    That's the sacrifice we as web designers have to make. IE holds the lion's share of the browser market, and we can't expect MS to change the way it behaves in regards to web standards just to please you communist Moz users - it's an integrated part of their OS!!! Now if you'll excuse me, it's time for me to re-insert my head into my own anus.

    p.s. - I do web design, and when I need to see how everything looks, I fire up Galeon. If we could get more web developers on Moz we'd have a much better looking/behaving web.

    --
    do not read this line twice.
  11. comments on Semantic Web by MarkWatson · · Score: 3, Interesting
    I thought that the second half of the post (on Semantic Web) was interesting.

    As someone who has spent lots of time in the last 5 years trying to automate extraction of information from the web, I welcome wider use of RDF (I have used it for years on my site) and separation of content and layout.

    While the web as we know it is all about supporting human readers, the Semantic Web is all about supporting software agents.

    -Mark

  12. Re:I am not impressed by stankyho · · Score: 2, Informative

    Here's a good explaination of the font issue and why IE is the worst for individual font sizing.

    --

    ---
    eeww, I'll have a crab juice.
  13. Re:I am not impressed by rknop · · Score: 3, Insightful

    That's the sacrifice we as web designers have to make. IE holds the lion's share of the browser market, and we can't expect MS to change the way it behaves in regards to web standards just to please you communist Moz users - it's an integrated part of their OS!!!

    That's fine. I have my differences with this argument, but fine, whatever.

    It is also, irrelevant. The original message is about an outfit promoting web standars. They are not promoting "code to IE". They are promoting standards. Given that, they should be coding to standards, not changing the way it behaves in regard to standards just to please you IE users.

    We're not talking corporations or banks supporting customers here. We're talking a web standards advocacy group.

    -Rob

  14. Important not for what they standardize... by Throatwarbler+Mangro · · Score: 2, Informative
    ...but for what they don't.

    Anyone or anything that stands up to prevent the next BLINK tag from running rampant on the net deserves some respect...

  15. Re:Just error out. by Mr_Silver · · Score: 2
    I'd like the browser to halt with a 'Error: Page invalid' myself. If IE (and all browsers) would do this for nonvalidating HTML and CSS I'd say we'd see things improving pretty fast.

    Unfortunately the end user might see this as broken and therefore decide not to update. Personally, I'd avoid updating if it meant that i was going to be denied access to some content because of someone elses cockup.

    Maybe what would be better is a javascript error style pop up window informing the user that the page contains invalid HTML, telling them it can guess what the content is, but it might be illegiable and would they like to do this?

    At least then, the annoyance of a pop up on your site would force you to do something about it but at the same time not prevent people from not viewing what you've put.

    Of course there should be an option to disable this but it definately shouldn't be the default and there shouldn't be a "don't show this again" option on the menu.

    If people want it off, they have to hunt for it.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
  16. Re:I am not impressed by jscribner · · Score: 2, Interesting

    And by Lion's share, we're talking 80%+. However, that doesn't mean web developers can say "it looks good in IE and OK in mozilla," so it's 'mostly-good' and thus sufficient. Pages need to be designed for the greatest possible accessibility and that includes all of the major browsers, earlier versions, and screen reader software (getting back to the 508 comment).

    All too often i've been seeing trade-ins on design/coding_ease for standards compliance (particularly with fixed font sizes in css), better standards (WaSP) with more universal browser adherence to such standards.

    Last comment (then i'll shaddap), the different browser interpretations of a particular piece of HTML has always been a problem and, though better, it is still an issue. Though this probably exists already, a good website identifying the differences on a case by case would be useful to the developer community. In addition, such a site could recommend lowest-common-denominator solutions and WaSP standards at the same time.

    --
    JS - IBM Metaverse devteam
    The opinions expressed here are mine & not necessarily representative of IBM
  17. Browser predictability. by hkmwbz · · Score: 3, Insightful
    Just about all browsers have some "error correction", and will try to guess what the author really meant. However, IE takes this to the extreme, and actually seems to pretend to know better than the author at times (which is entirely possible, as there are many clueless "web designers" out there, but that's besides the point).

    For example, IE tries to guess what to do with a remote resource based on the contents of the file, rather than following the Content-Type header. Not only is this insane, as the server should be telling the browser what kind of file it is serving, not vice versa, but it has caused serious problems when trying to actually make IE treat a file with a particular content type differently. Want IE to download the file rather than display it? Well, unless you want to create stupid workarounds which break other browsers, you may have a hard time with this.

    What WaSP should be pushing, and what I feel is one of the important parts of a web standard, is that a browser's behavior is as predictable as possible. When the browser tries to guess everything itself, rather than doing what the code actually says, it causes situations such as the one above. Sure, let the browser correct simple errors, but today's browsers are too "sloppy" when it comes to sloppy code. They should be more strict and unforgiving. This would make things a lot easier for web designers, as the browser would show clearly when there are errors in the code.

    I generally find that it is a lot easier to "design for" (bad way to do it, but still) browsers that allow less sloppy code. Opera is excellent to check your code with, as it is even more unforgiving than Mozilla. Although this can lead to more "broken sites" when browsing the web, I find it to be of tremendous help to keep my own pages written properly. Mozilla has strong standards support, and seems to sometimes handle pages better than both Opera and IE (since IE's implementation of various standards has serious flaws), but it allows too much garbage code.

    Then again, we have to live in the real world, and with clueless Frontpage users out there, we should back WaSP and try to make both browsers and authoring tools behave better - for a more open and accessible web. Sadly, because of IE's sloppiness, we are currently trapped in web designer hell. And viewer hell if the browser isn't "MSIE compliant".

    --
    Clever signature text goes here.
    1. Re:Browser predictability. by hkmwbz · · Score: 2, Insightful
      No, Microsoft's browser became the most widely used browser because it was distributed with the Windows operating system.

      Mozilla has been of excellent quality for a long time now, and Opera remains one of the leading browsers today.

      IE is not "the web standard", and it should not be. Why? This is outlined in my previous message.

      --
      Clever signature text goes here.
  18. Re:I am not impressed by kerincosford · · Score: 2, Informative

    Most standards-advocates (myself included) would love to use 'font-size: small', or percentages, or ems to size text relative to users font preferences.

    The problem is, support for these relative values are still too broken in IE6 and Opera (Opera is better though) for us to use them. Much as we'd like to, we can't be truly accessibility and standards-driven when the most popular browser on the web gets is wrong.

    Theres only really 2 options open just now - use px as the font unit, or don't size at all. Most developers/designers aren't quite Zen enough to not size the text at all, as the default text size in most browsers is fucking ugly.

  19. They already did by Lysander+Luddite · · Score: 2

    The have shamed MS in the past for browser compatiblity. When MS decided to make MSNBC work only in their browsers while hiding behind the refrain of standards compatibilty WaSP members called "bullshit" and MS backed down.

    1. Re:They already did by Lysander+Luddite · · Score: 2

      What you don't seem to understand isn't that WaSP supporting any particular browser. What WaSP wants is browser makers to support the standards and to have developers write in those standards.

      How difficult is it to get that through people's heads? WaSP doesn't support Mozilla just becuase it is not IE. They support it because it is standards compliant. WaSP congratulated IE 5 on Mac when it was released becuase of satnards adherence.

      Sheesh. Are you a troll or what?

  20. Standards and Reccomendations by JamesOfTheDesert · · Score: 3, Interesting
    The W3C issues recommendations. They are not a standards organization, such as ISO, ECMA, or ANSI. Many companies, particularly those doing government business, are required to follow specs issued from standards bodies. HTML is OK, becasue of ISO/IEC 15445:1998(E). XHTML is not a standard; neither is XML, except as particular applications of SGML.

    I tried creating a web page that used the ISO HTML DOCTYPE declaration:

    <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:1998//DTD HyperText Markup Language//EN">

    The W3C validator page complained about it: Fatal Error: unrecognized {{DOCTYPE}}; unable to check document

    It seems standards are not so standard.

    --

    Java is the blue pill
    Choose the red pill
    1. Re:Standards and Reccomendations by dsoltesz · · Score: 2

      Yes, but most of us recognize that W3C issued recommendations are specifications and that W3C is the official word on the HTML specifications.

  21. Re:I am not impressed by Fweeky · · Score: 2
    I imagine the Web Standards site design team had to make a tricky compromise, between the theoretically correct step of sticking to the default browser font size and the more design friendly choice of using "font-size: small".


    Am I really the only one to find 1em verdana to be just the right size?

    I hate sites that force 11/12px fonts on me - my usual response is to turn off style entirely for these sites if my font-size: 1em !important user.css rule is overridden.

    Some design bod on MSDN said people need small text to read comfortably, and that 1/6th of an inch was about optimal; it was ironic that in forcing 12px fonts, the text was actually more like 1/14th of an inch tall, and very tiring to read.
  22. Re:From the Amaya (w3 broswer) FAQ... by Tim+C · · Score: 3, Insightful

    On the contrary, this knowledge will merely make me whine and poke at Amaya too.

    I work in a web agency, and have had real problems in the past with certain designers writing/editing pages that look fine in IE, but don't actually work in either browser (or, on occasion, display at all in Netscape). They then proclaim the page to be finished, never having checked it in Netscape (despite a contractual obligation to support it), leaving it for the rest of us to fix.

    I would like to see a "debug mode" in all browsers, whereby any badly-formed HTML is clearly flagged as such. Then you could tell at a glance if there was a problem, and what it was.

    Cheers,

    Tim

  23. Re:I am not impressed by mysticgoat · · Score: 2, Insightful
    ...Oh, yeah, it may abide by all the standards. But, they don't abide by the spirit of the standards on their front page. The spirit of the standards is to keep the web accessible to everybody regardless of their choice of browser, so long as those browsers are also standards compliant.

    I've got that page open in the second tab of Moz as I write this. It is liquid from any browser width down to 410 px. Below that, it degrades acceptably (remains readable) until the columns are just a single word wide, well below the limit of reason. All text responds to user-agent changes in the font size, and the layout reflows without problems. I've looked at their stylesheet and it looks good (wsp/css).

    There is no may about it; this page does "abide by all the standards."

    Does it also abide by the spirit of the standards?

    Yes. The standards are not intended to lock you into any design style. There is no "best" design style. The standards were developed to assure that material written to the standard will be presented to the reader no matter what his user-agent (so long as the user-agent also recognizes the standards).

    The standards have nothing to do about good design. All they address is across the board functional design. IMO, I think that on this page WaSP has sacrificed some quality of design to showcase what can be done within the standards. That is a reasonable design trade-off, and it has nothing to do with standards compliance.

    In this instance, you need to realize that WaSP's core audience, the group they are hoping to influence, is not the average guy using his browser in the usual way. Their audience consists of web designers and others who are pretty sophisticated in their use of the browser, and are likely to have their browser window set at around 700px width, in a corner of their 1600x1200 screen.

  24. i know acronyms can be a stretch by Gavitron_zero · · Score: 2

    but where does the "a" come from in WaSP.... or maybe that's part of the proposed standard...being able to add any required letter to your project acronym to make it sound cooler.

  25. Re: font-size workaround by iangoldby · · Score: 2

    A List Apart have published a workaround for setting a font-size one-smaller than the default size that works in all browsers, using the 'box model fix' technique. Just a pity they don't use it in their own pages. But yes, it does work.

  26. Re: Modern Browsers by SloppyElvis · · Score: 3, Insightful

    According to WaSP, modern browsers are a necessity. The problem is, WaSP doesn't have the power the impose such a mandate, and my grandma uses whatever browser came bundled with her machine (how did IE win the browser war?)

    IMHO, standards are great, but only if they are, in fact, standards. Thus, everything I write for the web follows the LCD (lowest common denominator) philosophy. Heck, I don't need tricks to put something that looks good on the screen (I'll do the alpha blending during graphics production, not at runtime). I don't like rewriting everything for a new browser (neither do the WaSP gurus), and that is why I'll stick to plain ole' minimal tag set HTML.

    HTML is not the problem for me; the problem in getting a site to work properly on any browser comes in when you try to use JavaScript. An standard object model for *JavaScript* is what I really need, and that is just not a reality yet.

    Some have pointed out IE's tolerance for mistakes is a problem, and I couldn't agree more. As a development browser, IE is a big mistake, unless you don't care about users of other browsers at all. Thank goodness for Mozilla.

  27. Re:too bad... by LinuxCumShot · · Score: 2, Interesting

    what is that little 'a' stand for? Or is it a backronym?

    --
    -- OMFG = Oh My Floatse Goatse
  28. Re:No errors! by ncc74656 · · Score: 2
    Great! this is actually one of the few sites that passes the w3 (x)html validator!

    I'd swear they returned six errors (all "references to non-SGML characters") when I tried it.

    (BTW, the moderator who marked the parent offtopic is a fucking retard. In what way is a comment on the validity of the HTML used by a website that purports to stick to standards offtopic?)

    --
    20 January 2017: the End of an Error.
  29. duh? by bcrowell · · Score: 2
    I guess I'm just stupid, but a lot of what they're saying doesn't make any sense to me.

    Most major websites can also be improved by removing intricate table layouts and superfluous markup
    Uh, how the heck would you set up your layout without tables? For instance, how would you generate a page that looks like Slashdot without using nested tables?

    I also don't understand how they can claim that web designers should design a single page that can be used both on desktops and handhelds. OK, maybe if it's just plain text that would work. But any more complicated layout is going to have to be redesigned completely for a handheld.

    1. Re:duh? by Isofarro · · Score: 2, Insightful

      how the heck would you set up your layout without tables?

      Cascading Style Sheets. HTML was meant to represent the structure of the content, not its presentation. Style Sheets are the suggestions of layout and style.

      I also don't understand how they can claim that web designers should design a single page that can be used both on desktops and handhelds. OK, maybe if it's just plain text that would work. But any more complicated layout is going to have to be redesigned completely for a handheld.

      That's because you are stuck in the mindset that layout is done in the HTML. By moving layout suggestions to the stylesheet, there's a clear seperation between the content and the layout/presentation. That means the same content can be displayed on both devices, the browser making full use of the style-sheet, while the PDA uses a minimal or no stylesheet at all. The HTML just encapsulates the structure of the content (in that _this_ is a heading, _that_ is a paragraph), while the style sheet describes how to display it (headings should be bold, red and s_so_ big).

      By a clear separation, accessibility to an HTML page is increased.

    2. Re:duh? by apg · · Score: 2
      Uh, how the heck would you set up your layout without tables? For instance, how would you generate a page that looks like Slashdot without using nested tables?

      It really wouldn't be all that hard to redesign this layout without using tables for the major page structure. At it's simplest you've basically got a single, fixed-width column running down the left side and a content area that takes up the remaining page width, with a header and footer and little bit of margin around the edges. Even the nested threading of the comments and replies wouldn't be all that hard to replicate.

      I also don't understand how they can claim that web designers should design a single page that can be used both on desktops and handhelds. OK, maybe if it's just plain text that would work. But any more complicated layout is going to have to be redesigned completely for a handheld.

      The idea is that if you mark up the content of your page structurally and use CSS to create the layout, a device can display the content as best as it's able. Not that a handheld will reproduce the exact same layout as the desktop, but that it is able to present the information in a way that is appropriate for a handheld.

    3. Re:duh? by SoupIsGoodFood_42 · · Score: 2
      Uh, how the heck would you set up your layout without tables? For instance, how would you generate a page that looks like Slashdot without using nested tables?

      Like this.

      It's not a perfect example, it won't fit in a small screen. But that's totaly fixable. It's just something that I've thrown together and played with. Adding indents for a comments layout (which I plan to do) is easy.

      If you look at the source code. You will notice that it's very lean. Even the CSS file is lean. Much smaller than the /. HTML anyway. Also, if some of the code in there looks different (like the first artical), like I said before, this is only something I've been experimenting with, and there will be lots of bugs. Just want to make sure no one goes away thinking that CSS is crap or anything.
      You'll also notice that I haven't got CLASS="foo" in all the tags, only some because of the way CSS can be used.

      The other great thing is, if you wanted to put the side bar on the other side. It would take you less than 2 mins to do it. And you wouldn't even have to dick around with messy HTML, or in this case, even messier HTML within Pearl scripts.

      Also, save only the HTML page to you disk. And open that file. Now you can see what it looks like without the CSS. Perfect for any browser including a PDA. And you can always have another CSS sheet for them if you want to change it.

      BTW. You will need something like IE 6, Mozilla, or Opera 6 to view it properly. It will just look like plain vanilla HTML to NN 4.7 etc.

  30. Re:Just error out. by ncc74656 · · Score: 2
    I'd like the browser to halt with a 'Error: Page invalid' myself. If IE (and all browsers) would do this for nonvalidating HTML and CSS I'd say we'd see things improving pretty fast.

    It doesn't halt on invalid HTML, but iCab has an indicator on the address bar that tells you if a page uses valid or invalid HTML and/or CSS. Something similar in Mozilla would be nice.

    (BTW, iCab doesn't think much of /.'s HTML, but that comes as no surprise.)

    --
    20 January 2017: the End of an Error.
  31. Use CSS to create 3-columned tableless layouts by starvingartist12 · · Score: 5, Informative

    It's totally possible to create great looking tableless, liquid, three-column layout using CSS.

    These sites have different tutorials for various column combinations and even backwards compatibility with Netscape 4.

    http://www.glish.com/css
    http://www.saila.com/usage/layouts
    http://homepage.mac.com/realworldstyle
    http://www.projectseven.com/whims/cssp_3box/3boxno script.htm

    The beauty of not using tables is that you're seperating structure from presentation. Basically, around some content, you specify what it is (structure). In the case of Slashdot's side navigation, in the XHTML/HTML you'd might surround the content with a DIV tag and give it an id/class of "sidenavigation".

    With tables, you're already forced to predetermine that you want to use it on the left column when you mark up the whole table in TD and TR tags.

    So how's CSS better than tables? Well, once you've defined the structure in XHTML/HTML, you can use CSS to define the presentation to say, I want anything tagged as a "sidenavigation" to be a vertical box on the left side that's X pixels wide.

    This presentation can be easily be altered by changing the CSS. You can tell CSS to move things to the right, maybe center it or whatever. And you can define a CSS specifically for handhelds. You can tell it to hide data, change font sizes, redefine colors, or anything you want. For the sight-impared, you could define the CSS to display it all in a simple, column-less layout. And since you have not predetermined the presentation in the HTML, the user could have defined their own stylesheets to override your CSS to present the content in the way they want it.

    With HTML and CSS (and also the XML and XSLT recommendations), websites can be so much more flexible.

  32. Good CSS tutorial by mlas · · Score: 2, Informative

    Here's an excellent tutorial on how to get some common layouts without using tables for layouts. It's a little tricky at first but entirely possible. I've built my last three sites using no tables.

    --
    "Luck is the residue of design" --Branch Rickey
  33. It's a lobby for style sheets by Animats · · Score: 2
    This group seems to be a lobby for style sheets. They don't like nested tables. They want style sheets and "abstraction".

    Why should there be "abstraction" at the presentation level? It might help the content creator, but it doesn't do much for the reading end.

    Speaking as someone who decodes elaborate HTML material with programs (I wrote an engine which, among other things, reads financial statements expressed in HTML), adding a layer of abstraction doesn't help when extracting the meaning of the content. It might if you were guaranteed that all content of a given type used the same style sheet. But you're not, so it hurts, rather than helping. Decoding programs have to expand out all the style sheet stuff, like macros, then work on the expanded form.

    At least we know what tables mean in a 2D sense. I can machine-parse HTML with tables and determine that one item is above another item. Rows and columns can be extracted. You can tell what's adjacent to what when seen by the end user. Abstraction breaks all that geometric structure, and the geometric structure is what the user sees.

    1. Re:It's a lobby for style sheets by Isofarro · · Score: 3, Informative

      Why should there be "abstraction" at the presentation level? It might help the content creator, but it doesn't do much for the reading end.

      Tables are meant for tabular data - no-one is saying not to use tables for tabular data. What they are saying is not to use tables for _layout_.

      Given a table - how do you tell whether its for layout or tabular data? I doubt you could always get it right.

      adding a layer of abstraction doesn't help when extracting the meaning of the content

      The meaning of the content is in its document strucutre, not in whether its left or right aligned. Presentation just makes content look presentable, not add meaning to it.

      a h1 element will tell you more about some text than a font-size.

      Decoding programs have to expand out all the style sheet stuff

      No they don't. Presentation doesn't add anything to the content. How a heading is displayed gives no more significant information than knowing a piece of text is a heading.

      The only time your statement could ever be slightly accurate is if people insist on using tag-soup instead of logical HTML markup.

      Yes, you can make something _look_ like a heading by sticking it in a paragraph and alter the attributes of that paragraph to _look_ like a heading. There's no point in doing so, since the structure of the elements doesn't describe the structure of the content adequately -- that's tag soup.

      Abstraction breaks all that geometric structure

      Disagree. Abstracting the presentation (those bits that don't add value to the content structure but only describe style attributes) will clarify the geometry of a document right down to a clean hierachial list of nodes that are easily traversed.

      Parsing an XML file is much easier than a random tag soup. And it can be done with standard freely available tools.

      Speaking as someone who decodes elaborate HTML material with programs

      These programs will be common accessories to the normal web user (transparent to them of course), precisely because of the direction WaSP and others want to go.

      The Semantic Web is just an extension of the WWW.

  34. CSS is for separating structure from presentation by starvingartist12 · · Score: 4, Informative

    Abstraction breaks all that geometric structure, and the geometric structure is what the user sees.

    With proper HTML and CSS use, the abstraction at the presentation level doesn't actually break the structure. It merely seperates presentation from structure, while keeping structure together with the content/data.

    Scott Andrew said it best here:

    "...this illustrates a common misunderstanding about CSS. CSS is for separating structure, not content, from the presentation. Markup is meant to give meaningful structure to content. The content can come from a database or text files; the structure from page templates, a CMS or XSL transformation. Keeping your content free of meaningless structural elements allows you to pour your content into another structure suitable for different devices. CSS allows you to apply client-appropriate and easily-varied visual style to that structured output, without having to alter your markup."
  35. Re:CSS is for separating structure from presentati by Animats · · Score: 2
    With proper HTML and CSS use, the abstraction at the presentation level doesn't actually break the structure.

    But you don't get proper HTML and CSS use. You get whatever somebody used to get the thing to look the way they wanted it. Correct semantic structure is not near the top of most web designers' priority lists.

  36. Same Old WSP Crap by asackett · · Score: 2

    The thing that Zeldman's Disciples still have not figured out is that there are poor people who are or would be well-served by web access. Standards are great, but those of us who build web sites have to consider the fact that there are folks out there driving tired old corporate cast-off equipment, stuff that cannot handle a modern web browser.

    They tell us that browsers are free for the downloading -- because they are not paying telephone charges by the minute.

    They tell us that Browser X is a "light" download, but don't consider that it won't run on a tired old 80386 with four meg of RAM.

    They tell us that supporting old, tired machines and the poor people who use them is "holding back progress" -- only because it holds back THEIR progress. They simply refuse to consider the little girl in South Africa whose progress we're supporting by not adopting the latest standards. Her father is proud to be able to provide her with that unreliable dial-up that tops out at 18kbps.

    Not me, thanks. Until the older technology falls out of use, I'll continue to do the things that Zeldman's Disciples hate.

    It's only accessibility if real people using real equipment can make use of the content.

    --

    Warning: This signature may offend some viewers.