Slashdot Mirror


Do You Care if Your Website is W3C Compliant?

eldavojohn wonders: " Do W3C standards hold any importance to anyone and if so, why? When you finish a website, do you run it to the validator to laugh and take bets, or do you e-mail the results to the office intern and tell him/her to get to work? Since Opera 9 is the only browser to pass the ACID2 test, is strict compliance really necessary?" We all know that standards are important, but there has always been a distance between what is put forth by the W3C and what we get from our browsers. Microsoft has yet to release a browser that comes close to supporting standards (and it remains to be seen if IE7 will change this). Mozilla, although supportive, is still a ways from ACID2 compliance. Web developers are therefore faced with a difficult decision: do they develop their content to the standards, or to the browsers that will render it? As web developers (or the manager of web developers), what decisions did you made on your projects? Update: 05/20 by C : rgmisra provides a minor correction to the information provided. It is stated above that Opera9 is the only browser to pass the ACID2 test, however "This is not true - Safari was the first released publicly released browser to pass the ACID2 tests." -- Sorry about the mistake.

624 comments

  1. A relevant quote by c0d3h4x0r · · Score: 1, Insightful

    In theory, whatever works in theory works in practice. In practice, this is not always the case.

    --
    Moderator hint: a comment is neither "Flamebait" nor "Troll" if it is true.
    1. Re:A relevant quote by globalar · · Score: 5, Informative

      Aside from the all-important issue of "does it look right?", there is the professional issue of what sort of standards you should apply to your work. It's difficult to come close to a more extensive (and yet simple to implement) baseline metric of quality control with HTML/CSS than the W3C parser. Sure, I could go through and decide how I am going to do everything, but that's time-intensive and inflexible. Running something through the parser gives me a fast and consistent report. I can do whatever I want with the results, but they are there.

      It does not solve problems for you or guarantee much of anything, but it allows you to see your formatting code in a more objective way. As a bonus, it can help you spot potential problems, mistakes, and open your eyes to some of the structure you are relying upon.

      I always use the Tidy Firefox extension. It is a little friendlier than the online W3C parser interface. Disclaimer: not a professional web designer.

    2. Re:A relevant quote by ErisCalmsme · · Score: 2, Informative

      This is a Yogi Berra quote. "In theory there's no difference between theory and practice. In practice there is." ;)

      --
      Chaos is Divine *
    3. Re:A relevant quote by codewarren · · Score: 1

      In theory, the w3c makes the standards and browsers strive to adhere to them.

      In practice, the browsers are the standard and the w3c is a lame duck. Why should I care if my website is standards compliant according to the w3c? My customers don't know what the w3c is.

      When theory and practice disagree, the theory is wrong.

    4. Re:A relevant quote by Frogbert · · Score: 2, Funny

      Sure that makes sense in theory, but in practice it probably doesn't.

    5. Re:A relevant quote by MyLongNickName · · Score: 1

      Or, perhaps, the gp came up with his own quote?

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    6. Re:A relevant quote by Dan+Ost · · Score: 2, Interesting

      When theory and practice disagree, the theory is wrong.

      You've got it backwards. Historically, especially in medicine, but
      in other fields as well, practice never matches theory until the
      generation that was practicing before the theory was developed is
      replaced by the generation that was learning to practice once the
      theory was mature.

      Generally speaking, then theory and practice disagree, it's because
      the practitioners are resistant to re-learning how to apply their craft.

      If a theory is in fact wrong, it generally gets replaced by a new
      theory before the practitioners get a chance to adopt it.

      --

      *sigh* back to work...
    7. Re:A relevant quote by Cobralisk · · Score: 1

      I can think of 8 reasons off the top of my head why you should strive for standards compliance: IE 5 IE 6 IE 7 Mozilla Firefox Opera IE for MacOS Netscape All of these browsers support some odd set of features vaguely related to some form of HTML. In order to author a website that's viewable by your target audience you have to test against as many of these platforms as you can afford to. Only through a "standard" can you have at least a sane baseline for viewable information. It is possible to write standards-compliant code that's cross-browser compatible if you lay off the bells and whistles a step and focus on clean design instead (both codewise and presentation-wise). Lets all try to speak the same language ok? As developers we need to steer clear of ugly hacks wherever we can. Won't somebody think of the children?

      --
      Waiting for ad.doubleclick.net...
    8. Re:A relevant quote by codewarren · · Score: 1

      I said "when theory and practice disagree..." I did not say "theory is ignored by practitioners." In other words, if you have a medical theory that is theoretically sound, but in practice breaks down, then the theory is wrong. You can say that the theory is "immature" but that is the same as "wrong." The theory needs to be revised, even if only slightly, and then is a new theory.

    9. Re:A relevant quote by codewarren · · Score: 2, Insightful

      Those are 8 proofs that the "standards" are not the standards.

    10. Re:A relevant quote by Cobralisk · · Score: 1

      Given, but the standards are the only common thread these browsers have to work with. Go for standards first, then tweak from there. The further you deviate from the standards, the more work you will have to do in the future to keep your page rendering on the next generation of browsers. But maybe the goal is job security, not simplicity.

      --
      Waiting for ad.doubleclick.net...
    11. Re:A relevant quote by budgenator · · Score: 1

      kind of like "You'll need to learn this for the state boards, but you'll never see it again".

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    12. Re:A relevant quote by trewornan · · Score: 1

      I don't think w3c is a lame duck but I certainly agree that customers (generally) don't know what it is so slavish adherence is a bad idea, it's better looked at as a guideline.

      Developing x/html is not much different from writing code and I bet most /.ers would agree that is an iterative process. I look at w3c as a waypoint, once you've got a page which is close to what you want and compliant you can then add just the non-compliant stuff you must - if you keep a check on how it downgrades you end up with a site close to compliant which downgrades without problems and is fairly easy to maintain.

    13. Re:A relevant quote by omeomi · · Score: 1

      I don't think w3c is a lame duck but I certainly agree that customers (generally) don't know what it is so slavish adherence is a bad idea, it's better looked at as a guideline.

      The only time I ever made a site 100% XHTML compliant was when it was demanded by the customer...although I doubt they ever validated it, or really even understood what it was they were requiring. I think they just heard it somewhere, and thought it sounded snappy. Overall, I think the W3C compliancy requirements are fairly stupid. I see no reason why something like <br /> is somehow better than <br> for any practical reason.

    14. Re:A relevant quote by Anonymous Coward · · Score: 0
      I see no reason why something like
      is somehow better than
      for any practical reason.
      Because all tags have to be closed in XML.
    15. Re:A relevant quote by mattyrobinson69 · · Score: 1

      because its easier for the browser to parse if its valid xml, as opposed to tag soup

    16. Re:A relevant quote by MikeFM · · Score: 1

      The Tidy Firefox extension helps quite a bit because the W3 compliance tools aren't always easy to test on dynamic content especially in pages that require a complex process to get to.

      I am a professional designer and while I won't say my sites are 100% compliant I do make a lot of effort to be standards compliant. The things that bite me most are minor things you have to do to make things work in given browsers. IE is the cause of most of these. Other than that the biggest issue is remembering to use the proper html entities. It's easy to forget especially with dynamic content.

      Overall it's not that much work to be standards compliant. What is a lot of work is trying to work with non-compliant browsers and minor issues with compliant browsers.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    17. Re:A relevant quote by FinestLittleSpace · · Score: 1


        should always be written like that because it closes the tag off. Otherwise you are leaving an open tag if you use simply
      . It's actually very important.

    18. Re:A relevant quote by Tet · · Score: 1
      Overall, I think the W3C compliancy requirements are fairly stupid. I see no reason why something like
      is somehow better than
      for any practical reason.

      It's not. But that doesn't make W3C compliancy requirements stupid. All of my sites validate as HTML 4.01 Strict. However, XHTML is just pointless buzzword compliance, and I see no reason to go there. There is nothing you can do with XHTML that can't be expressed in HTML, in a fully compliant manner, without the pain of XML.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    19. Re:A relevant quote by omeomi · · Score: 1

      because its easier for the browser to parse if its valid xml, as opposed to tag soup

      do you have any statistics to prove that there are any browsers that will render xhtml pages better than their well-formed html counterparts?

    20. Re:A relevant quote by Steve001 · · Score: 1

      omeomi wrote:

      I don't think w3c is a lame duck but I certainly agree that customers (generally) don't know what it is so slavish adherence is a bad idea, it's better looked at as a guideline.

      The only time I ever made a site 100% XHTML compliant was when it was demanded by the customer...although I doubt they ever validated it, or really even understood what it was they were requiring. I think they just heard it somewhere, and thought it sounded snappy. Overall, I think the W3C compliancy requirements are fairly stupid. I see no reason why something like
      is somehow better than
      for any practical reason.

      The reason for the closing right slash is due to a rule in XHTML that all opening tags must have a closing tag, without exception. The above "br" tag with the right slash allows it to act as its own closing tag, and a closing right slash is required for all single tags, including hr.

      One advantage of the strict rules of XHTML is that web browsers won't have to go through the guesswork that is necessary with HTML due to tagging that doesn't adhere to W3C standards. Due to the strict rules of XHTML, it is easier for a program to properly generate a webpage. In fact, it would be possible to generate a standards-compliant webpage without having to edit the actual text of a webpage.

    21. Re:A relevant quote by mattyrobinson69 · · Score: 1

      my point was that xhtml being xml based, rather than tag-soup html 5.0 was a good thing, because its easier to parse. It will be very far down the line before we start to see such benifits, but hopefully, the day will come.

    22. Re:A relevant quote by Anonymous Coward · · Score: 0

      The "Preview" button is there for a reason.
      For future reference, if you want to put "<"s, ">"s, or "&"s in your post when using "Plain Old Text" or "HTML Formatted", type "&lt;"s, "&gt;"s, or "&amp;"s, respectively.

  2. Depends on Usage by foundme · · Score: 5, Insightful

    For commercial sites, it's all about ROI. So your PHB is unlikely to approve any spending unless you can prove significant loss of sales as a result of non-compliance.

    On the other hand, if I'm building a site in my spare time, and it's targetted at Slashdot audience, I would be very careful with all the standards because (1) I can approve my own time and (2) I am more concerned about peers' feedback than ROI.

    I guess it's the humanization of the site that makes you care about compliance.

    --
    Please stop entering code 2,2,7,6,6,4
    1. Re:Depends on Usage by Dan+Ost · · Score: 2, Funny

      Can you please explain your sig?

      --

      *sigh* back to work...
    2. Re:Depends on Usage by Kenshin · · Score: 1

      On the other hand, if I'm building a site in my spare time, and it's targetted at Slashdot audience, I would be very careful with all the standards because (1) I can approve my own time and (2) I am more concerned about peers' feedback than ROI.

      If you're looking to Slashdot for peer approval, you're just asking for a nightmare.

      --

      Does it make you happy you're so strange?

    3. Re:Depends on Usage by mattmatt · · Score: 1

      You too, hey?

      "Are you him?"... wtf?

    4. Re:Depends on Usage by JTorres176 · · Score: 1

      I think a lot of it surrounds whether the website can be functional and intuitive. W3C compliance is a nifty little button that geeks and nerds fawn over on your website, but if you're hosting something that requires java script, some "not-exactly-complaint" CSS and a bit of PFM (pure freakin magic) to make work in every browser, does it matter if W3C's validator kicks off a few complaints, or are you going to invest twice the amount of time to make it fully compliant.

      If this is your hobby site, dump in all the time you want. My sites are under production guidelines and have strict schedules for preparation and implementation. If my artists take 6 weeks to give me the graphics for a 6 week long project, I don't have days to sit there and screw with the validator trying to make sure my bulleted lists fall perfectly within spec. If it works in IE, it works in Gecko, and it works in Opera, that's ~99% of our target market.

      What does your business care more about, coming in at budget and on time, or coming in over budget, days late, but with a nifty little W3 button that they've never heard of hoving in the bottom corner?

      --
      Evil Walrus >83=
    5. Re:Depends on Usage by multimediavt · · Score: 3, Insightful

      I'm going to chime in on this thread. I'm going to assume that when you say 'usage' you mean the target audience of the site? If so, that's really *NOT* an excuse, logical argument, nor valid defense for non-compliance. There is only one excuse for non-compliance and that is a mandated use of Microsoft technologies by management for the development of a website. Notice I did not call that a logical argument, nor a valid defense.

      Now, for ROI, I'm sorry, but if *ANY* user with a *FREE* web browser (or media player) can see and use your website, your ROI is going to be higher. Period. There is no logical argument for non-compliance with open standards for CSS and DOM designs; nor for any content being delivered over the web, or application being developed for the web. None, zippo, zero, nada.

      I know, this is a debate/discussion that will rage for many years to come; until Microsoft is either brought to its knees on compliance, wiped from the market, or simply supplants the open standards (somehow). But, I develop sites, applications, and full end-to-end solutions. I do it with open standards compliance AND a reasonable amount of diligence paid to the MS IE standards as well for near matching rendered pages. You do it enough times, it's really not that hard to keep doing. The only pain is when you create a new look-and-feel template, and that's once a year at most. I'm also a firm believer in the creation of reusable parts!

    6. Re:Depends on Usage by ThreeE · · Score: 0

      Tell your PHB how you feel and that you are willing to forego a paycheck to make the commercial site standards compliant because you are worried about "humanization."

      On the other hand, you might consider taking your PHB out to lunch and thanking him for keeping your shit out of the business.

    7. Re:Depends on Usage by Flame0001 · · Score: 1

      I want to know what his sig means too... I just don't understand it.

      --
      Slashdot, the only place where intellectuals can act like idiots... and still sound intellectual.
    8. Re:Depends on Usage by Anonymous Coward · · Score: 0

      Now, for ROI, I'm sorry, but if *ANY* user with a *FREE* web browser (or media player) can see and use your website, your ROI is going to be higher. Period.

      Wrong. IF *ANY* user with a browser can see and use your website, your RETURN is going to be higher. The question is, does the required INVESTMENT* increase disproportionately? Getting a website to work in IE, Firefox, and maybe Safari might be worth the ROI. But corner cases like Opera, Cello, and Chimera are definitely not.

    9. Re:Depends on Usage by lukewarmfusion · · Score: 4, Insightful

      It's important to note the difference between increased revenue and ROI. Just because more people can access your site and become customers doesn't mean that the business will make more than they spent making the site compliant.

      That's the end of my devil's advocacy.

      Standards-based, accessible websites have a bigger ROI than is necessarily measurable. These sites tend to produce better search engine results, be faster to download, use less bandwidth, and improved usability. And if you have an altruistic bone in your body, such a site improves the overall quality of the web.

      So the ROI is definitely there, if you know how to make the case for it.

    10. Re:Depends on Usage by srai · · Score: 1

      yeap ... it also depends upon the service provider, security seal provider, applications and most often for clean and advanced website.

    11. Re:Depends on Usage by Lord+Ender · · Score: 1

      This assumes making a compliant site is more expensive than making a non-compliant one. And that is only true for some development methodologies.

      There is also the increased price of non-compliance in the form of decreased future compatability (browsers 10 years from now won't be rendering with the same bugs IE6 has today). A compliant site will probably need less maintanence.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    12. Re:Depends on Usage by eyeye · · Score: 3, Interesting

      You sound clueless tbh, like all people who complain that making valid websites is "tooo haaaaaard!!!". If you need a validator to check bulleted lists and can't write js without errors then you are in the wrong job. Or you are the office gopher who just happens to also like playing with frontpage.

      --
      Bush and Blair ate my sig!
    13. Re:Depends on Usage by thevoice99 · · Score: 1

      I put my pages through the validator then laugh. My pages can't be valid and function how I want. So if I have a choice I'll make the pages work how I want them to. Its like telling an artist he can only use red and blue colors to paint. What I'd really prefer is for all the browser makers to agree on a standard and follow it. I end up spending 90% of my time with html hacking it up to work in all browsers. I say we just get rid of HTML altogether.

    14. Re:Depends on Usage by kanzels · · Score: 1

      But still if you have to take care of 3-4 different browsers, it's a lost time you can easily avoid if all browsers were w3c compliant... In my opinion people should start making only w3c compliant web pages, and browsers should be improved to render them properly.

      --
      Pixel image editor - http://www.kanzelsberger.com
    15. Re:Depends on Usage by Stephan+Schulz · · Score: 1
      My pages can't be valid and function how I want. So if I have a choice I'll make the pages work how I want them to. [...] What I'd really prefer is for all the browser makers to agree on a standard and follow it.
      Unless you use non-standard plug-ins like Flash, I bet you can get it to work within the standards. It's probably not even hard. Standard Java(ECMA)Script, DOM, (X)HTML and CSS are fairly powerful these days. I've seen action games written in nothing but...

      And the W3C standards are what all the browser makers support (or at least claim to try to support). Just avoid proprietary extensions, and you safe all the porting work, too!

      --

      Stephan

    16. Re:Depends on Usage by Anonymous Coward · · Score: 0

      Markup Validation Service at http://validator.w3.org/ :

      "I got the following unexpected response when trying to retrieve http://ask.slashdot.org/:

      403 Forbidden"

    17. Re:Depends on Usage by vux984 · · Score: 2, Insightful

      So the ROI is definitely there, if you know how to make the case for it.

      Right, but merely "shooting for compliance" and "actually getting there" can be the same thing as far as most of those roi benefits.

      In other words, if compliance is an objective, and you actively endeavour to achieve it, even if you miss the green "your page is 100% valid" result, you usually reap most of the roi benefits you refer to, whether you fix all the "errors" or not.

      Its sort of like ISO9000 and other "organizational" status symbols of achievement. Merely trying your best to run an ISO9000 compliant organization will reap you the benefits (e.g. "improved business performance" and "good quality controls"); but actually getting the certification itself is really only relevant if your clients literally require it. (e.g. FDA approved labs, military contractors, etc).

      Simply shooting for ISO9000 compliance, just like shooting for W3C standards compliance gets you most of the roi. Actually getting the certifications by tying up every loose end and detail is a rapidly diminishing return unless you have some compelling client requirement to achieve it.

    18. Re:Depends on Usage by attackc0de · · Score: 1

      Looks like the computer command prompt from "Lost", complete with a countdown timer.

      --
      For a nice date: call strftime(3C)
    19. Re:Depends on Usage by greggman · · Score: 2, Insightful

      Gawd I hate this BS

      >sites tend to produce better search engine results, be faster to download, use less bandwidth, and improved usability

      This BS meme is repeated all time and yet with ZERO proof. None of the most popular sites validate. Not google, not yahoo, not cnn, not msnbc, not flickr, not myspace, not even our sacred slashdot. none!

      They show up in search engines just fine, download speed is a matter of data size not standard compliance as is bandwidth and as well, you can follow all the standards and still not be usable and you can break all the standards and have a more usable site than others.

      As long as standard zealots keep using lies to try to get people to support standards no one is going to listen.

    20. Re:Depends on Usage by beermad · · Score: 1

      A simple example of how not coding to standards costs. I recently tried to book theatre tickets online and when I got to the final page, ready to pay, there was no button visible to continue. So they lost my business. Running the Firefox HTML validator extension on the page revealed that it was a complete mess.

    21. Re:Depends on Usage by Peter+Mork · · Score: 1
      I know it's off-topic, but I've found one place in which it's hard to make a standards-compliant page. How are you supposed to start a numbered list at a value other than 1? The simple solution is
        , but the start tag has been deprecated. Thus, for example, this page doesn't quite validate.
    22. Re:Depends on Usage by Silas+is+back · · Score: 1

      True. Everything is possible within the W3C-margins. I've done quite some webpages including webshops so far and all are totally valid XHTML. You have to experiment a bit to get it right on IE:win, but it is possible. Totally.

      --
      this sig is useless
    23. Re:Depends on Usage by GiMP · · Score: 1

      Are you trying to prove or disprove the grandparent? :-)

      Take a look at CSS counters, I believe this is what you should be doing instead:
      http://www.w3.org/TR/CSS2/generate.html#counters

    24. Re:Depends on Usage by Peter+Mork · · Score: 1

      Thanks for the pointer, though after skimming that section, I think that the start tag is a whole lot easier than using counters. I'll need to familiarize myself with the :before option.

    25. Re:Depends on Usage by fatphil · · Score: 1

      I think that actual trend is that webpages that are full of useful information and aren't full of crap tend to produce better search engine results. And that webpages that contain useful information and aren't full of crap are sometimes designed by people who care a little about what they present. So some correlation certainly makes sense.

      However, gamers twist this by filling their pages with what google thinks isn't crap, but the viewers might do, so even the above isn't a reliable correlation.

      And there's no cause and effect between the two, they are both potentially effects of a similar cause though.

      FatPhil

      --
      Also FatPhil on SoylentNews, id 863
    26. Re:Depends on Usage by dolphinling · · Score: 1

      That's generally considered a bug in the spec, and HTML 5 being developed by the WHATWG will undeprecate it.

      --
      There are 11 types of people in the world: those who can count in binary, and those who can't.
    27. Re:Depends on Usage by protohiro1 · · Score: 2, Insightful

      Very popular sites are going to show up in search results no matter how bad their html is. The thing about standards is that crossing every t and making sure every image has an alt tag might not be worth it. Because validation is not the goal. Semantic html is the goal. It doesn't really take any more effort to make a layout with no tables and relatively semantic markup. Which is better than just letting frontpage make all the decisions.

      --
      Sig removed because it was obnoxious
    28. Re:Depends on Usage by lukewarmfusion · · Score: 2, Insightful
      Of course popular sites show up fine without validating. They're popular.

      The key is the unpopular site - small businesses, for instance - that want to compete in search engines but will never have thousands of visitors a day.

      Standards-compliant websites do not necessarily make for better SEO. But the practices and culture around them do.

      Accessibility generally results in improved SEO simply by 1) increasing the placement of relevant text within a page and 2) making the site more accessible to search engines. Things like alt text go a long way.

      As for download speed, you're absolutely right. It's a matter of data size. But standards-based design lends itself toward smaller pages simply by removing the need for repetitive code like
      <font face="Arial,Helvetica,sans-serif" size="2">
      It's not the standards that make it work well, but the benefits that come along with the journey towards those standards.

      Nowadays, if a client isn't willing to let my company develop an accessible, standards-based solution, he isn't going to be my client. I just won't waste my time on them.
    29. Re:Depends on Usage by Anonymous Coward · · Score: 1, Insightful

          >sites tend to produce better search engine results, be faster to download, use less bandwidth, and improved usability
      This BS meme is repeated all time and yet with ZERO proof. None of the most popular sites validate. Not google, not yahoo, not cnn, not msnbc, not flickr, not myspace, not even our sacred slashdot. none!


      Better search engine results:
      http://www.google.com/support/webmasters/bin/answe r.py?answer=35770

      Faster to download:
      You code will likely be smaller if you do it by hand, as you will avoid all the unnecessary junk code added by tools like Dreamweaver etc.

      Use less bandwidth:
      In addition to being smaller code to download, the css for your pages is cached by the browser. Hence, you only need to download the content aspect of the page, and not its presentation.

      Improved usability:
      I recommend you read the W3C guide to usability. You will see that having correct code is a step forward to being usable (most of them are priority 3). And with a little bit of work, you can achieve priority 1, being really usable for anyone.

      A/C
    30. Re:Depends on Usage by Suffering+Bastard · · Score: 1

      This BS meme is repeated all time and yet with ZERO proof. None of the most popular sites validate. Not google, not yahoo, not cnn, not msnbc, not flickr, not myspace, not even our sacred slashdot. none!

      None of those companies has to fight like hell to get on the first two pages of Google or other search engines. Your average small -> medium sized business needs to leverage whatever techniques are available to rise in the search ranks, as well as draw in more users. No, following standards is not a ticket to high Google ranks, and standards definitely do not help with download speed (standards compliance is antithetical to a small footprint), but they DO give guidelines for developers to create sites that have the best chance of acheiving their clients' goals, as well as ease future maintenance.

      The biggest problem with standards and best practices is the idea that they are set in stone, and that you're a "bad" programmer if your sites do not conform. THAT's bullshit, for sure, and seems to be a culture promulgated mostly by the standards bodies themselves. There are so many reasons to break the standards that they can become nigh useless in most production environments. But for the sakes of interoperability and maintenance, standards give developers some good guidelines to follow.

      Guidelines are not religion.

      --
      "Molest me not with this pocket calculator stuff."
      - Deep Thought
    31. Re:Depends on Usage by Anonymous Coward · · Score: 0

      a standards-compliant website isn't always the website you NEED

    32. Re:Depends on Usage by DesertWolf0132 · · Score: 2, Interesting

      It's called taking pride in your work. Code run through the validator has a level of quality control and a higher likelyhood of surviving the various browsers it gets crammed through. The only page I have ever designed that wasn't 100% CSS and XHTML compliant is my personal blog and the few things that throw it off are things Blogger.com requires. For my professional sites nothing less than W3C compliance will do.

      --
      No animals were harmed in the making of this sig.
      Well, there was that one puppy, but he is all better now.
    33. Re:Depends on Usage by pixelmech · · Score: 1

      The amount of misinformation and just flat out false comments (like the commenter stating there is no proof for the gains mentioned) in this thread is *astounding* - absolutely astounding. I have been a front-end developer for over 10 years. I know some back end stuff too, but my stock and trade is on the client side. Slashdot is more of a back end guys meeting place. I read stuff here occasionally but this is not a regular stop for me, but I stopped by for this article. I finally registered here just to comment on this. Anyway, one thing has remained true in my 10 years - back end developers/engineers are the worst front end coders in the world - hands down (In fact, most of the HTML I see from them is IDE generated or code from circa 1996). I would say this is true 90% of the time. Sometimes you find a person who actually cares, but rarely. Most back end guys see the client side code as just something that is not nearly important as the back end code. They don't care what is looks like, just as long as it works. I'm sure not every person is like this, but again in my experience, the majority are - and it's mainly because they don't see the benefits. I make this point because most back end folks have the same ideas in their head like this guy above who thinks there is no real proof for the benefits of standards. It's about the dumbest comment you can make regarding standards. The benefits of standards have been so beaten to death that it isn't even funny. The most high profile switch to a standards compliant site was Wired.com, done by Douglas Bowman. Wired saved *millions* of dollars by doing this - and they continue to save lots of money by using standards. Various HUGE sites like ESPN followed suit - and the trend has continued for YEARS - yes, years. In fact, now practically any high profile site that redesigns, redesigns using standards. Hmm...wonder why. Wonder why Yahoo! has been a standards advocate for years (and no, their pages don't validate either - that is not the point) - maybe because they serve out a few BILLION pages? And in large sites, you are definitely dealing with templates, so it's actually easier to do. As many have said, standards are important, and I would NEVER (and I do not) hire a client side guy who is not versed in standards. In fact, we just fired a guy on my current project because his code was such a mess. Validation is a tool - not a goal. Validation helps you write clean code, that's all. If you need some custom tags or whatever, go for it. If you must use a table, use one. Standards is about more than just pleasing some validator, and if you think it isn't - you don't know jack about standards. Google 'benefits of web standards' and read to your heart's content. And the goofball who posted about xml/xhtml and not using and complaining that you'll have an open tag has no clue. The proper way to close a script tag even in XHTML is Any client side guy knows this. Not every tag is minimized like
      If you are going to spout off about standards, do some reading first so you know what you are talking about. Standards matter in the business world where you are feeding lots of pages and lots of data. Ironically, standards are less effective on your personal blog (where you see all the XHTML compliant tags) which nobody actually reads. Still good to do, but you get my point. In the end it's about clean and well written code. Don't you do that on the back end? Why wouldn't you do it on the front end? Laziness? Ignorance? Don't care? I can't imagine. So, yeah, if you're some hack working in your PJs at home 20 hours a week, who cares. If you actually work in the business world and don't care about standards to at least some extent, you are doing your company, your clients, your users and yourself a huge disservice. You are wasting money, time and resources. And you are frankly, not doing your job. /Rant off.

    34. Re:Depends on Usage by OutsideOfDreams · · Score: 1
      This may be redundant, but here is your "zero proof". And if you don't want to read the article, here are some stats from the ESPN.com redisgn:

      The Savings Add Up
      • Page reduction (est.): 50KB
      • Page views/day: 40,000,000
      • Projected bandwidth savings:
        • 2 terabytes/day
        • 61 terabytes/month
        • 730 terabytes/year


      I'm sure there are more examples, but the numbers should speak for themselves. Also, this is a very high profile case, it doesn't necessarily apply to everybody. I will say that moving towards XHTML, CSS, accesability standards, and W3C standards does make web design easier for me personally. These standards that are in place primarily to aid usability, search engine optimization and bandwidth savings are a nice side-effect.

      Furthermore, why should one need to promote better standard compliance with lies? Designing with standards make it easier on multiple parties, like the handicapped, mobile device users, designers and developers, and even the search engines. This isn't some political campaign, nobody will benefit (ie: money) from lying about web standards.
    35. Re:Depends on Usage by dbc001 · · Score: 1

      ...google, not yahoo, not cnn, not msnbc, not flickr, not myspace, not even our sacred slashdot...
      The sites listed have high search-engine results not because of standard SEO tactics, but because they have a broad userbase, good marketing, and solid reputations. Myspace could put every piece of text in 5 nested tables surrounded by every deprecated tag they could find and still have great search engine results.

      On the other hand, if a new site conforms to an existing standard, chances are that any robot will have an easier time parsing through the site, an easier time figuring out the relationships between pieces of information, etc. No this has not been proven yet as far as I know.

      As far as improved usability, a really well-coded site that conforms to modern standards can be easily modified by user stylesheets (more easily than an old-style webpage that mixes style & content). So yes, building a webpage to the standard is quite likely to have usability benefits. Even if nobody takes advantage of this capability, the benefits still exist.

      The point that so many standards zealots are trying to get at here is that when the majority of websites are built properly using stylesheets for design & layout, tools to modify those websites will probably become more common. Imagine having a single stylesheet that you could apply to *all* the websites that you visit! This would have enormous benefit to users with disabilities. Even a mild disability like poor eyesight could be helped enormously by the ability to apply larger font sizes across all the sites you visit.

    36. Re:Depends on Usage by FireFury03 · · Score: 1

      There is no logical argument for non-compliance with open standards for CSS and DOM designs; nor for any content being delivered over the web, or application being developed for the web. None, zippo, zero, nada.

      It's also worth pointing out that it is illegal in many parts of the world to have a non-complient commercial website since a non-complient website cannot meet the W3C accessibility standards. ISTR the olympic games committee already got sued for lots of cash in Australia for running an inaccessible site (and ignoring the court's previous request for them to fix it).

      This is certainly the case in the UK - WAI-AA complient web sites are mandated by the disability discrimination act - there's a fairly good summary available at http://www.bigreddesign.co.uk/accessibility/

    37. Re:Depends on Usage by bobdinkel · · Score: 1
      Gawd I hate this BS

      >sites tend to produce better search engine results, be faster to download, use less bandwidth, and improved usability

      This BS meme is repeated all time and yet with ZERO proof. None of the most popular sites validate. Not google, not yahoo, not cnn, not msnbc, not flickr, not myspace, not even our sacred slashdot. none!

      They show up in search engines just fine, download speed is a matter of data size not standard compliance as is bandwidth and as well, you can follow all the standards and still not be usable and you can break all the standards and have a more usable site than others.

      As long as standard zealots keep using lies to try to get people to support standards no one is going to listen.

      Do you really think that anyone is claiming that search engine results are just a list of sites ordered by degree of standards compliance?

      Google gives extra weight to terms that appear with header tags (h1, h2, h3, etc). So if the heading on your site is some CSS-styled text within an h1 rather than a gif without ALT text, that heading will have an impact on how your site is handled by search engines.

      And failing validation doesn't necessarily mean that the site doesn't closely follow standards. It could perfectly valid with exception of using a <br> instead of <br />

      The claim of increased download speed, is based on the assumption that the client will need to download less data. If headings are styled text rather than graphics, there will be less data to download. If text formating and layout are controlled by css rather than line after line of table mark-up and font tags, there will be less to download.

      Unfortunately, there are irrational standards zealots. Much like there are knee-jerk contrarians...

      --
      A publicly traded company exists solely to make profits for shareholders.
    38. Re:Depends on Usage by deesine · · Score: 1

      "I have been a front-end developer for over 10 years"

      And you still haven't learned the <br> tag?

      Large no-break paragraph aside, I agree with what you said. In fact, most of it doesn't really need to be said. Arguing against web standards is like arguing against brushing your teeth: sure you can get away without brushing, but only a child would argue against it.

      --
      damaged by dogma
    39. Re:Depends on Usage by woolio · · Score: 1

      google doesn't need to validate... I'm sure they know how better index their own content for their own search engine.

    40. Re:Depends on Usage by pixelmech · · Score: 1

      Yeah, well I do know the <br /> tag ;) But I guess I chose the wrong post mode - hey I never posted here before. How about the geniuses behind this site figure out a way to let me EDIT my freaking post like 95% of the rest of online forums. And I agree with what yer sayin.

      Kthxbye.

    41. Re:Depends on Usage by RedSteve · · Score: 3, Informative

      They show up in search engines just fine, download speed is a matter of data size not standard compliance as is bandwidth and as well, you can follow all the standards and still not be usable and you can break all the standards and have a more usable site than others.

      I'm working on a redesign of a site that is a perfect example of what happens when you let developers write code that "just works". Our pages are served out of a CMS that is provided by a little company in the Pacific Northwest that you may or may not have heard of (the name starts with 'M' and ends with 'icrosoft'). The templates we currently use are the bastard child of using their out-of-the-box output methods combined with template designers who used every table and spacer widget trick in the box to deliver their templates in as short a time frame as possible.

      According to half the comments I've read in this thread, this is how it should be: we should be focused on the end result for the user, and to hell with standards; they're nothing but esoteric junk that waste back-end developers' precious time.

      Of course, this great time-saving philosophy has resulted in the following results:

      • Template modifications are ridiculously hard to make without breaking the output. Because our template developers nested table after table and inserted seemingly random spacer gifs in order to get the layout 'just right', and then we had to split our template into components to ensure that the right pieces get fed at the right point in the logic, making updates are a laborious, time-consuming chore that regularly break , requiring further break fixes.
      • Our pages are bloated and slow-loading. Our home page is our lightest page, and the HTML document itself weighs in at over 63K -- to present all of 500 words. The bulk of that HTML? Javascript to sniff for different kinds of browsers and to feed dropdown menus. With all the spacers and image widgets, the total page load is over 120K.
      • We have to re-code templates over and over. For every alternate use of the same set of content -- printer-friendly, handheld, audio, braille -- we have to write similar templates that exclude the cruft of the browser-based view. Given our audiences, we cannot ignore these uses.
      • We pay a shitload for traffic. In the case of our home page, we served that page -- and all 500+ words contained upon it -- 670,000 times in the last year. Multiply that by the number of overall pages we serve a year (8.6 million), and our bandwidth costs for serving pages weighing 120-200K each are enormous. Even with users caching previously visited pages in their browser, we still serve a ton of traffic.

      Now, as I said, we've been developing a redesign around standards that should improve our lot in life significantly, and our conclusions have been based on data, not a BS meme.

      • Fact: we will simplify our template files significantly. Without having to dig through partial tables and being able to store semantically significant chunks within the development environment, our developers have to spend less time reconstructing bad HTML to preserve a rickety template. Modification times in development have been easily cut in half.
      • Fact: we will serve less data to represent the same amount of content. Our html files are now up to 1/5 the size that they used to be, and the total size of all associated files for each page are now literally half of what they used to be. We don't sniff for different browsers, and our drop-down menus that once took hundreds of lines of javascript are accomplished with a few :hover declarations in the style sheet in the CSS and a 12-line javascript snippet to make IE behave correctly.
      • Fact: Our redevelopment time will take significantly less time in the future, and will not require us to re-code enti
    42. Re:Depends on Usage by JTorres176 · · Score: 1

      Nope, I'm not clueless, but I'm in a management position. I rarely get the opportunity to sit down and write out html any more, and last I checked, frontpage doesn't work on FreeBSD or Slackware, so I don't have a chance to even try it and see how insulted I should be at that comment.

      I'm not saying I can't write pure valid simple html, that's quite simple. However performing specific acts for the specification of a client and their application within a rigid schedule shouldn't have to be such a challenge to make it 100% W3 compliant. I mean, congratulations if you write code so well that it flies through the validator without a hiccup each time... but I have a bit more to do in my day than to research every action, every javascript popup, every multimedia embedding tag, and every css call in the system to fall right into compliance.

      Like I said, I'm a coder moved onto management, I know the need for compliance and clean, beautiful, and easy to maintain code, but I also know the value of getting projects out on time, on schedule, and within budget.

      --
      Evil Walrus >83=
    43. Re:Depends on Usage by protohiro1 · · Score: 1

      Oh god I hate CMSes...they really seem to hate web standards. I just finished a big site for a large non-profit. We went with dot net nuke and it was a NIGHTMARE to get it to serve up html without tables. It still sticks a few (non-semantic) tables in because they are hard coded into controls.

      --
      Sig removed because it was obnoxious
    44. Re:Depends on Usage by multimediavt · · Score: 1

      I'm going to poke a small hole in your argument/comparison. The ISO9000 specifications are *fixed*, and not a moving target like the W3C web specifications, so shooting for W3C compliance is not like shooting for and coming short of ISO9000 compliance. The short comings of companies going for ISO9000 compliance are almost always purely economic, i.e., they don't have enough capitalization to justify the cost of full compliance for ISO9000. The choice of W3C compliance is a lot more complicated, as far as reasoning goes, than just economics. There are ideological and technical issues that also hinder compliance with W3C web standards, not to mention multiple draft and finalized standards of compliance. Do I comply with HTML 1.0, XHTML 1.0, or XHTML 2.0? Obviously, these reasons can be simplified into financial reasons due to the cost of labor for compliance, but money isn't always the reason.

  3. Safari 2 by m0rph3us0 · · Score: 5, Informative

    IIRC, Opera 9 is not the only compliant browser. I believe Safari 2 is also compliant.

    1. Re:Safari 2 by Ant+P. · · Score: 2, Informative

      And Konqueror (which Safari is based on), and iCab...

    2. Re:Safari 2 by Anonymous Coward · · Score: 2, Informative

      Safari and other webkit based browsers miss out one style on the acid2 test. Something to do with the scrollbars IIRC. So, although safari is extremely close to compliance, only Opera actually passes.

    3. Re:Safari 2 by chasingporsches · · Score: 5, Informative

      you do remember correctly. actually, safari passed it long before opera did.

    4. Re:Safari 2 by mobby_6kl · · Score: 1

      >I believe Safari 2 is also compliant.

      But it's not compatible... with the computer.

    5. Re:Safari 2 by Anonymous Coward · · Score: 0

      According to a section near the bottom of this page which discusses the Acid2 test, the ability to scroll the page using the scrollbar was intentionally removed from the test, by applying overflow: hidden to the html element, as seen below:

      html { ... overflow: hidden; /* hides scrollbars on viewport, see 11.1.1:3 */ ... } (copied verbatim from the page linked above)

      While this is apparently open to interpretation, the comment associated with this particular parameter in the CSS seems to imply that removing the scrollbar was deliberate. Therefore, Safari 2 and Konqueror do pass the test, as does Opera 9 and a beta version of iCab.

    6. Re:Safari 2 by dcapel · · Score: 1

      Konqueror is, and has been for a while. Ditto with iCab.

      --
      DYWYPI?
    7. Re:Safari 2 by bahamat · · Score: 1

      Not only is Safari compliant, but it was first. Not to mention that Konquerer and iCab are also Acid 2 compliant, and were also before Opera.

    8. Re:Safari 2 by Anonymous Coward · · Score: 0

      AFAIK, part of the arguement of the non-passing was the fact that in some of those browsers you can still use either the mouse wheel or keyboard keys to scroll the page, even while the scroll bar was missing. This would then mean they didn't 100% pass the test.

    9. Re:Safari 2 by Anonymous Coward · · Score: 0

      Safari got SVG yet?

    10. Re:Safari 2 by Poltras · · Score: 1

      I just retested it, and either a last update in Safari did the trick or I'm not seeing what you mean. Everything is perfect, based on spec, in Safari 2.

    11. Re:Safari 2 by feijai · · Score: 1

      No scrollbars in Safari. But try making the window small and watch the face freak out.

    12. Re:Safari 2 by Anonymous Coward · · Score: 0

      Not only that, Dillo is also centered around being W3C compliant. www.dillo.org

    13. Re:Safari 2 by Lobais · · Score: 1

      If you see: http://www.howtocreate.co.uk/acid/ also firefox 2 and iCab 3 passes the test.
      Only IE lacks long behind. Looks like the other browsers did 3+ years ago.

    14. Re:Safari 2 by Phillup · · Score: 1
      Then they should change the comment to something like:
      hides scrollbars and disables scrolling on viewport, see 11.1.1:3
      Besides, since when did CSS control functionality?

      I thought it's entire purpose was presentation?
      --

      --Phillip

      Can you say BIRTH TAX
    15. Re:Safari 2 by Anonymous Coward · · Score: 0

      yep, in the nightlies. Came in this January.

    16. Re:Safari 2 by JulesLt · · Score: 1

      Strictly speaking, KHTML rather than Konqueror. All other WebKit based browsers like Shiira also benefit from the same codebase.

      (Does that mean the Nokia mobile browser passes?)

      --
      'Capitalists of the world, unite! Oh ... you have' (League Against Tedium)
    17. Re:Safari 2 by juancnuno · · Score: 1

      As is Konqueror.

  4. Because it's a good idea by GigsVT · · Score: 5, Insightful

    I validate every page.

    When you write a program, your compiler or interperter will tell you when you fuck up. When you write a website, your browser tries its best not to tell you when a page is fucked up.

    It's a supremely bad idea to rely on whether a browser can display your site to determine whether it is designed correctly or not. Even the next version of the same browser might do something unpredictably different with your tag soup.

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
    1. Re:Because it's a good idea by styrotech · · Score: 4, Insightful

      Agreed.

      Debugging valid code in semi-compliant browsers is still much better than debugging invalid code in semi-compliant browsers.

      If something doesn't look or work properly, the first thing you should do is test whether or not it is your code that is wrong. It gives you more certainty whether or not it is a browser bug you are dealing with, and how to research working around it.

    2. Re:Because it's a good idea by Anonymous Coward · · Score: 0

      I agree - my target audience is not a browser - it people who have to read the website, doesn't do my clients much good if my choice of technology or personal coding habits eliminates part of their potential market

    3. Re:Because it's a good idea by From+A+Far+Away+Land · · Score: 1

      It's a little offtopic, but it bugs me that Word Press blog software will pretend to generate W3C compliant HTML, but there are options all over the place to avoid it. Worse, there's the possibility of breaking the entire webpage, due to an auto-generated bad tag in a single entry. It would be nice if mainstream tools produced only standard code, and made it obvious when someone makes a "non-compliant" site.

      It would be very interesting to see how bland, or flashy a complaint site would be.

    4. Re:Because it's a good idea by BigCheese · · Score: 2, Interesting

      If you write to the standard instead of the bugs you can avoid a suprise when the bugs are fixed.

      Not that I expect IE rendering bugs to get fixed but a guy can dream can't he?

      --
      The obscure we see eventually. The completely obvious, it seems, takes longer. - Edward R. Murrow
    5. Re:Because it's a good idea by hobo+sapiens · · Score: 1

      Thank you.

      I am thoroughly amused when some idiot co-worker who makes a tag soup web page says "...Duh, it still works in <<insert crappy company standard browser with stupid blue E icon here>>, that's all I care about, duh..."

      It *doesn't* work.

      The browser manages to kludge it together to make it work in spite of the author's best efforts to the contrary. It's just as busted as a C program that won't compile.

      If you can't tell, I have experienced this before. You'd think people who do web dev professionally would take pride in their work so as to differentiate themselves from the 18 year old kid who haxx0rs together a web page for his school or something.

      --
      I am not an actor, but I play one on TV

      --
      blah blah blah
    6. Re:Because it's a good idea by rawg · · Score: 1

      I not only validate every page, I also make sure there are not Javascript or CSS errors on every page that I develop. I use Firebug, Tidy, and a bunch of other programs to make sure that I'm good. I pride myself on building correct and valid code.

      Why would any programmer settle for substandard code?

      --
      The above is not worth reading.
    7. Re:Because it's a good idea by Skapare · · Score: 1

      While validation is generally good, sometimes you do have to hack to get things right. Sometimes it is the fault of the browser (heaven knows IE is a biggie there). Sometimes it is just deficiencies in the standards. I don't know which it is, but the author's own web site has some things gone wrong. It validates strict, but the result isn't good. If there's a way to get the results right, but that requires being non-compliant to do it, then so be it.

      Here's how I get that site rendered in Firefox 1.5.0.3:

      1. The 7th top row menu link has spilled onto the next row. That's ugly. I wouldn't accept that as long as there is room to fit them on the row, and there is, even with the waste of space on the sides of the page.
      2. And yes, there is visual space waste on each site. That's perhaps just the style, but I've seen too many webmasters do it because they don't know how to make things fit better.
      3. The "Register A Domain" box has an input field leaking off to the right side. That's really ugly. That's not even acceptable.
      4. The featured site box has text leaking out the bottom. I don't think that's style. I think he just didn't code the box very well.
      5. The three boxes labeled "Web Designs", "Domains", and "Hosting" have a bit of ugliness on the bottom corners of those boxes. Intended presentation? I doubt it.

      If I have to make a non-standard hack to get things to work, I will, whether that's a defective browser or just deficient standards.

      --
      now we need to go OSS in diesel cars
    8. Re:Because it's a good idea by GigsVT · · Score: 1

      The site renders nothing like that in my copy of Firefox 1.5.0.3.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    9. Re:Because it's a good idea by dolphinling · · Score: 1

      Doesn't look like that for me either. For me it looks like this

      Oops, did I have my font size too high? Awww, I guess you'll just have to go back to school and learn how to design properly.

      --
      There are 11 types of people in the world: those who can count in binary, and those who can't.
    10. Re:Because it's a good idea by GigsVT · · Score: 1

      I didn't write it.

      The sites I write look fine with the font whatever size you want.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    11. Re:Because it's a good idea by Mayhem178 · · Score: 1

      And besides, there's a certain amount of integrity involved with compliance to a well-known standard, beyond the obvious benefits of tracking down possible bugs.

      I know that when I see a website that claims W3C compliance, be it Transitional or Strict (doesn't matter), I think to myself, now here's someone who takes pride in their work, that they would take the time to ensure compliance with a documented standard.

      From a developer's viewpoint, too, there's just something that feels nice about seeing "Page successfully validated! 0 Errors" on the W3C validation website.

      I'm working on a personal project right now in PHP (a web application for managing bowling leagues, for the interested), and I run the W3C validator page quite often. I'm writing for W3C Strict and thus far everything's going grand.

      --

      "You will pay for your lack of vision..." - Emperor Palpatine to Ray Charles

    12. Re:Because it's a good idea by Anonymous Coward · · Score: 0
  5. That all depends... by Spaceman40 · · Score: 2, Insightful

    If it's my own personal site, I want it compliant. Must be the OCD in my family, but I also feel like if you "compile" the site it should return with no errors.

    If it's for work, I'll get it done so it works in IE and Firefox. I'm not getting paid for adhering to the standards, and writing a standards-based site that will look right in freaking IE takes longer than it's worth.

    --
    I [may] disapprove of what you say, but I will defend to the death your right to say it.
    1. Re:That all depends... by kebes · · Score: 4, Insightful

      I believe your take on it is pretty typical. We all feel like we "should" compile the page to some gold-standard, but ultimately the most important thing (in the short term, at least) is getting the page to look right on the most-used browsers.

      I will add to this, however, that I use the W3C validator as a way to help fix bugs. Often if something is not showing up correctly in one particular browser, it can be fixed by addressing one of the errors that the validator picks up. I highly recomend checking all your pages. Even if they don't always pass, the errors will give you insight into how your page is being parsed.

      So in response to the original question "do you validate all your pages": I sure do! I check them all, and I fix any of the errors that are easy to fix. I also use it as an invaluable tool to get the page working in many browsers. Ultimately, however, if I have to depart from the W3C spec in order to get something looking right in an important browser, then I leave the errors in.

    2. Re:That all depends... by Sique · · Score: 4, Insightful

      Moreso, if I have a program generating HTML code, I want that code to be standard compliant. To me it's the easiest way to catch bugs in my code, because if I program it with compliance in mind, but the code gets warnings in the validator, I know there are bugs lurking around, even if the output seems to show up correctly in the browser. I even let generated code indent correctly, because this is another easy way to spot lines where your assumptions about what the code is doing are different from the actual behaviour.

      And if there is ever the problem of being not displayed correctly in different browsers: For me starting with W3C compliance and then tweak the stuff to show up correctly in different browsers is more easy than coding for one browser and try do adapt to others. With the W3C compliance you know how the code SHOULD look like, and you can spot the browser dependencies better, thus bug fixing gets more easy.

      --
      .sig: Sique *sigh*
    3. Re:That all depends... by soliptic · · Score: 2, Informative
      It's actually not as hard as many people make out to make a standards-compliant site that renders correctly in IE.

      First: this is assuming "correctly" is not defined as "pixel perfect", which was not and is not the point of the web. I concede that in many real world situations, the client expects a pixel perfect recreation of a PSD they give you, in which case you may run into problems. Things like the 3 pixel jog will screw you over. But if by correctly you just mean "looks exactly the same so long as you don't literally measure pixels", it rapidly gets easier.

      Broken box model? No problem. Just don't use padding, and use an extra internal div with margin instead. Yeah, the hardcore purists say will say "but that extra div isn't semantic". But... let's face it... your first div probably wasn't semantic, was it? Furthermore, what's better - one extra div, or an enormous maze of tables (the old school approach), or standards-busting deliberate CSS hackery (seemingly the preferred method of standards junkies, which always completely puzzled me. Let's just say I'm slightly smug now they're all sh*tting themselves trying to fix their deliberate CSS hacks in advance of IE7).

      I think one extra div is no small price to pay and voila, box model is sorted.

      I'd say there are pretty easy, non-standards-breaking workarounds for most of IE's quirks. If you MUST use alpha transparent PNGs then you'll be stuck. But if you're not bound by a designers' PSD it's not actually as bad as all that.

    4. Re:That all depends... by Irish_Samurai · · Score: 1

      But... let's face it... your first div probably wasn't semantic, was it?

      I thought we all IDed our container div "Put the shit in here" as a matter of practice.

    5. Re:That all depends... by Spaceman40 · · Score: 1

      What about if you want a table where the body scrolls independently of the header (which is fixed)? If this table is large (say, 600 rows or so), the only way to do it without huge drops in speed is by making two tables and doing a bunch of hacks to align the columns correctly.

      In good browsers that follow the standards, there are several ways of fixing the thead and scrolling the tbody, each of which is nice and clean and fast.

      If you know how to do this nicely (no Javascript, my table's too big) in IE, let me know.

      --
      I [may] disapprove of what you say, but I will defend to the death your right to say it.
    6. Re:That all depends... by Firehed · · Score: 1
      And there's the idea that browsers are all working towards rendering pages identically. While OSs may vary hugely in interface, websites are supposed to be identical across the board (like Java VM, I suppose).

      I code in the same way as you - get it to standards then tweak accordingly. As it is, I have to code by browser- my blog is W3C compliant (well, was until I added a google ad...) and works perfectly in Firefox, but IE outright molests it. You win some, you lose some, I suppose, but FF is my weapon of choice so it's what I code to at least with personal stuff (I just checked in Safari, which renders the page correctly as well).

      --
      How are sites slashdotted when nobody reads TFAs?
    7. Re:That all depends... by soliptic · · Score: 1
      I'm afraid I haven't tried :)

      Don't get me wrong, I wasn't trying to say there's always a way, just that for most common-or-garden websites, it's not as hard as often suggested.

      IE standards support blows hard, there's no doubt about that. But if you (can) avoid esoteric stuff you can usually coax it into rendering a fairly close approximation of what a real browser renders.

    8. Re:That all depends... by Spaceman40 · · Score: 1

      Don't get me wrong, I wasn't trying to say there's always a way, just that for most common-or-garden websites, it's not as hard as often suggested.

      Absolutely. Sorry if I came off a bit harsh back there - I had to do that for work, and it was a beast. (legacy app with multiple embedded frames. it's ugly as all else)

      That's the thing, too - good designers (like this guy, for instance) who actually know a little about the language you're designing to are wonderful. If you are taking design advice (read: orders) from a client who doesn't understand the underlying language yet still wants it pixel-perfect, get ready for mind-bending hacks.

      --
      I [may] disapprove of what you say, but I will defend to the death your right to say it.
    9. Re:That all depends... by colmore · · Score: 1

      a trick of mine:

      I put the comment ==CH== next to any compatibility hack (not just in HTML, this goes for any cross-platform coding) so when things change, a simple vim command can find everything that needs to be checked out. Really helps when you've got hundreds of documents to keep track of.

      --
      In Capitalist America, bank robs you!
  6. Depends. by Spy+der+Mann · · Score: 1

    Websites? Mostly. Intranets? Screw it.

  7. Standards by grazzy · · Score: 4, Insightful

    A standard compliant website more or less guarantees that your website will work atleast decently now, tomorrow and in the far future. A non-standard with hacks might just aswell not render at all in 4 years.

    I'm not religious about it, but I try to make it as compliant as possible as I go, run your pages thru the validator a couple of times and you'll pick up your errors quite quickly.

    Nowadays, about 60-70% of my pages validates automaticlly on the first try.

    1. Re:Standards by LLuthor · · Score: 1

      For personal sites, I always go with the standard, and check everything including CSS and Javascript, and make sure that it degrades properly on lynx and alike.

      But for sites I am being paid for, it is just too time consuming to be both W3C compliant and work in IE. Thus, unless I am specifically paid to do so, my pages will be tested on the major browsers and if they work perfectly across IE, Moz, Opera, Safari, and so on, damn the standard.

      --
      LL
    2. Re:Standards by neoform · · Score: 3, Insightful

      Not only that, but it means that anyone else who takes control of the site and works on it will have a much easier time reading and understanding the code.

      --
      MABASPLOOM!
    3. Re:Standards by ClosedSource · · Score: 4, Insightful

      "A standard compliant website more or less guarantees that your website will work atleast decently now, tomorrow and in the far future."

      Sure, until a new non-compliant standard comes along or the big players have an economic motive to break it. There are no guarantees on the future of technology or future technology markets.

    4. Re:Standards by grazzy · · Score: 1

      If you have defined your standard there's really no reason a company would show to not display it except out of pure malice. I dont see why.

      If the web goes on to XHTML++ that's not even built upon a xml/sgml-like language, a "browser" would still be able to parse a XHTML-page if it was defined as such and built with standards. Just fallback to the old standard.

    5. Re:Standards by sjwest · · Score: 1

      Our transitional xhtml site can blow up old ie on the odd occasion so not our problem, we have one 'strict' page - the xhtml strict standard is a bit a pain with removal of target,border,language (use type instead) and limited iframe tags in places, but our site renders ok in a mobile phone (not wml) and looks the same in most browsers.

      Its a good way to go. As to 'strict xhtml'. You've got to be in the mood for it (i dont write html much). Sticking with transitional for now - we will worry about how to deal with iframes in the future.

    6. Re:Standards by Blakey+Rat · · Score: 1

      The validator makes idiotic suggestions. For instance, missing alt tags... you can have a BLANK alt tag, but you can't just leave it out altogether. I ignore stuff like that. (Other than bloating the file unnecessarily, I don't see the point of adding an alt tag just to keep it blank.)

    7. Re:Standards by Khaed · · Score: 1

      Ditto. And most of my errors are a missed tag or quotation mark that would screw up the page anyway -- that reason alone is a good reason to run it through a validator. You can open the page and tell if a tag is screwed up, but a validator will tell you where.

    8. Re:Standards by Anonymous Coward · · Score: 0

      Irrelevant. A web site is outdated the moment it is published. Compatibility is unnecessary. With HTML + CSS + Javascript all being ugly hacks to begin with, it's amazing web pages render at all. The whole browser model needs a serious overhaul anyway.

    9. Re:Standards by NutscrapeSucks · · Score: 1

      If there's no ALT tag, Lynx shows "[IMAGE]" which is probably not what you want for a spacer. That's more of a browser-reason than a spec-reason however.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    10. Re:Standards by Xugumad · · Score: 1

      > Nowadays, about 60-70% of my pages validates automaticlly on the first try.

      Exactly what I was going to say; validating pages as you go will really help you learn to avoid problems. Writing your pages in XHTML (and then serving them with the correct MIME type, application/xml+html ) is a helpful step, as it causes Firefox and Safari (possibly also Opera) to actually spit out errors if your page is mangled! It's not perfect; you need to be able to serve them as text/html for IE, but it's what we do with our webapps, and it seems to help...

    11. Re:Standards by Xugumad · · Score: 2, Informative

      Specifying an alt tag of "" explicitely indicates the image has no content. Not including that alt tag could mean it has no content, or you just didn't think about it; as someone pointed out, Lynx specifically renders it is [IMAGE].

      And seriously, is alt="" that much bloat?

      Oh, it's also not the validator's fault, it is part of the HTML 4.01 standard. Argue with the W3C if you don't like it.

    12. Re:Standards by Blakey+Rat · · Score: 1

      The 0.0000001% of the people viewing my page in Lynx will just have to cope. Call me a jerk if you want, but I already test in IE, Firefox and Safari... I'm sure as hell not going to test in Lynx.

    13. Re:Standards by Xugumad · · Score: 1

      I want you to imagine your boss comes to you and says "Why doesn't our site work on IE 12: Soul sucking edition?". Consider the following two answers:

      "Well, we hadn't tested it on IE 12, so have no idea where it would break."
      "Well, our site complies to the relevant standards, however IE 12 delibrately breaks them."

      Neither's good, but y'know, I think they're going to like the second one more...

    14. Re:Standards by Xugumad · · Score: 1

      In particular, if the browser has to second-guess what the page means, so will a human. In some cases, I've seen web pages where I couldn't fix the HTML directly, I had to look at what rendered in IE, and rewrite the HTML based on that. Not good...

    15. Re:Standards by Anonymous Coward · · Score: 0

      Ever use lynx? It makes a difference.

    16. Re:Standards by rabbit994 · · Score: 1

      And they will follow the up 2 with 1 "Why didn't you test it?" and then 3, "Fix the problem, standards be damn, most of the world runs on IE 12."

    17. Re:Standards by rabbit994 · · Score: 1

      Not to mention most screen readers for the handcapped rely on that ALT to describe the image on the screen.

    18. Re:Standards by Schraegstrichpunkt · · Score: 1
      I'm sure as hell not going to test in Lynx.

      You are if you need blind people to be able to read your website, you insensitive clod!

    19. Re:Standards by bunratty · · Score: 1

      Uh, because we can only test on IE 7 now? In general, if you write tag soup that happens to work in IE X, it might well break in IE X+1, especially if Microsoft continues to make IE more standards compliant. However, if your site adheres to the standards, and in addition works in IE X and standards-compilant browsers without resorting to hacks and browser sniffing, it will be very unlikely to break in IE X+1.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    20. Re:Standards by NutscrapeSucks · · Score: 1

      Supposedly, the vast majority of blind surfers use some form of Internet Explorer plugin. Lynx is just an old obsolete HTML2 browser -- it wasn't designed to be an accessibility tool and shouldn't be treated as the standard for such.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    21. Re:Standards by Anonymous Coward · · Score: 0

      Nowadays, about 60-70% of my pages validates automaticlly on the first try.

      Shame your homepage doesn't ...

      http://validator.w3.org/check?uri=http%3A%2F%2Fwww .mjoelkbar.net%2F

    22. Re:Standards by LordLucless · · Score: 1

      A standard compliant website more or less guarantees that your website will work atleast decently now, tomorrow and in the far future. A non-standard with hacks might just aswell not render at all in 4 years.

      True, I suppose, except that limiting your site to standards that are properly implemented across all (or even the major) browsers can significantly limit the flexibility of your design.

      I doubt many of my pages validate, because I often use the underscore hack to write CSS that renders correctly on both IE and Mozilla. (IE parses _width as if it were width, so if you use "width: 40px; _width: 50px;" you get 40px on proper browsers and 50px on IE.

      However, when I'm developing, I write firstly to the spec, check it renders correctly in browser that is close to the standards (firefox,opera), validate it, and when it validates, I go about adding hacks to make IE render it correctly.

      I do care about standards, but not as much as I do about my website actually working properly. Pragmatism first, idealism second.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    23. Re:Standards by juergen · · Score: 1

      That's the whole point: *test to the standard* then you don't have to test for *every browser*.

      Maybe you have to tweak for the main browsers weaknesses afterwards, although safari, opera should work flawlessly already. So you would test for standards compliance, IE and FF, just 3 targets either with a more valuable result.

    24. Re:Standards by Schraegstrichpunkt · · Score: 1

      Well, "supposedly", the only blind person I know uses Lynx with a Braille terminal, hence the comment.

    25. Re:Standards by ClosedSource · · Score: 1

      If compatibility with IE 12 was a requirement, I'd say "sorry we'll fix it". If it's not a requirement I'd say politely "compatiblity with IE 12 is not a requirement, should we alter the requirements document to include it?"

      Since bosses don't have any control over the browser vendors, but they do over you, it's your problem by defintion.

    26. Re:Standards by ClosedSource · · Score: 1

      Will we even be using browsers in 10 years? I don't know. People can always use legacy software for legacy content, there are good reasons not to lug around ancient history.

    27. Re:Standards by DerekLyons · · Score: 2, Insightful
      A standard compliant website more or less guarantees that your website will work atleast decently now, tomorrow and in the far future.
      Sure - as long as those far future browsers can render any tags that you've used, that have been deprecated between the time you wrote the page and the browser was coded.
    28. Re:Standards by Bogtha · · Score: 1

      For instance, missing alt tags... you can have a BLANK alt tag, but you can't just leave it out altogether.

      That's right, and perfectly sensible. Absence of knowledge is not the same as knowledge of absence. In one case you are saying "I am not providing an alternative textual representation of this image" and in the other case you are saying "I am providing an alternative textual representation of this image, and it is the empty string". In the former case, the user-agent needs to generate its own alternative; in the latter case, it can ignore the image altogether.

      I ignore stuff like that. (Other than bloating the file unnecessarily, I don't see the point of adding an alt tag just to keep it blank.)

      When you are checking your work for errors, it's a lot easier to spot a single error that means a difference between a big green "valid" and a big red "invalid" than it is to spot the difference between a big red "invalid" with a hundred errors and a big red "invalid" with a hundred and one errors.

      Furthermore, if you have thousands of pages and a spider to check each one for errors, it's a lot easier to get a single email from it on the day an error crops up than it is to read thousands of emails every day all telling you about errors that you think are okay.

      --
      Bogtha Bogtha Bogtha
    29. Re:Standards by Anonymous Coward · · Score: 0

      A non-standard with hacks might just aswell not render at all in 4 years

      "Might" is the operative word here. Meanwhile, in the real world, Firefox, IE, and any other modern browser will render those old dot-com-era web sites just fine. They will also render without problem any of those obnoxious web sites designed in the late 1990s. You know, the ones with a lot of visible tables and the loud background texture. Many of those sites do have useful content, and any browser maker would be very foolish to break millions of web pages.

      The "If you don't follow standards, your web page will break" line is pure bollocks. People in the real world design for real-world web browsers, not some document which is a wishlist, not a reflection of reality.

    30. Re:Standards by TheRaven64 · · Score: 1
      Here's another thought. If you write your site so it works in IE, then you have 80%[1] of the potential market. If the IE market share slips another 5%, then you immediately lose 5% of your customer base due to factors beyond your control. Do you really want to leave something this important to your business out of your control?


      [1] Note, these numbers are made up for illustrative purposes.

      --
      I am TheRaven on Soylent News
    31. Re:Standards by TheRaven64 · · Score: 1
      Argue with the W3C if you don't like it.

      This week, I have been writing a parser for a small subset of CSS and XHTML, and I would really like to argue with the W3C. Here's a little example, from CSS:

      How many ways do you think you need of representing the colour red? I would say one, and at most three; one using integers, one using floats (not relevant yet, but potentially useful), and one by name (although this fails internationalisation, and so is probably not a good idea). How many ways are there? Lets count them:

      1. red
      2. #f00
      3. #ff0000
      4. rgb(100%,0%,0%)
      5. rgb(255,0,0)
      That's right, five different ways of representing the same colour (well, technically the first can map to any kind of red). The CSS spec is completely full of things like this. There are many, many different ways of doing exactly the same thing, which makes it an enormous pain to parse. Then you get onto the fact that the W3C's definition of font terminology differs ever so slightly from standard PostScript font terms used everywhere else, and you end up with a really horrible standard.

      I now have a new respect for browser developers. Getting CSS right is very, very hard. The W3C has a reference implementation, a it lacks support for many new features. I would love it if they would adopt a policy of not releasing any new specs (as final approved forms, drafts are okay) until they have been implemented in Amaya. If something takes too long to implement, then it's probably not going to ever be supported, so drop it from the spec. If, while implementing it, you discover that it is difficult, then consider simpler approaches.

      --
      I am TheRaven on Soylent News
    32. Re:Standards by ClosedSource · · Score: 1

      So you ignore today's 80% market in favor of the 20% market just in case the 80% drops to 75%?

  8. I do by gEvil+(beta) · · Score: 2, Insightful

    I do. However, neither my employer nor the guy who has a long-term contract to develop our website have any idea what web standards are. For them, if it works in IE then it's "standards compliant." Thankfully I've been making progress (in teensy tiny little chunks) with my boss over the past two years...

    --
    This guy's the limit!
  9. I care by Anonymous Coward · · Score: 5, Insightful

    Because the W3C validator doubles as a good error-checker. If the W3C validator rejects my page, then chances are I will have display problems of some sort on some browser I haven't tested yet.

    Unfortunately the contrapositive is not true, if the W3C validator accepts my page then there is no guarantee I will avoid display problems. But it's a good first step.

    1. Re:I care by msuarezalvarez · · Score: 1

      You may want to read up on what the contrapositive of an implication is (hint: it is always equivalent to the original implication). What you had in mind is the converse.

      I'd point you to Wikipedia, but the Contrapositive entry is quite cryptic. :-(

  10. Safari passes Acid2 by Pendersempai · · Score: 0, Redundant

    For what it's worth, I just ran the Acid2 test through Safari and it passed.

  11. A constant argument by Kithraya · · Score: 2, Interesting

    This very topic is the source of a constant argument between me and my boss. I work to make our product adhere to the standard, even if it means leaving out some nifty interface tweak. My boss wants me to *strive* for IE-only.

    1. Re:A constant argument by rufty_tufty · · Score: 1

      For my own interest, why does you boss what IE only? What's there to gain from this?

      --
      "The weirdest thing about a mind, is that every answer that you find, is the basis of a brand new cliche" -
    2. Re:A constant argument by xs650 · · Score: 1

      Say hello to Bill for me.

    3. Re:A constant argument by westlake · · Score: 1
      why does you boss want IE only? What's there to gain from this?

      IE may still be the browser of choice for his target audience and that is where he needs to spend his time and money.

    4. Re:A constant argument by ClosedSource · · Score: 1

      The difference between business and a hobbie is that in a business you do what is best for the customer regardless of your personal preferences or the preferences of a standards body. Even if you know that following the standards will be best for your customer in the long term, it doesn't matter. You have to give them what they want today and worry about tomorrow tomorrow.

    5. Re:A constant argument by Cobralisk · · Score: 1

      I want the mains wiring in my house to be 18awg copper to save materials cost. Will you install it for me? Or will you at least present the reasons why this is a bad idea? If you put your name to a product your reputation will be reflected in the quality of the product down the road as well as today, not in what the customer asked for originally. It is your own long-term self interest that dictates the steps you should take and the concessions you are willing to make in producing something. This trade-off, quality vs. immediate cash-flow, is something that separates short-lived businesses and successful ones, and a reasonable balance must be reached. Pay the bills, but don't sell your soul.

      --
      Waiting for ad.doubleclick.net...
    6. Re:A constant argument by Kithraya · · Score: 1

      There are a few minor differences between IE and Firefox when it comes to alignment, stretching elements, and what each considers 100% of "an element's container". In some cases, the problem is clearly IE (because Firefox and others all render the same way (and correctly). My boss believes that all of our customers will either be using IE by default, or will at least have access to IE and can be told to use it with our application.

      That's clearly not a view I share. But nobody really cares what I think.

    7. Re:A constant argument by Kithraya · · Score: 1

      Unfortunately, I *know* that standards are the right answer for our customer. One of the early guidelines for our project was to develop it in .NET, but only to the extent that it could also be compiled and run with Mono. The reason what that some of the organizations we were targeting with our application were non-Microsoft shops.

      This drive to make everything work with IE and forget everything else in no way stems from what's best for the customer. It stems from my boss refusing to use anything except IE and wanting the app to look pretty on *her* screen.

    8. Re:A constant argument by Anonymous Coward · · Score: 1, Insightful

      Congratulations. You're spending your life slaving away to make a moron rich.

    9. Re:A constant argument by ClosedSource · · Score: 1

      OK, so in your particular case keeping the customer happy is not the motivation. In that case, you have to decide the importance of keeping your boss happy. It's very common that doing what's right for your company and doing what your boss wants are different things. Usually doing the latter is more effective in keeping your job than the former.

    10. Re:A constant argument by ClosedSource · · Score: 1

      Sure, they are cases where you can't do what the customer wants because it would be unethical, illegal, or dangerous. However, nobody ever died because there were minor rendering flaws in a browser.

    11. Re:A constant argument by rufty_tufty · · Score: 1

      I know i try and educate people that it is possible to make any website that works in all browsers - so therefore to do no buisness with one that doesn't make a website work with anything other than IE. Either that website designer/specifier is lazy, ignorant, or arrogant - one way or the other, not someone anyone should want to do buisness with.

      Not that I'm saying it's your fault, (in this case) it just sounds like bad practice - like buisnesses who don't consider accesibility needs.
      After all the disabled are only 5% of the market share, so screw them if they can't use our product :-)

      And i also got the impression that your boss preferred it if it was IE only - i.e. put in extra effort to exclude other browsers

      --
      "The weirdest thing about a mind, is that every answer that you find, is the basis of a brand new cliche" -
    12. Re:A constant argument by Anonymous Coward · · Score: 0

      CSS filters are your friend (in my myspace profile, I used filters to the point where the IE design and the non-IE design are separate designs).
      Get it to look good in Firefox--and work around IE's bugs.

    13. Re:A constant argument by StarkRG · · Score: 1

      I don't get that... why would someone want to *strive* to eliminate potential customers? Who cares if your page doesn't have some odd pointless feature if 100% of the people who arrive at your page can get most of the information? Personally I find websites that rely on way too much javascript to be annoying (except in (wait for it) AJAX applications, such as google maps. I don't want my computer spending too many cycles on having snowflakes fall down your page.

      On a related note, anyone who uses Flash for much more than animations and self-contained applications should be shot. I once discovered a news site that used flash for everything. It's a NEWS site, where you read TEXT and click buttons. The only reason I could see for doing it that way is that they had some odd animated shadow moving around behind everything. I could probably have designed that exact page in XHTML, Javascript, and CSS in less time than it took them to write the flash file. The only thing I'd be missing would be audio (clicks and such), and really, who the hell cares?

      Anyway, I suppose I am not the average consumer, I find simplicity to be quite nice, my site is XHTML 1.1 and CSS compliant (last time I checked, a few weeks ago). The only images are ones which are the subject (no image buttons, no background image, no spacing images, no border images), mostly photos.

  12. There's more than one reason to be compliant... by nacs · · Score: 2, Insightful

    When I design and code a site, I do it by hand (usually vim or kate) and when I'm done, I always run it through the W3C validator to make sure I didn't leave out a closing or some syntactical error somewhere.

    Some people are obsessive about being W3C compliant and do it pretty much just so they can 'show off' the w3c comliant badge. I do it to make sure I didn't make any coding mistakes.

    This validation happens to have the nice side effect of making a site render correctly in most decent browsers.

    --
    "I filter at +6, and have yet to miss out on an important comment." (#822545)
    1. Re:There's more than one reason to be compliant... by pete-classic · · Score: 2, Funny
      I always run it through the W3C validator to make sure I didn't leave out a closing [sic]
      or some syntactical error somewhere.


      "Preview" is the Slashdot equivalent to the W3C validator.

      -Peter
  13. ABSOLUTELY! by scronline · · Score: 3, Insightful

    As long as every browser shows it properly. There are quite a few times that being W3C compliant doesn't display properly in every browser (Hello Microsoft, you reading this? Please pay attention as there will be a quiz on this later).

    Overall, I don't think W3C is the end all of web design, however. Even firefox was having a hard time rendering the W3C test page properly. However it does help make sure everything works, and then you can hack the code to fix bugs for broken (ie) browsers. The closer you can be to W3C the better you are over all for long term.

    1. Re:ABSOLUTELY! by hobo+sapiens · · Score: 1

      Yes, validation is not the end of matters, though ideally it should be.

      I do find, however, that once you get in the habit of using standards you have a better understanding of what works and what doesn't. Since I started using web standards several years ago, I have developed a much better understanding of what works with which browsers and how to code my pages so that they will work in all browsers, within reason.

      I guess I mean to say that using standards, at the very least, indirectly makes one more aware of proper cross browser technique. Or maybe that's just my singular experience.

      --
      blah blah blah
    2. Re:ABSOLUTELY! by sobeks_eye · · Score: 1
      scronline, you are a complete waste.

      Hello Microsoft, you reading this?

      Of course not. Whine, and don't define what you want, key indicators of your Americanism.

      Overall, I don't think W3C is the end all of web design, however.

      That was a beautifully misconstructed sentence. It made me cry.

      Why not put a little thought into your posts? It almost sounded like you had something useful to say, that your post wasn't a veiled advertisement for your company meant to look like part of a discussion.

      Here's what I want: I want you and your ilk to go away and stop wasting space on Slashdot. Find another marketing gimmick.

    3. Re:ABSOLUTELY! by harvardslacker · · Score: 1

      Validation not only is not the be-all-end-all, but it also shouldn't be. I say this as someone who strongly supports validating one's web sites. The reason I say this is because validators can only test so much, and so while they might be a useful starting point and/or test along the way, they cannot test everything. Even if something is technically valid, that does not mean that it accomplishes all of the goals of validation, such as being accessible regardless of the user's browser, disability, operating system, etc.

      Check out Roger Johansson's series on evaluating web site accessibility for more on this.

      Greg
      ---
      http://www.gregwestin.com/
    4. Re:ABSOLUTELY! by hobo+sapiens · · Score: 1

      Yeah, I guess what I meant was that ideally browsers would all support standards perfectly and if the markup validated the code would work everywhere. That's what I meant by stating that validation _should_ be enough. Validation and testing are two different things, obviously, since markup is not all there is to a web site/app. And accessibility is kind of its own thing. I was talking terms of the markup rendering correctly.

      Anyhow, back to reality, where nothing is ideal.

      --
      blah blah blah
    5. Re:ABSOLUTELY! by iBod · · Score: 1

      So, tell me sobeks_eye, why am I on your 'foes' list exactly?

      Is it because I hate crocodiles? or because you're a delusional crack-head?

    6. Re:ABSOLUTELY! by sobeks_eye · · Score: 1
      Most likely it was a whim.

      I use the foes list to filter out comments I don't care to read, rather than an indicator of people I like or don't like. I don't have any idea who you are, nor do I dislike you, but your writing style doesn't entertain me enough, and my goal for reading Slashdot is entertainment.

      For example, here are some things I don't like about your above comment, that would probably motivate me to put you on my foes list if you weren't already there:

      • Putting foes in single-quotes
      • Not capitalising the first word of a sentence
      • Being completely off-topic
      • Hate speak (delusional crack-head)
      • Not being sportsmanlike

      This last item bears some explanation: You imply an insult in my placing you on my foes list, and then proceed to child-like name calling instead of either asking for redress or simply stating that you don't feel my action was warranted.

      On the other hand, you took the time to look up Sobek, or maybe your memory of the Fiend-Folio is still sharp for whatever reason. So obviously you aren't an all-around bad guy, and hence I don't consider you a personal foe. But I still have no interest in reading your slashdot posts, they just don't do it for me.

  14. The Java Standard of Web Development... by __aaclcg7560 · · Score: 1, Flamebait

    Write once, test everywhere.

  15. Oh, Irony... by werewolf1031 · · Score: 3, Funny

    The article's webpage breaks if you change the text size in your browser.

    Ok, so maybe not so much "ironic", but considering the topic, that is pretty damned funny... or sad, depending on your perspective.

    1. Re:Oh, Irony... by Ant+P. · · Score: 1

      It also breaks if your default font isn't Arial.

    2. Re:Oh, Irony... by kebes · · Score: 5, Insightful

      More specifically, if you run the article page through the validator it fails with 60 errors. The truth is that the vast majority of pages out there will fail. It's a catch-22: as long as browsers are not compliant, web-pages won't be compliant... and as long as web-pages are not compliant, what's the point in standards-compliant browsers?

    3. Re:Oh, Irony... by Anonymous Coward · · Score: 0

      A point that is frequently overlooked is that browsers are supposed to be forgiving of html errors, coders are supposed to be strict about them. Clean code is always easier to maintain. True, even if you write clean code there is no guarantee that all browsers will display it correctly, but there is a better chance that they will, and at least you can be sure that in trying to make your pages work as intended you are fighting only the browsers and not your own sloppiness.

      Another standard that has been ignored in this discussion is the WAI (web accessibility) standard. In many countries, including the USA and Australia, this is a legal requirement. Following the standard puts a little more work on the page author, but it has the secondary effect of making reading the raw html rather easier - apart from making the page renderable by audio and other non-visual browsers.

  16. No, Konqueror's good by bssteph · · Score: 2

    The latest release of Konqueror (3.5.2) does not incorrectly show scrollbars, so it "actually" passes.

    1. Re:No, Konqueror's good by TheDreadSlashdotterD · · Score: 1

      The latest release of Konqueror (3.5.2) does not incorrectly show scrollbars, so it "actually" passes.

      Could you please say that Konqueror 3.5.2 no longer shows the scrollbar that prevented it from passing the Acid2 test? Double negatives confuse us all.

      --
      I have nothing to say.
    2. Re:No, Konqueror's good by realnowhereman · · Score: 1

      No they don't.

      --
      Carpe Daemon
    3. Re:No, Konqueror's good by TheDreadSlashdotterD · · Score: 1

      Touche

      --
      I have nothing to say.
  17. It doesn't hurt by just_another_sean · · Score: 1

    Despite the lack of support you get for all the w3c standards I find it is a good place to start to check your work.

    Using the validator checks your syntax while it checks compliance. Once you have error free markup you can decide from there if changing your content to comply with some standard is worth it. For simple things it usually won't make a difference in most browsers. And if some tricky bit of markup that makes your page look just right in IE or whatever your target browser is and it's not compliant it's probably not a big deal.

    For the most part though I find if I write to the standards first and make exceptions only when absolutely necessary my pages will look good in just about any browser. But maybe that's just me, I am also not a fan of using flash, heavy javascript or just about anything else other then html and css.

    --
    Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
  18. Compliance... to an extent by Foofoobar · · Score: 1

    I know that my code isn't compliant with XHTML standards and I'm sure I do things which ARE NOT standardized but often help with cross browser issues.

    As such, 90% compliance should be achieved by all code. People who code to a non-standard better be ok with Firefox and Safari users bitching all the time.

    I myself prefer Firefox so by coding to Firefox, I can pretty much gurantee a high level of compliance and cross browser compatibility.

    All in all, I stress cross browser compatibility above w3C compliance. But often the two are the same.

    --
    This is my sig. There are many like it but this one is mine.
  19. Test then Hack by rueger · · Score: 2, Insightful

    I suspect that most people write for their favorite browser, then test with alternatives and hack the code to make it work.

    Pretty poor practice, but likely the norm.

    I'm overseeing a web site redesign right now for client whose members are largely Mac users.

    The coding crew hired by the designers are working with Internet Explorer though, so nearly every feature and many design choices need to be fixed so that the site will work for our Safari users. Or even non-current versions of Safari.

    We specified from the beginning that everything on the site be platform and browser neutral, and are becoming somewhat unpopular for continually saying "But it doesn't work in Safari..."

    Ulitmately what is needed is for clients of web design firms to demand that all work be compatible with at least Safari, IE, Mozilla, and Opera. Only then will designers create sites that are cross compatible from the beginning, instead of "fixing" thinsgs after the fact.

  20. No and Yes. by savala · · Score: 2, Interesting

    No, I don't care. The validator is a mechanical tool. It's inherently flawed, understanding nothing of semantics, easily tricked into validating things which never should validate, and in a number of cases throwing incorrect warnings and errors. Having your website validate is a first step. A guideline to doing things the right way. It's not completely necessary. The <canvas> element (as specified by the WHATWG, and implemented by Opera, Mozilla/Firefox/SeaMonkey and Safari (I'm reasonably certain)) will cause errors to be thrown, yet one can imagine cases where its use is already perfectly acceptable. (Just as long as you don't use it on a client website, or at least not without full understanding of the implications by the people there of using something which can change out from under them at any moment, and their responsibility to track those changes.)

    Yes, I care. I'm a professional web developer. Of course my website validates, besides also being completely accessible and being as semantically meaningful as it can possibly be. It's just a little showcase of my technical expertise. And yes, I care, as in: if you as a fledging web developer come to me on IRC or on some mailinglist for help with your website, you'd better be damned certain that your website validates before bothering with me, as I'm not going to spend any time on what would otherwise almost certainly turn out to be a problem caused by your invalid code.

    Those two points made: wow, what's with the harping on ACID 2? Yes, it's a nice test to spur browser makers on to come closer to being perfectly interoperable, but it tests a pretty arbitrary range of rendering bugs, and all browsers save for IE are pretty much interoperale on it at this point. (Firefox only on the reflow branch, to be sure, but that's set to land Real Soon Now, and as has been explained often, ACID 2 came at the worst possible time in the Mozilla development cycle.

    1. Re:No and Yes. by tepples · · Score: 1

      you'd better be damned certain that your website validates before bothering with me, as I'm not going to spend any time on what would otherwise almost certainly turn out to be a problem caused by your invalid code.

      OK, so what happens when somebody asks you "I get this and this and this error; how do I modify my page to make it validate?" What good is it to declare yourself closed to such questions? And what happens when it turns out that the web server is modifying the page on its way to the W3C's validator?

  21. I try for both by Seta · · Score: 1

    I try to both be standards compliant, and work on all browsers as well. I do sites for myself and friends in XHTML + CSS and so far my biggest challenge has been making things work correctly in all browsers, and still maintaining compliance since every browser has varying levels of compliance. So far i've been victorious, however one thing I can say about standards compliance, is that the current browser wars always have some tidbit about somebody being more compliant than somebody else. At least by using compliant code while still coding to browsers as well, I can be sure that while qwirks are worked out of the browsers, my sites will at least still look correct with the least maintainance. I've been happy with the results so far, so I have no reason to complain.

  22. It's all about standards by jbrax · · Score: 1

    Standards? That's what web is about isn't it? We need interoperability, and the best way to achieve it is by standards. And it's not too difficult to make you're sites validate. Then add the necessary workarounds for IE and other "not quite there yet" -browsers and you will end up having a decent site.

  23. do i care? by bitkari · · Score: 5, Funny

    nope.

    1. Re:do i care? by Ant+P. · · Score: 2, Informative

      I hate to point this out, but *both* of those are in the current CSS3 draft.

    2. Re:do i care? by DeafByBeheading · · Score: 1

      Yeah, but I'm sure the tag will be deprecated as soon as the server-side blink tag takes off.

      --
      Telltale Games: Bone, Sam and Max
    3. Re:do i care? by Ithika · · Score: 1

      I think it would have been even funnier if you'd said:

      <marquee> <blink> Nope. </marquee> </blink>

      You know, for that proper nested-tag non-compliance.

    4. Re:do i care? by TheSpoom · · Score: 1

      As styles they are, as tags they aren't in XHTML.

      </standards-nazi>

      (Yes, I know that's not a tag.)

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    5. Re:do i care? by TheoMurpse · · Score: 1

      I hate to point this out, but *both* of those are in the current CSS3 draft.
      So instead, wouldn't it be
      --CSS--
      #annoyingshit {
            marquee: horizontal;
            display: blink;
      }

      --HTML--
      <div id="annoyingshit">nope.</div>

    6. Re:do i care? by Kirth · · Score: 1

      This one is even better:
      <marquee><blink> nope. </marquee></blink>

      --
      "The more prohibitions there are, The poorer the people will be" -- Lao Tse
  24. Acid2 is NOT A "Complaince" Test by mattdev121 · · Score: 3, Informative

    What people need to stop doing is comparing how a browser renders the Acid2 test to its compliance with web standards. If you bother to read the Acid2 page, you'll see that its purpose is to see how a browser renders INCORRECT code.
    To me, compliance is very important. Not only can you be sure that it will render properly in every proper, compliant browser, but it will also be easy to add on to and change stuff.
    Besides, as long as you aren't trying to jump through IE css-fix hoops, compliance is usually as easy as encasing all of your variables with quotes.

    --
    mattdev@server$ touch /dev/genitals
    cannot touch `/dev/genitals': Permission denied
    1. Re:Acid2 is NOT A "Complaince" Test by Bogtha · · Score: 5, Informative

      If you bother to read the Acid2 page, you'll see that its purpose is to see how a browser renders INCORRECT code.

      Have you actually bothered to read the Acid2 page? Because I hear this repeated all the time, and it's downright misleading.

      There is a checklist of about a dozen things the Acid2 page tests. Incorrect code is just one of them. It is necessary to include incorrect code in a test like this. How else are you going to check whether a browser follows the CSS error handling rules?

      It's incorrect code, sure, but it's incorrect code that has a defined rendering according to the CSS specifications. It's not something a compliant browser would trip up on. There is a correct way to parse the incorrect code, and the Acid2 page tests to see if a browser parses it correctly - among many other things it tests for.

      Where are you guys getting this idea that the Acid2 test is all about error handling? It's a very small part of the test, but plenty of Slashdotters seem convinced that the test revolves around broken code and nothing else. Was there a weekly meeting I missed wher eyou all got this myth drilled into your heads?

      --
      Bogtha Bogtha Bogtha
    2. Re:Acid2 is NOT A "Complaince" Test by WilliamSChips · · Score: 1

      The Acid2 test only actually tests whether or not the browser can pass the arbitrary obscure CSS features that Acid2 demands. More important is being able to render actual pages.

      --
      Please, for the good of Humanity, vote Obama.
    3. Re:Acid2 is NOT A "Complaince" Test by CODiNE · · Score: 1

      Where are you guys getting this idea that the Acid2 test is all about error handling? It's a very small part of the test, but plenty of Slashdotters seem convinced that the test revolves around broken code and nothing else. Was there a weekly meeting I missed wher eyou all got this myth drilled into your heads?

      They're just angry Safari got it before Mozilla, so they spread FUD to minimize Apple's accomplishments. "Oh but Acid2 doesn't MEAN anything." It's just a case of picking the benchmarks you like because they make who you like look good.

      --
      Cwm, fjord-bank glyphs vext quiz
    4. Re:Acid2 is NOT A "Complaince" Test by moderators_are_w*nke · · Score: 1

      Some of the stuff the Mozilla people have written reeks of bitterness as well. It goes along the lines of our rendering engine is far better than KHTML, therefore ours is not complient yet. This makes no sense to me, the KHTML/Webkit people must be doing somehting right if they can meet the standards and the Mozilla people can't. Guess they're still bitter Apple didn't use Gecko on Safari.

      To be fair to the Mozilla people though, they have at last made a decent Mac browser. Camino 1.0 is right up there with Safari 2. Like most cross platform apps, Firefox just looks rubbish on Mac OS X.

      --
      "XML is like violence. If it doesn't solve your problem, use more." - Anonymous Coward
    5. Re:Acid2 is NOT A "Complaince" Test by Shimbo · · Score: 1

      This makes no sense to me, the KHTML/Webkit people must be doing something right if they can meet the standards and the Mozilla people can't.

      They are doing something right. However, people kind of lose their perspective over the ACID2 test. It's either completely useless, or the best thing since sliced bread.

      The truth is, all browsers have probably dozens of layout bugs in the odd corners of CSS2. The KHTML folks looked at ACID2, decided to prioritise those bugs; the Mozilla folk decided not to.

      Yeah, sure, respect to the KHTML guys. That engine has come from way behind Opera/Gecko to be a real competitior. Its' just that ACID2 Isn't the last word.

    6. Re:Acid2 is NOT A "Complaince" Test by harvardslacker · · Score: 1

      I think the parent is correct in saying that Acid2 is about testing compliance with certain standards, regardless of whether they are related to correctly written code or handling code with errors in it. The GP is correct, however, in arguing that the poster doesn't know what the fsck (s)he's talking about. The Acid2 test is something that I wish all browsers passed, sure, but it is not some sort of W3C validator that determines whether or not your browser complies with each any every W3C standard or not. It tests "features [the W3C] consider[s] most important for the future of the web". So a browser could pass the Acid2 test and still fail at all sorts of other important things related to (X)HTML, CSS, etc.

      Developing to standards isn't easy, sure, and it takes some effort to figure out the most accessible, standards-compliant way to do seemingly simple things like having a rollover menu or a multi-column layout, but it's not impossible, it is worth the time invested in that it does produce more understandable, semantic, accessible, forward-compatible code, as has been commented on elsewhere in the comments.

      If you are doing your best to produce a semantic, accessible site, and run into a problem that after serious effort you can't seem to resolve in a standards-compliant way, so be it. Send an e-mail to some standards guru or whatever to ask for help, and then go ahead and put a couple invalid lines of code into your pages. If you figure out a standards-compliant alternative later, you can change it. But don't use this as an excuse for laziness or a lack of a real understanding for the reasons behind the movement for standards-compliant design. Sticking a "Valid XHTML 49.3" badge on your web site simply because it runs through the validator OK doesn't mean that you've done everything right, but don't think that the ignorance of some of those people indicates that the whole idea of web standards is flawed.

      Greg
      ---
      http://www.gregwestin.com/

  25. Reasons to validate by JimDabell · · Score: 5, Informative

    Reposted from something I wrote a while ago

    You cannot prove anything about the future... but you can identify trends.

    Before Netscape 1.2 came out, it was a common, non-standard hack to use multiple title and body elements to get crude animation. Netscape 1.2 came out, and screwed these pages up. Following standards ensured forwards compatibility with Netscape 1.2.

    Before Netscape 2.0 came out, missing quotes on the end of an attribute were detected as errors by Netscape 1.x and compensated for. Netscape 2.0 came out; it did not. Large sections of pages disappeared. Following standards ensured forwards compatibility with Netscape 2.0.

    Before Netscape 3.0 came out, people were careless with their ampersands, failing to correctly encode them in URLs, for example. These were detected as errors by the current browsers, and compensated for. Netscape 3.0 came out; it did not. Lots of broken links everywhere. Following standards ensured forwards compatibility with Netscape 3.0.

    Before Netscape 4.0 came out, people were still careless with character entities, omitting the trailing semicolon (I believe this was a property of many graphical editors, such as Frontpage). This was detected by the current browsers, and compensated for. Netscape 4.0 came out; it did not. Following standards ensured forwards compatibility with Netscape 4.0.

    Before Netscape 6.0 came out, people used a variety of non-standard Javascript techniques and layer elements, detecting Internet Explorer, and serving them alternative code. Netscape 6.0 came out, it didn't support the proprietary Netscape-isms of previous releases. Following standards ensured forwards compatibility with Netscape 6.0.

    More recent problems include stylesheets served with an incorrect content-type header, and table-layout images being broken up with lots of little gaps.

    This list only includes Netscape behaviour, as that is the only list I have to hand. (Thanks to this article). I'm sure similar things apply to other browsers.

    There is plenty of evidence that sticking with standard code results in forwards compatibility.

    There are really only two important properties of future browsers:

    • They are likely to support at least as much of the specifications as the current version
    • Nobody can test in them

    Thus, my overwhelming desire is to simply treat future browsers as I would any other browser I couldn't test in: code to standards, and when I get a chance to test, fix up what is necessary.

    There are very few good reasons these days to write invalid code. Mostly it's just ignorance and apathy that causes people to write invalid code.

    1. Re:Reasons to validate by Bronster · · Score: 4, Insightful

      It's posts like this that are the reason Slashdot needs a +6 moderation, even if it costs 10 moderators worth of points to push it the final bit.

    2. Re:Reasons to validate by Bazman · · Score: 1

      Of course anyone using Internet Explorer all this time wouldn't notice any difference precisely because it continues to ignore all the standards :)

    3. Re:Reasons to validate by Anonymous Coward · · Score: 0

      Of course anyone using Internet Explorer all this time wouldn't notice any difference precisely because it continues to ignore all the standards :)

      Wrong. Even though IE still has trouble with standards (6.0 and 7.0 do try, actually), the non-standard rendering has changed just as much.

      We have a web shop at work. Well, not one web shop, but one where anyone who is willing to pay can get their own shop set up. Originally, it was written specifically to IE 4.0. IE 3.0 users just had to upgrade. IE 5.0 users were out of luck, downgrading is generally not possible on MS systems.

      After a while IE 5.0 became dominant. The entire system was rewritten to support IE 5.0 only. IE 3 and 4 users had to upgrade. Then IE 6 came. "Too bad, we don't support that". IE 6.0 became the dominant browser, and the entire system was once again rewritten. Then came IE 7.0 beta...

    4. Re:Reasons to validate by Anonymous Coward · · Score: 0

      I call bullshit. IE 6.0 uses the IE5.5 rendering engine unless the doctype tells IE to do otherise.

    5. Re:Reasons to validate by Skapare · · Score: 1

      There are two categories for the errors you described. One is just plain mistakes like leaving unfinished entities. But a lot of others really involve pushing the envelope, such as the animation hacks. These problems aren't just limited to HTML, either. Apparently CSS2 can't do a lot of things people want to do, so they have to resort to hacks even today. If you don't believe me, take a look at the hacks in the default HTML stylesheet for Firefox 1.5. In other words, you can't do what this does for some elements with just the standard CSS properties. How much of this will be fixed in CSS3 remains to be seen. Last I heard, it won't be all of them.

      Standards development is not leading to new features; it is following them. It seems like things don't get standardized unless someone first hacks up a non-standard way to get something new (and a lot of people make it popular enough to get the attention of standards developers). I'm not sure that will ever change.

      --
      now we need to go OSS in diesel cars
    6. Re:Reasons to validate by The+Cydonian · · Score: 1

      ... and it's posts like this (ie, parent's) that dont need a +5, Insightful, although this particular post can make do with a +5 , Funny.

    7. Re:Reasons to validate by Bronster · · Score: 1

      Yeah, well - I didn't ask for it. Even if it is insightful, it's certainly offtopic!

    8. Re:Reasons to validate by The+Cydonian · · Score: 1

      Hmmmm. Know what, now that I re-read my post, I think must have come across as more snarky than I intended it to be. I'm thinking there's a ;-) or two missing somewhere.

    9. Re:Reasons to validate by Bronster · · Score: 1

      Hey - I read usenet. Getting offended is a waste of time. Besides, you have a point.

  26. Using Flash = Validation Fail by Andy_R · · Score: 2, Insightful

    Last time I looked, there was no way of embedding Flash in a page that validates and actually works in most browsers. Therefore, I gave up on validation.

    (oh and just because lots of sites and ads do annoying things with Flash, please don't assume that I do... like any tool it can be used or misused.)

    --
    A pizza of radius z and thickness a has a volume of pi z z a
    1. Re:Using Flash = Validation Fail by Bogtha · · Score: 4, Informative

      Last time I looked, there was no way of embedding Flash in a page that validates and actually works in most browsers.

      Look again.

      --
      Bogtha Bogtha Bogtha
    2. Re:Using Flash = Validation Fail by Stalin · · Score: 1

      Please give us an example of Flash used well for a web site design and not some video or game. I have yet to see a site completely designed in Flash that I didn't close after a few seconds because of either 1) not being able to navigate the wretched thing or 2) not being able to access the content immediately. Waiting on some animation to play before being able to read the content tells me that the content isn't worth waiting for.

      I don't mean for this post to be an assault, but put your money where your mouth is (so to speak).

      Oh, and embeding Flash appropriately does not cause validation to fail -- http://www.ambience.sk/flash-valid.htm

    3. Re:Using Flash = Validation Fail by Anonymous Coward · · Score: 1, Insightful

      As others have pointed out, you can (unfortunately) embed flash movies in a standards compliant page. However, Flash isn't a web standard and never will be so there is little point in validating your markup. Besides which, I think that pages should fail validation if they embed flash content.

    4. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      While the 'state of the art' may well have moved on, most of the linked methods look pretty familiar. I've done a lot of tests with similar methods, but only for a site where part of the spec was 'no javascript' (necessary to meet the highest British accessibility rating avaialble at the time, which we were shooting for), and you had to be fairly flexible with your definition of 'most browsers' to use these hacks. Specifically, all versions of IE for Mac only worked if you sacrificed all versions of Safari, and vice-versa, while Netscape 4.7 for Mac didn't just degrade to the text/static alternative, it crashed entirely.

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    5. Re:Using Flash = Validation Fail by briansmith · · Score: 1
      Please give us an example of Flash used well for a web site design and not some video or game


      http://finance.google.com/finance?cid=13756934
    6. Re:Using Flash = Validation Fail by Malc · · Score: 1

      Sure there is: include a .js file that document.writes the Flash object. You might need to do that anyway with IE7

    7. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      I wouldn't normally use Flash for a whole site (although Joshua Davis often does with gorgeous results) and I tried it myself once.

      I find Flash is most useful for headlines (it's the only way to render arbitrary text in an arbitrary size on the user's machine in a specific font they don't have, which, as a graphic desinger, I want to do a LOT of the time), and general 'niceness' features such as pictures that change after 30 seconds, or fade in when they have loaded, or that reshape to make best use of whatever ratio the user has their window size, or are chosen randomly from a pool, or any combination of the above. For example the scrolling eye-candy I used here, which I think strikes the right balance between irritation and prettiness.

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    8. Re:Using Flash = Validation Fail by schon · · Score: 1

      And you can even use this method to substitute alternate content if Flash isn't installed.

      I've used it to make 100% valid pages, and it works very well.

    9. Re:Using Flash = Validation Fail by Anonymous Coward · · Score: 0

      What you should have done was instead gave up on Flash. Flash is evil. :-P

    10. Re:Using Flash = Validation Fail by Stalin · · Score: 2, Informative

      There is the problem. You want the user to see what you see. The point of the web is to transfer information. It is possible to suggest how that information is presented, but, ultimately, the user decides how to "view" it. Fonts and moving pictures are pretty but they are distracting. I have a hard time reading unmoving text when there is something in view that is moving at all. So, your "right balance" is completely wrong for me.

      Back to the original point of this thread. Those two links where the site is nothing but Flash are exactly what I was talking about. I don't feel any desire to find or read the content because it is too difficult get to. No, it isn't hard to (for me) to see the image that says something akin to "click here," click the image, and get the content. The difficulty is that I had already asked for the content. I shouldn't have to start clicking more things to get to it unless there is more content that would make sense to be on another page (like the pages of a book). And then when I do have to navigate to a new page, I should have to wait for a bunch of animations and loading screens. I should be presented with the meat of the content (readable text) while any images load. That way I get what I am looking for and the pretty stuff fills in as my connection allows.

      Again, I'm not trying to attack you, but writing off validation because you don't understand its purpose is something that bugs me.

    11. Re:Using Flash = Validation Fail by Stalin · · Score: 1

      Just use the object element. It is designed, according to the specification, to do every single bit of that.

    12. Re:Using Flash = Validation Fail by Gorshkov · · Score: 1

      ....... unless, of course, you happen to be on dialup?

    13. Re:Using Flash = Validation Fail by NutscrapeSucks · · Score: 1

      Sure there is: include a .js file that document.writes the Flash object.

      This effectively bypasses the validator (which doesn't execute JavaScript), but it doesn't necessarily make your page more compliant.

      And if the goal is to just trick the validator, why not just document.write() your whole page?

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    14. Re:Using Flash = Validation Fail by Schraegstrichpunkt · · Score: 1
      I find Flash is most useful for headlines (it's the only way to render arbitrary text in an arbitrary size on the user's machine in a specific font they don't have, which, as a graphic desinger, I want to do a LOT of the time)

      FYI, it looks terribly unprofessional when you do this.

    15. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      Are you saying that nearly every professionally designed paper document in the western world looks unprofessional because they too use non-default fonts and sizes?

      As a graphic designer with nearly 20 years experience, I find it rather insulting that you think I can't be trusted to use fonts other than those chosen for their low licencing costs by Microsoft.

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    16. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      I'm not writing off validation because I don't understand its purpose, I'm writing it off because it denies me one of the tools of my trade.

      Flash should always be optional, so users still get to see content in a less pretty format if they don't have Flash installed. Validating to the W3C standards precludes this.

      I'm seeing a lot of knee-jerk anti-flash prejudice in your comment. With the Dreamengine site I linked above, the maximum "wait for a bunch of animations and loading screens" is 24/25ths of a second, unless you choose a picture or video clip, in which case you wait exactly as long to load as you would if the site was coded in HTML.

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    17. Re:Using Flash = Validation Fail by Stalin · · Score: 1

      You are correct. I absolutely loathe Flash. But I am trying not to let that taint my responses to you.

      1) The W3C recommendations do not preclude Flash being optional. They include the object element specifically for such technologies. The object element gracefully degrades to something the user can view, if used properly. Here is a link to the definition in the HTML 4.01 recommendation -- http://www.w3.org/TR/html4/struct/objects.html#ede f-OBJECT

      2) On the Dreamengine site, click the "Heliosphere" icon (the only thing I have clicked on). It takes at least two seconds for the content to show after then menu has changed locations (I am on 3Mb/s DSL). Even if the content loaded immediately, changing the location of the menu is a very bad thing to do. The user has to reorient to the page.

      Ignoring my prejudice against Flash, using Flash for content is a very bad thing. Not everyone that uses the internet can see colors, or even see at all. As far as I know, Flash completely breaks screen readers and will completely lock out those who have to use them. I really can't say that for sure because I don't use Flash.

    18. Re:Using Flash = Validation Fail by schon · · Score: 1

      Just use the object element. It is designed, according to the specification, to do every single bit of that.

      Well that's all fine and dandy, except that how it's designed isn't actually how it's implemented.

      Personally, if they don't have the plugin installed, I'd prefer visitors to my sites not be greeted with an install dialog asking them to install it.

      For people who work with projects in the real world, the object element falls woefully short.

    19. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      Tackling each point in turn...

      1) The Object element simply doesn't work in many browsers. Macromedia recommend it should used in parallell with the Embed tag, which does not validate. Essentially the W3C cannonised MS's method of embedding and banned Netscape's. If W3C had simply allowed but depreciated the Embed tag, I'd happily be validating everything!

      2) You might be on 3Mb/s DSL, but that site isn't, try it on a day when it's not linked to from Slashdot!

      3) Degredation for screenreaders... this was thoroughly fixed after version 3 of Flash. Nowadays properly written Flash is arguably better for the partially sighted than HTML, as it supports 'audio descriptions of multimedia content', which is required to meet some accessibility standards.

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    20. Re:Using Flash = Validation Fail by quickbrownfox · · Score: 1
      I wouldn't normally use Flash for a whole site (although Joshua Davis often does with gorgeous results)
      The Flash on the other Josh Davis' site isn't terribly offensive, either.
      --
      Repo man's always intense.
    21. Re:Using Flash = Validation Fail by NoMoreNicksLeft · · Score: 1

      it's the only way to render arbitrary text in an arbitrary size on the user's machine in a specific font they don't have, which, as a graphic desinger, I want to do a LOT of the time

      Are you sure about that?

      I've been playing around alot with SVG, doing things that could only be done in flash or java before now. Maybe you should try it.

    22. Re:Using Flash = Validation Fail by Schraegstrichpunkt · · Score: 1

      No, the fonts are fine. It's when you make your site an order of magnitude harder to use, just so that you can get those fonts, that's unprofessional.

    23. Re:Using Flash = Validation Fail by NoMoreNicksLeft · · Score: 1

      Shouldn't that be document.getElementById("parent").insertBefore(sib ling,document.createElement("blah")) ?

      And if you use the firefox extension, I think it does validation after all your scripting, too. Kinda neat.

    24. Re:Using Flash = Validation Fail by Arker · · Score: 1

      I'm sorry, those are two great examples of why not to do this. They're ugly and unusable and they just scream 'HEY! I've got nothing to say so I like to believe that "the media is the message" to compensate.'

      Now there may be some worthwhile content on those sites, or they may not, but that's exactly what their design screams out. Not the first impression you want to make, unless of course you'd rather drive the potential audience away right off.

      And trying to *force* my browser to display in the font you want, instead of the one I've chosen, is not only offensive, it's just dumb. You don't know how good or bad my eyes are. You don't know my taste in fonts either.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    25. Re:Using Flash = Validation Fail by Arker · · Score: 1

      It's not a knee-jerk response. I actually bend over backwards in the other direction.

      Everybody that I've ever known that used flash has said something like 'yeah, I know a lot of people really screw it up and it sucks and it's bad... BUT *I* do it right, you've got to see it, it's not {long list of bad thing associated with flash.} And, despite this happening hundreds of times, before, I *always* go ahead and look at their site.

      And it's always deja mu. Same old bull. Maybe one day...

      Seriously, I think flash has a role to the people that use it kind of like alcohol to the alcoholic, or crack to the crack addicted. They all show that same pattern. Every alcoholic will readily admit all those other folks have problems and do bad things when they drink... but he always thinks he's different. Rarely the case.

      Still, I've known people that can drink responsibly, and I've known folks, believe it or not, that could smoke crack occasionally without letting their life fall to crap too. But I'm still looking for that rare web developer that can start putting flash on his webpages without it degrading them.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    26. Re:Using Flash = Validation Fail by pafrusurewa · · Score: 1

      In addition to the other very valid points that others replied with, your last example uses about 50% of my CPU time (on a new laptop I bought last year) for certain Flash operations. I have dozens of sites open. Who the hell are you to not only force a specific font on me using Flash (I have my browser use specific fonts for a reason) but to also think there is a valid reason to use a good portion of CPU time for navigation and banners? That's simply horrible design. And it's the reason why I have Flash disabled most of the time.

      There are very good applications for Flash -- games and Flash video for example. Design isn't one of them.

    27. Re:Using Flash = Validation Fail by Bogtha · · Score: 1

      I've done a lot of tests with similar methods, but only for a site where part of the spec was 'no javascript' (necessary to meet the highest British accessibility rating avaialble at the time, which we were shooting for), and you had to be fairly flexible with your definition of 'most browsers' to use these hacks.

      Which accessibility standard bans JavaScript while allowing Flash? In fact, which accessibility standard bans JavaScript at all? Everything I know of only requires that JavaScript be implemented in a degradable manner.

      Specifically, all versions of IE for Mac only worked if you sacrificed all versions of Safari, and vice-versa, while Netscape 4.7 for Mac didn't just degrade to the text/static alternative, it crashed entirely.

      By the time Safari came out, Netscape 4.7 on the Mac was long dead.

      --
      Bogtha Bogtha Bogtha
    28. Re:Using Flash = Validation Fail by Andy_R · · Score: 1

      If you don't want to see Flash, don't have it installed. The use of validators *should* help ensure that pages degrade nicely for you, my problem is that the W3C one doesn't.

      While I don't know your taste in fonts, I do know that I (like every other graphic designer) am paid to have a better taste in them than you.

      Do you find prerendered text in .gif and .jpg files "offensive" and "dumb"? If not, why not?

      --
      A pizza of radius z and thickness a has a volume of pi z z a
    29. Re:Using Flash = Validation Fail by RalphSleigh · · Score: 1

      I run a flashblocker on firefox, and most sites that turn up as one huge flash box tend to get closed right away, becasue they either takes ages to load, play annoying background music(most people already ahve music on when they browse and dont wanna be inturrupted you know) or both.

      --
      Come as you are, do what you must, be who you will.
    30. Re:Using Flash = Validation Fail by Spydr · · Score: 1

      The great thing about using SWFObject (linked in the original thread post) is that even if the users don't have Javascript enabled, presuming you set up your page correctly, they will still see the alternate content, which means your site is still perfectly accessible and valid.

      Progressive enhancement has been used across the web for years, so why not treat Flash the same way as all the other extra bells and whistles?

    31. Re:Using Flash = Validation Fail by Malc · · Score: 1
      That's why you test it like this:
      function isFlashInstalled()
      {
          var obj = null;
          try
          {
              obj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
            }
          catch (e)
          {
      // Bugger
          }
       
          return (null != obj);
      }
    32. Re:Using Flash = Validation Fail by Spydr · · Score: 1

      Don't blame the technology on incompetent developers.

    33. Re:Using Flash = Validation Fail by drew · · Score: 1

      If the standard is inadequate to perform the function that I want, I would rather not follow the standard than spend a day of my time trying to figure out a workaround that tricks a validator into believeing that my non-compliant behavior really is. It's great that in this particular case somebody else has figured out how to accomplish this for me, (and if I ever have reason to embed flash in a page I'm working on, I'll have to remember this) but in the general case, if the standard is inadequate, screw it.

      I generally make my pages validate as much as possible, because most of the time, it's trivial, and there's no good reason not to. But when I inevitably come up against something that I can't so according to the standard because the standard writers never anticipated somebody trying to do the things that I want to do, well, that's a good reason not to.

      --
      If I don't put anything here, will anyone recognize me anymore?
    34. Re:Using Flash = Validation Fail by Phillup · · Score: 1

      it's the only way to render arbitrary text in an arbitrary size on the user's machine in a specific font they don't have, which, as a graphic desinger, I want to do a LOT of the time

      Why do you want to put tiny unreadable text on my screen?

      --

      --Phillip

      Can you say BIRTH TAX
    35. Re:Using Flash = Validation Fail by Anonymous Coward · · Score: 0

      SMIL works just as well.

    36. Re:Using Flash = Validation Fail by Arker · · Score: 1

      If you don't want to see Flash, don't have it installed.

      Don't you dare tell me what to install on my computer!

      What incredible arrogance!

      I (like every other graphic designer) am paid to have a better taste in them than you.

      There it is again.

      Guess what, you're wrong. You have horrible taste, and you always will, because you're too self-absorbed to even notice there's a problem.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
  27. konqueror also passes by billmustdie · · Score: 0

    Konqueror 3.5.2 is also displaying it perfectly.

    And to answer any doubters - no, there is not a scroll bar. (as per usuall complaints)

    To answer the original question, yes I do code to W3C. Mostly so I don't end up in an eternal "chase the latest bug" problem others run into when new browsers appear, or even just new versions.

    Of course there are some compliant pages that refuse to render right in one or two browsers on the first pass, but debugging them against various browsers is alot easier than getting an IE web page to render correct in firefox, for example.

    1. Re:konqueror also passes by gdchinacat · · Score: 2, Informative

      So, I had to try this out and see it for myself. And, sure enough it rendered correctly. Then I started noticing the problems.

      Here is a screenshot after "scrolling" using either the scroll wheel or up/down keys (despite the fact — as you point out — that there are no scroll bars).

      And another one after a resize of the window. I restarted konq before doing the resize, so the issues aren't left over from the scrolling.

      Also, note in the resized screenshot that the progress bar is stuck at 37%.

      So, IMO, close, but not quite. However, close is better than most of the other browsers out there.

    2. Re:konqueror also passes by beelsebob · · Score: 1

      If you read the ACID 2 page, you'll discover that it specifies that redering should bugger up if you scroll.

    3. Re:konqueror also passes by Mornelithe · · Score: 3, Informative
      From the Acid2 page:
      If the Acid2 page is scrolled, the scalp will stay fixed in place, becoming unstuck from the rest of the face, which will scroll.

      Changing the size of the window has similar effects. Konqueror is exhibiting correct behavior; the test wasn't designed to keep the face constant after scrolling or forcing the browser to adjust the positioning by resizing the window. It's just supposed to display correctly after you click on the link that jumps you down to the face.
      --

      I've come for the woman, and your head.

    4. Re:konqueror also passes by gdchinacat · · Score: 1

      What, you expect someone on slashdot to read something that isn't explicitly linked to (only the test was linked in the article). I thought I was being a good denizen by actually reading one of the links in the article, even if there wasn't much on it.

      Thanks for enlightening me on this.

  28. Anyone who answers "no" to this headline... by Dracos · · Score: 4, Informative

    Is a fool who doesn't deserve to be involved in web development.

    The Web would never have been much more than an academic experiment without web standards. Anything that has a sufficiently large group of people that use it at various levels needs standards. Think road traffic is bad now? Imagine if there were no lines on the roads, no standardised street signs, or even pavement. Getting anywhere would be total chaos, and most of us would be doing it on foot.

    Sure, Opera 9 is the only browser released for public use that passes acid2, but the Gecko codebase achieved this a few weeks ago. Unfortunately, we'll likely have to wait for Firefox 3 in order to experience it.

    IE7b2 is complete as far as standards compliance is concerned, so you might as well go ahead and test it now. It still has the worst compliance compared to all other non-MS browsers.

    The distance between any W3C recommendation and the browsers is a result of 2 things: vagueness in the document, and how any browser vendor decides to interpret it (if at all).

    The biggest threats to web standards aren't MS, WHATWG, Motorola, or any other entity.

    Number one: Quirks Mode. As long as browsers try to correct invalid documents, there is not real incentive for valid documents to be produced. Interoperability can't be fully achieved, and machine-to-machine exchange of data remains tenuous.

    Number two: Nomenclature and Authority. Part of the W3C's problem is the terms they use to identify the stages of a standard. "Draft" is understandable, but labeling a final document "Recommendation" almost begs people to ignore it at will. Furthermore, the W3C just produces documents, and there is no body anywhere to monitor and enforce standards compliance among browser vendors. I believe the W3C should be absorbed into an existing technical organization which people actually respect, probably IEEE.

    Anyone who doesn't care about web standards might as well go back to 1998-99 and try to keep riding the bubble.

    1. Re:Anyone who answers "no" to this headline... by Anonymous Coward · · Score: 0

      Anyone who doesn't care about web standards might as well go back to 1998-99 and try to keep riding the bubble.

      I'm living in Silicon Valley and you'd be surprised how many people around here are doing exactly that right now.

    2. Re:Anyone who answers "no" to this headline... by NineNine · · Score: 1

      One question for you: Have you ever been a PAID web developer? And I don't mean doing something for your local club, but have you even developed web sites full time in order to pay your rent/mortgage? Somehow, I really doubt it....

      Try giving your speech to somebody who is paying you for your time, THEN get back to us.

    3. Re:Anyone who answers "no" to this headline... by tyson.cpp · · Score: 1

      I completely agree. Standards are written and imposed for a reason. Standards seem to be important everywhere but in the HTML rendering crowd - web developers and programmers responsible for writing the renderers are both at fault for not promoting adoption and compliance to the HTML standards. HTML renderers are far too lenient when it comes to rendering markup that doesn't comply to the standard. The only thing the web developer can do is ASSUME that his HTML is perfectly fine. These things working together have really impeded strict adoption of the HTML and CSS specifications. People just assume "If it ain't broke, don't fix it."

    4. Re:Anyone who answers "no" to this headline... by Blakey+Rat · · Score: 4, Interesting

      I'd be more inclined to follow the standards if the standards didn't suck. For instance, CSS is incapable of doing simple math. (Why can't I make a measure 5em+10 pixels? Seems obvious to me, especially since em isn't a constant, but CSS won't do it.) Why is it so difficult to center something vertically? With tables, it was trivial, but with CSS it's significantly harder. (I haven't found a way of doing it with less than 2 divs.) Why do CSS measures typically go by *screen* measures and not *page* measures? When I say I want a div 10 pixels from the bottom, I don't mean the bottom of the screen, I mean the bottom of the entire page, idiots.

      Anyway, CSS is just frustrating as hell to use. IMO, it's not significantly better than doing layout using tables. Especially since WYSIWYG editors will show you the table layout in progress, but usually choke on CSS layouts.

    5. Re:Anyone who answers "no" to this headline... by TheSpoom · · Score: 1

      I'm a paid web developer / PHP coder. What is it about standards that you find so difficult?

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    6. Re:Anyone who answers "no" to this headline... by NutscrapeSucks · · Score: 1

      HTML renderers are far too lenient when it comes to rendering markup that doesn't comply to the standard.

      When HTML was introduced, "lenient" was advertised as a feature, not a fault. Therefore every browser ever made supports lenient/quirks HTML and probably will for the next 5-10 years.

      web developers and programmers responsible for writing the renderers are both at fault for not promoting adoption and compliance to the HTML standards.

      The HTML standards were pretty much pointless before HTML4 and CSS2 made a coherent effort to clean things up.

      The HTML 3.2 standard was intended to document existing practice, but left an ton of things out that were universially supported. Therefore it never really made sense to validate a HTML3.2 site because you'd get a million errors that were defects in the spec and not the page. And since there was no real standard, "anything goes" replaced it.

      So what you are seeing is the process of introducing strict standards onto an enormous system that was designed not to be overly concerned with standards. It might be frustrating to see this process take decades rather than mearly years, but that's life.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    7. Re:Anyone who answers "no" to this headline... by Bozdune · · Score: 1

      Amen. All I know is, a lot of times when I've tried to follow the W3C I've been slapped upside the head. After a few slaps upside the head, I really don't want to get slapped any more.

      So do I care whether I follow standards? Weakly, I guess. I'd LIKE to. If I have a choice, I try to. But if I need to get something to work, and it works differently in every goddamn browser I try, guess what, I'll throw in the worst piece of shit-ass fucked-up code imaginable, copied off the web from some poor bastard who had the patience to work through the bugs and get the thing to work, just so I can finish the project and submit the bill.

    8. Re:Anyone who answers "no" to this headline... by zx75 · · Score: 4, Insightful

      Anyone who answers "YES" to this headline without a "but..." isn't doing this for a living where making it work and look correctly is more important than standards compliance.

      I follow the standards to the best of my ability and test in all major browsers until something breaks (thanks IE, thanks a lot) which is when I break out the hacks until the page works correctly for everyone.

      So do I follow standards? Well, when you get right down to it, no, I don't. I follow them up until the point that they prevent me from doing my job, then they get tossed out the window.

      --
      This is not a sig.
    9. Re:Anyone who answers "no" to this headline... by Blnky · · Score: 1

      >> ...is a fool who doesn't deserve to be involved in web development.
      >> Anyone who doesn't care about web standards might as well go back to 1998-99 and try to keep riding the bubble.

      >Try giving your speech to somebody who is paying you for your time, THEN get back to us.

      I am not the original poster, however, I will take you up on that here and now. I have said not only that but harsher things to my current employer along with my reasons why I stated it. The result? I am currently paid full time for the web work and ever since and nothing goes out without without complying to the standards. Issues with the web site have dropped considerably from both the developers' and customers' perspectives. The interesting thing about your post is that you seem to imply that one couldn't vocally take such a position and be paid. Sorry bud, your are flat wrong.

    10. Re:Anyone who answers "no" to this headline... by CestusGW · · Score: 2, Interesting

      I have to say that I agree with you on all points. I've started to religiously follow standards whenever I'm in full control of a page now - if it's not in a W3C recommendation, I try not to have it in my page. Personally, I look at this as a case of "lead by example". The work I do gets limited exposure where I work, but my coworkers all know that I always strive for correct webpages (I even write them with the strict XHTML DTD). I hope it rubs off them eventually. If it rubs off on them, who else will it rub off on next?

      --
      Too much repetition my too much repetition!
    11. Re:Anyone who answers "no" to this headline... by GoofyBoy · · Score: 0, Flamebait

      Because its one more thing you have to worry about and which you may not be able to justify to those you need to justify your time.

      Why not write up a thick document that you may or may not need just because its "standard" in some programming methodology?

      --
      The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
    12. Re:Anyone who answers "no" to this headline... by Dracos · · Score: 1

      Web development has paid my bills for seven years. Every employer (and most clients) I've had has gotten at least part of that speech. I've had more than one friend/co-worker/manager tell me I should write a book about XHTML/CSS/web usability. I've read the standards, I know the standards, and I know how to avoid browser bugs rather than hack around them after the fact.

    13. Re:Anyone who answers "no" to this headline... by Anonymous Coward · · Score: 2, Funny

      ...I should write a book about XHTML/CSS/web usability. I've read the standards, I know the standards, and I know how to avoid browser bugs rather than hack around them after the fact.

      heh heh heh... 208 errors

    14. Re:Anyone who answers "no" to this headline... by hobo+sapiens · · Score: 1

      One question for you: Have you ever attempted to use standards? And I don't mean doing something in Dreamweaver or Frontpage, but have you even developed web sites the right way in a professional environment? Somehow, I really doubt it....

      Try giving your speech to somebody who is paying you for professional quality work, THEN get back to us.

      --
      blah blah blah
    15. Re:Anyone who answers "no" to this headline... by localman · · Score: 0, Troll

      Sorry, but I can't follow the latest standards at my job. If I did, I'd block out a couple percentage points of the market, and at the volume my employer is working, that would be millions of dollars. Seriously: millions.

      The latest standards aren't even that great from a purely academic standpoint, as sadly you can't achieve the same consistency in font sizing across browsers with CSS as you can with FONT SIZE. And CSS pages seem far more prone to overlapping elements than tabled layouts. But aside from that, even if we assume that the latest standards were perfection, they still don't work for a non-negligable percentage of users. The real "standard" is the user base, no matter what anyone likes to say.

      If you're following the latest standards closely, you're probably not working at a company that is making good money on the internet as its primary income. And if you are, then you're costing yourself a heck of a lot of money and you better hope the shareholders don't find out.

      Cheers.

    16. Re:Anyone who answers "no" to this headline... by Anonymous Coward · · Score: 0

      I follow the standards to the best of my ability and test in all major browsers until something breaks (thanks IE, thanks a lot) which is when I break out the hacks until the page works correctly for everyone.

      So do I follow standards? Well, when you get right down to it, no, I don't. I follow them up until the point that they prevent me from doing my job, then they get tossed out the window.


      There are ways to create IE workarounds that don't break the standards. My own webpage validates with no errors. But when IE comes along, it will load a different CSS file than every other browser (and the validator), which contains the changes necessary to make the page look correct in IE. Not even server side, I'm simply using another IE bug (it replaces backslash with slash) to make it load the ie.css file.

      Ok, maybe not every IE bug can be worked around that way, but there are other ways that will allow you to have IE workarounds while still having your page validate.

    17. Re:Anyone who answers "no" to this headline... by Anonymous Coward · · Score: 0

      He he. I'd probably cause standards fanatics to have a fit if they saw one of the websites I did. I had to convert a large app across from Windows UI and all the UI layout was already specified and I wasn't going to do it again and I just couldn't get it to work in css, unless of course I used the IE expression things for layout. Instead I just stored all the layout info in custom attributes and had a javascript function that applied all the layout.
      I'd have liked to have used CSS but I couldn't even work out how to apply some test layouts in straight CSS.
      And then for the parts that I did manage to get working in CSS, it works in IE6 & Firefox correctly but is broken in Opera 9 beta.
      Same problem with modal popups in FireFox... I wasn't going to redesign it all to work some other way so I ended up putting a semi transparent div over the whole screen when the dialog was displayed so the user couldn't click on anything in the main screen.

      I know some people will be thinking... Well you shouldn't try to enforce the layout on the users and popup dialogs are bad but stuff em...

    18. Re:Anyone who answers "no" to this headline... by BZ · · Score: 1

      > Why is it so difficult to center something vertically?

      This is the one complaint of yours that's actually due to the core design of the CSS box model. CSS is designed as a document layout language, not a GUI layout language. The basic model is that widths are the input, heights are the output. As a result, you don't know the height of a box until you've laid out all its kids, which makes centering a particular kid a pain (you have to lay it out, lay out all other kids, determine parent height, _then_ do centering or something).

      Given that you want vertical centering, it sounds like you're creating a GUI, not a document. I advise you to look into the flexbox model used by Mozilla's XUL and by certain CSS extensions in Safari for a box model that _is_ designed as a GUI layout language. Vertical centering in those is much simpler.

    19. Re:Anyone who answers "no" to this headline... by Blakey+Rat · · Score: 1

      There are many reasons to use vertical centering that have nothing to do with a GUI. Some of them as simple as, "wouldn't that menu look nicer if it was in the middle instead of glomming to the top?" Would it have killed the CSS designers to at least have the same features as table-based layout? Especially since it's supposed to supersede table-based layouts?

    20. Re:Anyone who answers "no" to this headline... by Chazmyrr · · Score: 1

      Interesting that your biggest problem is IE. My biggest problem is the lack of modal windows in Firefox and earlier versions of Safari. IE is the corporate standard, but employees working from home over VPN sometimes use other browsers. Many intranet applications require the use of modal dialogs and half-ass attempts to simulate modality do not make the cut.

      IT wants to switch to Firefox but can't because Firefox doesn't provide a way to do a true modal dialog. There seems to be some kind of religious belief that modal windows are Evil but modals from alert(), confirm(), and prompt() are ok. I don't understand the theological difference between the two, but what I do understand is that the method Firefox's evangelism team advocates instead of showModalDialog does not offer the same functionality and tends to increase development and QA time.

      We give project stakeholders the choice up front. We present their options in an unbiased fashion and let them decide. On every single project, the choice has been to use showModalDialog because it enables a consistent user interface without trying to anticipate and block all the different ways to navigate in the parent window.

      Just about everything else can be made to work in every browser without much work. If the Firefox developers would follow in Safari's footsteps and implement showModalDialog, I could write applications that work in every major browser without compromising functionality or appearance. Then I might be complaining about the lack of CSS attributes like min-width in IE6. Unfortunately I think IE is going to catch up on the rendering side before Firefox implements anything because of business needs.

    21. Re:Anyone who answers "no" to this headline... by zx75 · · Score: 1

      My biggest problems traditionally have been trying to work with positioning/layout, and scrollable block tags.

      If you've tried to create a scrollable table with a static table head, you know how difficult it is to make that work in IE. It forces you to jump through hoops by not allowing blocks to be scrollable, which means the workaround is that a div surrounding the table must be scrollable, your header section must then be floating (instead of simply not scrollable) and it requires some fancy javascript to detect form controls that have moved too high up because IE refuses to hide them behind the headers.

      I've never had a problem dialog boxes, but then I have never needed to use them to any great extent. All I've needed was the occasional (yes/no) save confirmation popup, and they've never given me any trouble.

      --
      This is not a sig.
  29. I'm a standards nazi. by SocialEngineer · · Score: 1

    I run my own indie web design business (targeting artists and musicians), and also do web design through my full time job (local newspaper - we do contracted web design, too). I make sure that ALL my clients' sites are HTML 4.01 Strict compliant (Or XHTML Strict), and work hard to make them at least functionional for people using TTS readers and text-mode browsers. When it comes to rendering for IE, I usually specify a second IE-only stylesheet.

    Once standards compliant, I test in all major browsers, plus lesser used ones. I make sure each site is at least functional, if not exactly what it should be.

    I tell you what, it is hell trying to get people to understand why standards compliance is important. They always seem to say "but this works, doesn't it?" - I hate that. Sure, it works NOW, but the code is bloated, it is useless in TTS readers, and it may not always render properly.

    --
    "Better to be vulgar than non-existent" -Bev Henson
    1. Re:I'm a standards nazi. by Anonymous Coward · · Score: 0

      You sound like a professional web developer, most web developers are cowboys who have no understanding of the medium. This is why we see sites done entirely in flash and sites that do not function without javascript. I've been thinking of making a mugs gallery, sites operators that have been ripped off and sold non-functional web solutions. There are just too many ecommerce sites developed using ASP to make that practical, __doPostBack() is a total abomination!

  30. More or Less by drinkypoo · · Score: 1

    I've never much been one for standards compliance in the past. I designed for the best browser around (mostly Netscape at the time) and didn't look back. Then again, I was a newbie then.

    These days I'm trying to go standards-based but the simple fact is that CSS is powerful and thus complex. The fact that various browsers interpret it differently is a major PITA as well. I've been trying especially hard to eliminate tables and I'm starting to come to the conclusion that it's a stupid idea, because CSS just doesn't seem to behave as it is supposed to on any browser.

    So basically, I do as much standards compliance as I can do fairly easily, and my overall layout both on the work website and my home website is completely CSS-based with no tables. There are still some tables on the work website because until I go to dynamic content on those pages I'm not going to CSS because I don't want to have to maintain the annoying CSS that will replace the tables, I want it to be autogenerated.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  31. table vs. div by Lauritz · · Score: 2, Informative

    I would like to ask a follow-up question: Do the replacement of tables with div-elements really help anybody (besides giving job security to web developers)?

    Note that I am not at all against css. But I just find the table-tag very usefull for layout. If you need to do a three-column layout it will be much easier and give cleaner code to just use a table, than to use one of the many css "hacks" needed to give the wanted result in most browsers. If you want the layout to do something "extra" (eg. "make the center column 400px wide, but allow it to grow if the cell contains a wide image, pushing the right column") it will (probably) be impossible using divs, but trivial using tables.

    One reason to not use tables, that is usally given, is that tables should only be used to tabular data and not for layout, as to not create problems for blind users. But just an empty alt-attribte on an image signals to the user-agent that the image is for layout only, a empty summary -attribute on a table could for example be used to signal that the table is for layout only. My guess is that, that convension would be much easier for user agent implementors to use that to parse through all of the css hacks. I also feel that it would be semanticly much cleaner to have a table with one row and three cells than to have three or four divs nested and floated in strange ways.

    1. Re:table vs. div by Bogtha · · Score: 5, Informative

      Do the replacement of tables with div-elements really help anybody

      You're asking the wrong question. It's not about replacing <table> elements with <div> elements. It's about using the most appropriate element type and leaving the presentation up to CSS. Sometimes that means using a <table> element, sometimes that means using a <div> element, and sometimes it means using something completely different, like <ul>.

      If you need to do a three-column layout it will be much easier and give cleaner code to just use a table

      The thing is, it's not easier or cleaner. In fact, it's usually the opposite. With CSS, you develop the layout code once, and apply it to all the pages on your site simultaneously. With tables, you have to hack up stupid <tr>s and <td>s for each and every page you do. Mindless, boring, repetitive work.

      I also feel that it would be semanticly much cleaner to have a table with one row and three cells than to have three or four divs nested and floated in strange ways.

      This sentence makes no sense. Semantics describe what individual parts of the page mean and are encoded with HTML elements. They have nothing to do with the layout or CSS. Why would "floating something in a strange way" be semantically wrong? Floating things happens on a completely different conceptual level to the semantics. On the other hand, describing something as a table, when it's really a heading or an image, is obviously semantically wrong.

      --
      Bogtha Bogtha Bogtha
    2. Re:table vs. div by Anonymous Coward · · Score: 0

      The topic was html, not xml, so it is not about marking every bit of information up precisely. It is about presenting a pice of information for easy consumsion for a human (blind or otherwise). So you comment makes no sense :)

    3. Re:table vs. div by Bogtha · · Score: 4, Informative

      The topic was html, not xml, so it is not about marking every bit of information up precisely.

      Actually, it's HTML that has semantics, XML is just a markup syntax, so it's definitely about marking information up precisely.

      It is about presenting a pice of information for easy consumsion for a human (blind or otherwise).

      Yes, and in order to decide upon the best presentation, a user-agent (e.g. a browser) needs to know what kind of information it is getting. Hence marking up tables as tables, headings as headings, and lists as lists, not marking up everything as tables.

      --
      Bogtha Bogtha Bogtha
    4. Re:table vs. div by fean · · Score: 1

      The problem with tables + content + screen readers is that screen readers can't read through tables like your eyes can, so things don't actually get interpreted correctly (There is a firefox extension that mimics screen reader output, I highly recommend trying it out to understand how horrible the web is for visually impaired persons).

      The technical reason for using div's rather than tables is growing more and more prevalant today. The seperation between content and display is a very important distinction that programmers, of all people, should understand well. With proper XHTML, I can pull data into any program I want and parse it correctly, because the data is store linearly, rather than in a table, where it might be leftImage-content-rightImage-leftImage-content-rig htImage... Specifically, I can pull an XHTML page into Flash, parse it out and extract important content. Templating becomes so much simpler that it's now a trifle to change/tweak a site's layout.

      I've yet to see any layout that's "impossible" with divs (though it took a long time to figure everything out, and some of the code is VERY confusing), but it is Impossible for a table'd website to display information coherantly on my Treo, PSP, and in my desktop browser of choice. Don't even get me started on the whole printing tables issue.

      The point of the matter is using tools for what they're made for (especially when they're perfectly competant)... I can almost guarantee you use a microsoft product for making web pages, considering your "Why don't they just add more processing to the user agents, rather than make me use standards" paragraph.

      If you'd like to see the div vs. table arguement personified, look at my resume. I want to make a note that the only Javascript on the page is used to determine what browser the user is using, and create work-arounds for IE's lack of :hover attribute and poor handling of .png images (Both of these are addressed in IE7 thankfully). I dare you to try to recreate that site with tables and minimal javascript. Then, after you're done, make it print out nicely.

      Tables limit your ability to really create sites that are unique, keep your data in formats that are impossible to use afterwards, and are ultimately the same as using a crescent wrench as a hammer... Yes, it works, but the hammer works better, and thats what it's made for... Just because you grew up using a wrench as a hammer, you're inclined to use it, but if you switched over, you'd realize how much harder your life was.

    5. Re:table vs. div by barefootgenius · · Score: 1

      If I am interpreting your question right. The best reason to use div is so you can separate the style from the content of a webpage. In the case of multiple web pages this allows for easy management as you only have to change one entry to affect the style in all pages referencing that css code.


      This, in my opinion, would lessen job security for web developers as it makes for ease of creation and maintainence. Semantically, it is easier to have comments.
      --
      /. bug #926803 - Why I can post.
    6. Re:table vs. div by Anonymous Coward · · Score: 0

      Nobody said anything about "marking up everything as tables".

    7. Re:table vs. div by briansmith · · Score: 1
      I've yet to see any layout that's "impossible" with divs (though it took a long time to figure everything out, and some of the code is VERY confusing)


      Usually, you can make div's work okay if you are willing to give up some flexibility regarding resizing behavior of columns and the vertical alignment of items. But, once resizing is taken into account, the div-based solutions are often hopelessly complicated, if not impossible to implement.

      Often, people use div's instead of tables citing the reasons you give. But, the accessibility issue with layout tables is not a big deal as long as you follow the Web Content Accessibility Guidelines (
      http://www.w3.org/TR/WAI-WEBCONTENT/#gl-table-mark up):

      5.3 Do not use tables for layout unless the table makes sense when linearized. Otherwise, if the table does not make sense, provide an alternative equivalent (which may be a linearized version).
      [Priority 2]


      The important part is "unless the table makes sense when linearized." A LOT of sites that try to be accessible by using div's instead of tables end up with a lot of div's that do not make sense when linearized. If you have table-based layout with one row of three columns, and it makes sense when linearized, then it will not be an accessibility problem, as long as the page scales gracefully (for text zooming and printing), you will be okay.

      Your resume suffers from a problem much worse than table-based layout: it is very difficult to read the text when one is using the text magnification feature of the web browser. Your text size is 12px, which is 50% smaller than my default text size (I have a 140DPI monitor, so 12pt text takes about 20px, IIRC). When I use Firefox's text zoom tool, the bottom of your text flows "out of the book" and onto the dark background, making it very hard to read. In other words, your resume is significantly easier to use by a normally-sighted user when the stylesheet is disabled. That indicates an extreme usability failure--you spent effort to make something worse than it would be by default.
    8. Re:table vs. div by Anonymous Coward · · Score: 0

      DIVs and CSS based layouts FAIL compared to tables in one very important way: a table is automatically flipped and works and displays perfectly in a right-to-left reading order. DIVs do not.

      A table based layout will, without ANY tweaks or hacks, work PERFECTLY for your users whose language is Hebrew, Arabic, or one of the other half-dozen RTL languages.

      Memo to the clueless idiots doing the CSS specs: Hello! This Internet thing? It's the WHOLE world.

    9. Re:table vs. div by Anonymous Coward · · Score: 0

      Do the replacement of tables with div-elements really help anybody

      Yes, using correct HTML makes it *much* easier for people using text-only devices, small screens, or screen readers. It allows the designer to put the content at the beginning of the HTML, and the navigation after it, and yet still have the content appear to the right or below the navigation elements on graphical displays.

      It also makes it *much* easier for web designers (once they learn what they're doing - looks like you've started, but you haven't had that "eureka" moment yet.)

      I just find the table-tag very usefull for layout.

      As soon as you understand correct markup, you'll find that it's much easier to read than using tables.

      If you need to do a three-column layout it will be much easier and give cleaner code to just use a table, than to use one of the many css "hacks" needed to give the wanted result in most browsers.

      No, it really, really isn't.

      Three DIVs are both easier and cleaner (by definition) than three TDs one TR and a TABLE. CSS isn't a "hack" once you understand it, it's quite simple and effective.

      If you want the layout to do something "extra" [...] it will (probably) be impossible using divs, but trivial using tables.

      Bullshit. It may not be readily apparent, but it can be done.

      And there are lots of "extras" that are flat-out impossible with tables, but which are easy with CSS.

    10. Re:table vs. div by Blnky · · Score: 1

      >If you want the layout to do something "extra" (eg. "make the center column 400px wide, but allow it to grow if the cell contains a wide image, pushing the right column") it will (probably) be impossible using divs, but trivial using tables.

      Nope, not impossible at all. In fact that is exactly what I have been doing for the latest html I have been working on. It has been converted from a table based layout. The html is less thgan 50% the size and much more flexable. Now, try this one in tables... Make a page that displays a center flexible column flanked by two static sized (in width only) columns, however in the html arrange it as so the content is picked up more readily by search engines. Good luck in your attempt. Doing it in CSS wasn't bad at all.

    11. Re:table vs. div by Valacosa · · Score: 2, Informative
      "With tables, you have to hack up stupid s and s for each and every page you do."
      Not true, due to the magic of PHP and server side includes. Sure, the table may be ugly, but I still only have to hack it once.

      NOTE: I use CSS. However, I have found it's much easier to flog tables into doing what I want, DIV's have never been that co-operative for me. CSS beats <font> tags any day, though.
      --
      "Live as if you'll die tomorrow." Ridiculous. You could die later today.
    12. Re:table vs. div by Anonymous Coward · · Score: 0

      Care to show how?

      And for your little request:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Test</title></head>
      <body>
      <table style='width:100%' cellspacing='0' cellpadding='0'>
      <tr style='height:1px'>
        <td style='width:100px;'></td>
        <td rowspan='2'>Center center</td>
        <td style='width:100px;'></td>
      </tr>
      <tr>
        <td>Left</td>
        <td>Right</td></tr>
      </table>
      </body>
      </html>

    13. Re:table vs. div by Anonymous Coward · · Score: 0

      But I just find the table-tag very useful for layout

      Indeed, it is very useful, here in the real world where IE6 is the browser used by 90% of the people and table hacks have to be done to make up for IE's limitations (in my case, the lack of a max-width that works).

      make the center column 400px wide, but allow it to grow if the cell contains a wide image, pushing the right column

      The tag in question is min-width, and, although this is broken in IE6, IE7 will have support for this. It's one of the few things in CSS Microsoft is actually bothering to implement.

      a empty summary -attribute on a table could for example be used to signal that the table is for layout only

      Or, better yet, just have the table be in the CSS instead of the HTML.

    14. Re:table vs. div by Bogtha · · Score: 1

      Not true, due to the magic of PHP and server side includes.

      In theory that's a decent solution, but in my experience, table layouts aren't easily separable into server-side includes for anything but the simplest designs.

      DIV's have never been that co-operative for me.

      I am certain that <div>s have done exactly what they are supposed to each and every time you have ever used them. Like I tried to explain in my previous comment, <div>s aren't a layout tool to replace <table>s.

      --
      Bogtha Bogtha Bogtha
    15. Re:table vs. div by kiddygrinder · · Score: 2, Insightful

      The thing is, it's not easier or cleaner. In fact, it's usually the opposite. With CSS, you develop the layout code once, and apply it to all the pages on your site simultaneously. With tables, you have to hack up stupid s and s for each and every page you do. Mindless, boring, repetitive work.

      Anyone with any moderately serious website would chuck the top of the table into a header and the bottom into a footer file and just #include it. I'm not saying you should use tables, but trust me, it IS a lot easier to do a 3 column layout with them.

      --
      This is a joke. I am joking. Joke joke joke.
    16. Re:table vs. div by Bogtha · · Score: 1

      I've been coding complex designs in CSS for years and before that I was coding complex designs in tables for years. I don't need to "trust you", I have plenty of experience with both, and unless the designs are really basic, then there's simply no way table layouts come anywhere near to being as simple as a couple of includes.

      Things get even worse when you have to work in a team where not everybody is an expert. Back when I was doing table layouts, I had a co-worker who would routinely create tables nested a dozen levels deep that took Netscape almost a minute to render on an average PC (even from the local server, not counting download time). Not all those tables were necessary, even back then, but he didn't know that, and what's more important, they couldn't be simply hidden away in includes.

      I have yet to see people do that kind of thing with CSS layouts, everybody seems perfectly content to have simple HTML, with very few superfluous elements, even when they don't really know what they are doing.

      --
      Bogtha Bogtha Bogtha
    17. Re:table vs. div by Skapare · · Score: 1
      If you need to do a three-column layout it will be much easier and give cleaner code to just use a table
      The thing is, it's not easier or cleaner. In fact, it's usually the opposite. With CSS, you develop the layout code once, and apply it to all the pages on your site simultaneously. With tables, you have to hack up stupid <tr>s and <td>s for each and every page you do. Mindless, boring, repetitive work.

      Maybe it's not easier or cleaner for you, but it is for me and apparently a lot of other folks. Of course, that could be because it isn't obvious how to make other methods work out the same way (e.g. to get the same presentation). As it turns out, either way involves the same number of elements to organize the content into the appropriate relations that can be handled in CSS, whether doing it by floats or by tables. But with tables, you do have a choice to do it in CSS (against div elements) or in HTML (the old way). But tables in CSS isn't supported by the current release of IE which so many people still use. Maybe IE7 will fix that. Maybe they can switch to FF. But until those things happen, the web developer has to deal with the reality of her particular audience, whatever that might happen to be. In the end, using tables works.

      --
      now we need to go OSS in diesel cars
    18. Re:table vs. div by Blnky · · Score: 1

      Sure no problem. Congrats on finding the solution intable form. I would just like to admit that I used to be a big believer in table based layouts. So I understand where anyone who still likes them is coming from. I have been doing things on the web since back when it was experimental. You know, the dark ages before search engines and netscape. :) Here is how to do this via CSS. I am including two examples which are actually the same thing. The first is organized similar to your example to you can compare. The second is a little more spaced out so you can get a better example as to what is going on. This was pulled, with permission, from production code. The actual production code has additional things like headers and footers.

      Open this in a reasonably compliant browser. For example FireFox or Opera. For clarity, I have pulled out the things to get ie to conform closer to the W3 specs. Here is the html...

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>Test</title><link rel="stylesheet" type="text/css" href="style.css" /></head>
      <body id="some-site-com">
      <div id="container">
      <div id="section1_wrapper">
      <div id="section1">Section 1</div>
      </div>
      <div id="section2">Section 2</div>
      <div id="section3">Section 3</div>
      </div>
      </body>
      </html>

      Here it is in a little more readable form...

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head>
      <title>
      Test
      </title>
      <link rel="stylesheet" type="text/css" href="style.css" />
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
      <body id="some-site-com">
      <div id="container">
      <div id="section1_wrapper">
      <div id="section1">
      Section 1
      </div>
      </div>
      <div id="section2">
      Section 2
      </div>
      <div id="section3">
      Section 3
      </div>
      </div>
      </body>
      </html>

      Save either one of those into an html file. Then save the following into a file called style.css
      #section1_wrapper {
      float: left;
      width: 100%;
      }

      #section1 {
      margin: 0 100px 0 100px;
      }

      #section2, #section3 {
      margin-left: -100%;
      width: 100px;
      }

      #section2 {
      float: left;
      }

      #section3 {
      float: right;
      }

      As you can see, both the table and css style are close in size, though I believe the css one may be a tad shorter. I havn't counted bytes. Both of these are

    19. Re:table vs. div by Blnky · · Score: 1

      Oh and forgive the posting of this as code and the occasional messed up space. Slashdot kept trowing up that stupid lamness/postercomment compression filter crap. Funny thing is, if I previewed what I posted then tried to submit it would reject it. If I just went back in my browser and submitted directly it worked. Wierd....

    20. Re:table vs. div by Anonymous Coward · · Score: 0

      Tables are easier for lazy and/or unskilled designers.

    21. Re:table vs. div by fean · · Score: 1

      If you're looking for flexible designs, or anything concerning Standards-Based Web Design, Take a look at A List Apart. They have many articles that show you how to do things like an elastic layout, which will allow for a max and min width, and the column adjusts to the window size between these two values. There are also wonderful articles that explain how to make font-size dependant layouts, which I didn't use on my Resume, but have used several other places.

      I designed my resume for default values, because that's the audience it's aimed at (i.e. Ever designer I know browses at normal font sizes, lest the site they're looking at look significantly different than what they intended for the broad majority of people... Also, HR and Managers are all more likely to have default values as well). I have a 150dpi monitor (Dell Inspiron, 1920x1200 15" LCD, do the math, 150ppi), but I still browse at normal font sizes for this very reason (I have normal sight).

      The graphic design for the site is the ONLY think keeping you from reading the site as it's meant to, there's nothing wrong with the layout. If I wanted to sacrafice my metaphor of a journal for usability, all it would take would be for me to put up different graphics.

      If I wanted to do some really fun Javascript, I could calculate the font size (put text of 12pt font on screen, find out height of text), then load background images that are the correct size for the text size, but I wanted my page to be as close to javascript free.

      So, now that we know that the "extreme usability failure" had been already identified, and considered to be not-an-issue because of the intended audience, And that it's not an issue of the table/Div layout, which is the topic of our discussion, how about you stop trying to be critical, and start noticing the benefits, such as:
      much nicer printing
      layouts which aren't constrained to square boxes
      accessibility for screen readers
      reduced page size (in my experience, at least 30% reduction in page size)
      The ability to use the data with other programs, such as Flash
      Easy adjustment of graphics, themes, layout without affecting the underlying code (i.e. a web designer can re-design a website without touching the code that generates the page in the first place...)

      I'll admit that you're correct, pages that are properly linearized can be read by page readers adequately. You mention a table with one row and three columns... Yeah, that'd be great if everyone stuck to layouts like that. But the fact of the matter is that before Standards based design came into the mainstream, you couldn't find simple layouts like that. You'd find tables that were nested three, four, five deep, sometimes they held a spacer image, sometimes just a space, sometimes they held a little graphic that was the curve to the rounded box on the table. Often times, there were tables for no other reason than to hold the graphics for the design, not holding any content what-so-ever.

      Standards Based design is all about seperating content and display. It's a philosophy thats followed, and it also has a ton of nice benefits. Really, that's what it's all about..

    22. Re:table vs. div by kiddygrinder · · Score: 1

      so what you're saying is that it's easier to do a three column layout for newbies because they don't do three column layouts? And i have also had 3 years in web design, any horrendously complicated layout can be done in includes, and since we're busting out incompetent coworkers as examples of why you shouldn't use one design method over the other, a coworker of mine spent over 15 hours trying to get a css based design to work in both major browsers when i could and have done similar designs in 10 minutes with tables.

      despite all this i do believe killing tables is the way to go in the long run, it's just not as simple as the tables=bad div=good equation everyone seems to be touting. there are a lot of tradeoffs to moving.

      --
      This is a joke. I am joking. Joke joke joke.
  32. I only care if it won't work with Firefox or Opera by WillAffleckUW · · Score: 1

    because those are my default browsers.

    If it's flash, it's really annoying, especially those auto-follow-the-mouse-show-teardown ones that don't let my move my mouse around, which really annoys me as I have multiple tabs open and I hate the advertisers who do that and will never buy their products.

    So, no, I don't actually care if it's W3C compliant, so long as it works with both browsers - I use Opera for email and Firefox to surf the web for news and sites.

    --
    -- Tigger warning: This post may contain tiggers! --
  33. I do care, but. . . by kimvette · · Score: 1

    I care, but unfortunately certain browser developers don't give a rat's ass, so attempting to get a page to render perfectly in ALL major browsers without being ultra-conservative and without having to rely on browser hacks like quirks mode or conditional comments is not an easy task.

    Furthermore, many open source projects generate HTML output that is so far from compliant that it's easier to just give up and rely on quirks and conditional comments to make things work, in comparison to spending the many man-weeks it would take to fix rendering problem of the various modules and plugins one would often use in conjunction with those projects.

    --
    The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    1. Re:I do care, but. . . by MartinB · · Score: 1
      Furthermore, many open source projects generate HTML output that is so far from compliant that it's easier to just give up and rely on quirks and conditional comments to make things work
      I don't know about the others, but certainly Drupal is entirely template driven. Don't like the default template? Fine, write your own. Every single user-presented element is configurable with fairly simple PHP templates. If the end result is non-compliant, that in no sense is a failing in the CMS, but in the template developer.
      --

      The only thing you can accurately describe as "Scotch" is a sticky tape made by 3M. And it's

  34. My employer requires that I care! by soliptic · · Score: 1
    Contrary to some earlier posts, saying "my own stuff I care, but at work, it just has to work" -- it's my employer's policy that all our sites should be fully valid XHTML/CSS. Therefore, any site I make, must pass. Well, I say "must" - in practice nobody superior to me actually checks these things as far as I know, but I damn well make them valid anyway.

    In practice - our main website actually doesn't validate! Our (proprietary) content management system munges code, so that even if I enter valid xhtml, it doesn't come out valid at all. This should be fixed in the next update hopefully... although even then it will take a huge overhaul to bring our vast website into 100% standards compliance. Until then, at least all our non-CMS microsites are valid. I've also helped persuade them to use Plone as the basis for our new intranet, partly because it adheres to pretty much every web standard under the sun.

    Even if they didn't have this policy (and outside work, where I'm under no such direction), I still care. Why? Well... hmmm... frankly, I think it's about a typical geek trait as much as anything. Confused?

    Basically, although one could reel off the supposed reasons why standards are all good (cross browser rendering, accessibility, etc), but there are counter-arguments to these anyway. (Cross browser rendering? Barely any browsers REALLY support all the standards, and the hugely dominant one doesn't do so at all. So the pragmatist could argue standards aren't the de facto route to platform-independent equivalent rendering. Accesibility? It's doubtless possible to follow standards and be inaccessible, and vice versa...)

    No, if anything, the real reason I love sticking to standards is that good old geek habit of enjoying a challenge. Let's face it - it's easy to make a site that looks good in one browser and sucks in the rest. It's easy to make a site that looks good if you just do the whole bastard thing in flash. It's easy to make a site that looks good across all browsers if you ignore the standards and fill your markup and CSS with hacks. But make a site that looks good across all browsers, using the onion skin of gracefully degrading web technologies (Server side language of choice->XHTML->CSS->JS) and nothing more, and all 100% standards compliant?

    Now that's a real challenge ;-)

    I'd link you to my employer's site, or some of the standards-based microsites I've done, but it's a charity, and I don't want to land them with a bandwidth bill :-)

  35. I care by pci · · Score: 1

    I'm almost OCD when writing sites to be at least HTML 4.0 transitional, and if I have a few minutes to kill I go for HTML 4.0 strict or XHTML 1.1 strict.

    Yes I'm retarded, but I just don't feel like I have fully completed a public facing page until it is compliant.

  36. Search ranking by Anonymous Coward · · Score: 0

    My ISP tells me that sites that are compliant rank higher in searches. That would be a powerful reason to comply. Is he right?

  37. Both yes and no by qa'lth · · Score: 1

    Surprisingly, I both do and don't care.

    My current project uses the name="" parameter inside of tags, which isn't part of the standard, but is surprisingly useful anyway.

    I also make use of the _ trick for dealing with IE's boneheaded CSS.. which definitely doesn't validate.

    Take those two out, and everything does validate. It's not great, but it does work nicely on IE, Moz, Opera, and Safari, which impresses me nicely. :)

  38. Kinda by bcat24 · · Score: 1

    The answer for me is yes and no. IMO, it's a very useful tool when developing a website/webapp/whatever. That said, in the Real World, there are more important things than validation. (/me carefully glances around for standards zealots.) Stuff like semantics, security, and accessibility. It makes me sad to see a "valid" site loaded with crappy '90s DHTML, layout tables, and a bunch bad alt attributes. I'd much rather see a good, modern site that happens to have a few validation errors.

  39. Fun pages: Yes. Work pages: No by Leviathant · · Score: 1

    Ironically, I only validate my hobby site for XHTML/CSS2 strict compliance. I like to pretend that it keeps me on my toes. However, I don't actually design any of the sites I work on at my job, and they're done entirely in Visual Studio, which makes them entirely unfriendly to standards. I realize this is a lame excuse, but it is far too time consuming, and our clients generally do not care. I obviously am aware of all the benefits, given the attention I've paid compliance via my large-ish hobby sites, but there's not enough motivation to adhere to that in our developing environment. I might as well add that my happy-go-fun sites run PHP/Perl/MySQL on Apache, and the sites I get paid for run asp.net on IIS.

    --
    I am Leviathant and I approve this message.
  40. Not really by linvir · · Score: 1
    Earlier this year, I was significantly less knowledgeable in webdesign. And I had quite a hostile attitude towards standards zealots. Heh, that page even has a load of factual errors that must have really clouded my judgement on the whole issue, not to mention the stupid ideas (don't you just hate reading old blog posts?).

    A lot of stuff has changed since then. My site has a new URL, it now carries a basic doctype and a lone meta tag.

    I've developed my ideas a lot since then, through discussion about this issue on Slashdot, coincidentally, but my overall opinion is still that if the HTML is of a good quality and it renders right in about half a dozen major browsers, my job is done. My opinion of standards is that they aren't black and white. There are two layers to almost every rule and standard: the beautiful theoretical layer, and the beaten and twisted practical layer. My 'validators' are the very programs people will use to view my work. Internet Explorer, Firefox, Konqueror and so on.

    I think people like the W3C validator because it pats them on the back and gives them big green 'YOU WIN' feedback. It's a way to have something tell you that you made a good site without taking into account the content and aesthetics, which for some people is a crutch.

    Obviously there's a balance between these two sides, one which I have yet to reach. My experience is that the real experts don't tend to have extreme views on stuff like this. An extreme view impairs your ability to know when to use the tool for its intended purpose.

    Some people will do the typical Slashdot thing with this, which is to take everything you disagree with as a sign that the person who said it is evil or a dickhead. The reality is that there are different kinds of pathetic nerd. Some enjoy the inital creation almost exclusively, and others get equal enjoyment out of the refining stage at the end. I'm the first kind, the typical lazy programmer who prefers writing cool new features to debugging. So please take a deep breath if you're thinking of singling me out as the cause of all evil in society.

  41. The value of a smoketest by tepples · · Score: 1

    More important is being able to render actual pages.

    But if a CSS engine can render Acid2 correctly without including a lot of Acid2-specific bullshit hacks, then it is more likely to be able to interpret standards-conforming web pages correctly.

    1. Re:The value of a smoketest by WilliamSChips · · Score: 1

      That much is true, but so far no browser is able to render Acid2 correctly without putting Acid2 over actual pages.

      --
      Please, for the good of Humanity, vote Obama.
    2. Re:The value of a smoketest by tepples · · Score: 1

      no browser is able to render Acid2 correctly without putting Acid2 over actual pages.

      Did you mean "actual pages" to include non-conforming pages, such as those that depend on Microsoft's misinterpretation of CSS? I seem to remember one popular browser engine that runs everywhere but on Windows falling short by one mere scrollbar.

  42. standards first by headlessspider · · Score: 1

    i try to apply the standards first. if that doesn't work (obssessive/compulsive website owner wants top and bottoms exactly aligned with top and bottoms of images) then i go with deprecated standards.

    --
    -- and if life has failed you leave the cross you're nailed to
  43. Yes, of course by swimmar132 · · Score: 1

    On my Ruby on Rails sites, every (changed) page is automatically re-validated every time I make any change that would affect a page.

    (I use the assert_valid_markup or assert_valid_asset plugin)

  44. What's the Strict equivalent to li value? by tepples · · Score: 1

    I make sure that ALL my clients' sites are HTML 4.01 Strict compliant

    So what do you do when you want to start an ordered list at a value other than 1? Example: the track listing of the album Follow the Leader by Korn that must start at 13, or top 10 lists that must start at 10 and step by -1. In HTML 4.01 Transitional and XHTML 1.0 Transitional, the deprecated value attribute of the li element does this, but like other deprecated elements, it's not present in Strict. How do you work around this? Until IE supports CSS counters, which are the W3C's official alternative to li value, user agents are still in the HTML 4.01 Transition.

    Or have you carefully worded everything in your clients' web sites to avoid having to create such a list?

    1. Re:What's the Strict equivalent to li value? by briansmith · · Score: 1

      So what do you do when you want to start an ordered list at a value other than 1?

      I believe that the numbers in an ordered list are part of the document, not part of the presentation of the document.

      Take the track listing for Follow the Leader and put it into a table with columns "Track #," "Title," and "Length." Then you can't use ordered lists anymore (at least, not while retaining useful semantics). And, if you allow the users to sort the table by columns other than "Track #", then you cannot use any kind of HTML/CSS auto-numbering--you don't want the tracks to get renumbered just because they are presented in a different order.

    2. Re:What's the Strict equivalent to li value? by tepples · · Score: 1

      I believe that the numbers in an ordered list are part of the document, not part of the presentation of the document.

      Which is why <li value="..."> should never have been deprecated, as despite what the HTML spec says, it's actually semantic markup in the same way that the value attribute of an input element is semantic markup. In fact, WHATWG's version of HTML has undeprecated the attribute.

      Take the track listing for Follow the Leader and put it into a table with columns "Track #," "Title," and "Length."

      For each table element, you have to pay somebody to write the summary attribute.

    3. Re:What's the Strict equivalent to li value? by briansmith · · Score: 1
      For each table element, you have to pay somebody to write the summary attribute.


      I am not sure what point you are trying to make. If you want the data in a tabular fashion, then you would use a table. Whether or not you have a summary depends on many factors--a good explanation of these factors appears in the Web Content Accessibility Guidelines. Often, if your table has a caption, and its columns are labeled appropriately, you will not need a seperate summary. A summary is needed mostly for tables that have complicated structures (spanning columns and rows, for example).

      But, anyway, I wasn't trying to advocate using tables as a substitute for ordered lists. I was just pointing out that the automatic ordering of the OL tag is not helpful to you if you decide to change the presentation of the data from a list format into a tabular format.
    4. Re:What's the Strict equivalent to li value? by SocialEngineer · · Score: 1

      If there is enough data to the point to where it can't be managed efficiently via just simple manual numbering, or if the data is redundant, I use a MySQL database and PHP. I've also used a flat file setup before.

      --
      "Better to be vulgar than non-existent" -Bev Henson
  45. I hate to break it to you guys... by firegate · · Score: 3, Insightful

    but I don't think W3C qualifies as a "standard" - it's simply a guideline at this point, and as much as we all might like it to evolve into a true standard, it doesn't qualify when only one or two obscure browsers properly support it. Granted, IE's marketshare has fallen in recent years, but it still boasts a claim to well over 80% of the browser market, and as long as it maintains such a vast lead, IE compliance IS the standard whether we like it or not.

    Flame on, but remember that I am on your side here - just more of a realist ;).

    --
    "Make it idiot proof, and someone will make a better idiot."
  46. Validating is less work by Tux2000 · · Score: 1, Flamebait

    How I write web pages (and web applications): Code it, open in Opera, look for obvious errors, hit Ctrl-Alt-V to validate the page using the W3C validator. If W3C says the page is valid HTML, my work on that page is done. Else, fix what the validator marks as wrong. If a browser can't render the final page properly, the browser is broken, not my page. I don't have to test my page for hours with a heap of browsers, some quick validator runs are all I need.

    No, I'm not a web designer. I prefer pages that can be scaled up and down using the browser settings, as preferred by the user. I prefer simple, formatted text (simple HTML, perhaps without CSS) to webpages that torture the browser into a pixel resolution grid. Those pages are easily written, easily validated, easily rendered, and look pretty good in all browsers.

    Tux2000

    --
    Denken hilft.
  47. Funny you should ask... by Solra+Bizna · · Score: 1

    I just finished work on a website. I decided to make it completely XHTML and CSS compliant. And to my shock and horror... it rendered perfectly in every browser I tried! (note: did not and will not try IE) So from now on, I'm definitely coding to the standards.

    -:sigma.SB

    --
    WARN
    THERE IS ANOTHER SYSTEM
    1. Re:Funny you should ask... by barefootgenius · · Score: 1

      I hope you didn't use css then because Internet Explorer will mangle your box sizes.

      --
      /. bug #926803 - Why I can post.
  48. Uh. by floamy · · Score: 1

    Yes. A browser passing ACID2 is much different than XHTML being actual XHTML.

  49. Hmm by RalphSleigh · · Score: 1

    I write nice valid code for Firefox, then mangle it for IE, the only time I had to break standards for FF was on some kind of image map name thingie.

    Now why is /. forbidding the validator?

    --
    Come as you are, do what you must, be who you will.
    1. Re:Hmm by JayTech · · Score: 1

      Maybe because they have 7 errors? LOL. Try c&p the source to see for yourself.

  50. Validation has zero value to the end user by Anonymous Coward · · Score: 0

    All the end user cares about is if it displays correctly in their browser.

    Screw standards and do browser based testing.

    If you want to do both, fine, but its a waste of money.

    However, you should use CSS because from a design perspective it is easier and reduces duplication.

  51. Great point!! by i+am+kman · · Score: 1

    Who really cares about the W3C anymore?

    The article talks so much about how not supporting multiple devices and such will slash your market share. He's obviously either academic or on one of those lame standards committees. How much business do I really lose because all 20 of the Palm Pilot surfers don't visit my site? It has ZERO impact to my business and I could care less about those users.

    And, almost by definition, standards are 1-3 YEARS behind technology so embrace as needed, but don't let them hold you hostage.

  52. Don't you mean "Is your IDE W3C Compliant?" by Salamanders · · Score: 1

    What the hell, why do I have to worry about this crap? English, which has WAY less defined grammar rules, can still be decently parsed by MS Word and display a squiggly green underline under the sentences that don't work right.

    Where is my free, lightweight, W3C editor with a squiggly green underline?

    1. Re:Don't you mean "Is your IDE W3C Compliant?" by Anonymous Coward · · Score: 0

      Squiggly line not included.
      And while I've not used it Nvu looks interesting.
      Of course, real mean use emacs^Wed.

      P.S. Captcha sucks fat donkey balls, and ain't exactly standards compliant...

    2. Re:Don't you mean "Is your IDE W3C Compliant?" by damian+cosmas · · Score: 1

      What the hell, why do I have to worry about this crap? English, which has WAY less defined grammar rules, can still be decently parsed by MS Word and display a squiggly green underline under the sentences that don't work right

      It also frequently puts the green squigglies under sentences with no grammatical problems. For some reason, it still has difficulty with "that vs. which" situations, at least as far as Strunk and White is concerned. It also rephrases all attempts at gender-neutral writing in the most obtuse manner possible (I've since turned off *that* particular grammar-check option).

      Where is my free, lightweight, W3C editor with a squiggly green underline?

      It comes with the next *free* version of MS Word, of course!

  53. Compliance is of utmost importance by Abu+Hurayrah · · Score: 1

    Without a doubt, I try to make every webpage I design that is more than just a quick test script comply, at the very least, with one of the X/HTML doctypes - whether it's transitional or strict. I do this at work & at home, on my own personal projects. Naturally, you're limited with what you can do when you have to design for IE, but that's called the "Real World". I'm blessed at work to have co-workers that agree with this, for the most part. Sadly, our working code base is not compliant, but you do what you can.

    The best point I saw mentioned above was that compliance is the best bet that what you make work on a website now will also work in the future. If you design for one particular platform or agent, then you'll be out of luck if that changes. This is really only a discussion for someone who is shortsighted - along the same lines of reasoning as the ones that think 1GB of RAM is more than you'll even need & you'll never fill up those new 750GB hard drives. Sadly, human beings are far better at seeing what they've already passed than what is coming up, and don't seem to be able to extrapolate from that.

    Standards-compliance is one of those good design practices that carries with it the lessons learned from the past. Coupling it with separation of presentation & content (e.g., XHTML & CSS), a standards-compliant website ends up being really nice.

    But, the vast majority of otherwise intelligent developers will probably succumb to the ideology of instant gratification & short-term gains - "I did it in five minutes!" - "It works on 90% of people's computers". This is the same flock that doesn't leave comments in their code & think no one else needs to understand it after it's done - including themselves!

    --
    Kindness is not to be found in anything but that it adds to its beauty...
  54. Firefox with HTML Validator Extension by munwin99 · · Score: 1

    Title says it all.
    It may not be 100% perfect, but it's damn good.
    Write the code with a text editor, then check the page with Firefox and the ext. Most of the time IE is damn close to working (IE6 anyway), the way Firefox does.
    Caveat - I am not a pro designer, and do not use heavy javascript, and only moderate amounts of CSS.
    Check OSWD for compliant designs, and use them as a base. This saves me lots of time (once again, I'm not a pro designer).

    --
    What's On Your Network ??? http://www.open-audit.org/
  55. In a word (or two) by Trogre · · Score: 1

    Hell yes!

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  56. I validate... Kinda by DamnedNice · · Score: 1

    I design and code my sites in Visual Studio; though the ASP.NET C# code generates additional HTML that can't be checked from within VS2005. I try to keep that part as close to W3C as possible, but sometimes compliance just makes it harder to get things done. The CSS validates, usually... The biggest problem I see is alot of web hosts add non-compliant tracking code to each page.

    --
    Slackmaster K Proprietor, DamnedNice Blog
  57. No by musselm · · Score: 1

    N-O means no.

    Thanks!

  58. The defacto standard by hhr · · Score: 1

    This is not a troll. For most businesses out there there is only one standard... IE. I hate to say that, but it's true. I run a small business with a website. It's not a technical business, just a boring store like you may see in any mall. Are customers are ordinary middle class people. Our website got 729 hits last week. 684 from IE (only 659 from IE6!) 22 from Fire Fox. 17 from Safari. 2 each from Opera & Netscape. One each from Konqueror & Mozilla. So, if it looks good in IE and is passible in Firefox and Safari then we're done. I know that 99% of my customers can see what they need and we really can't afford the extra budget to satisfy the remaining 1%. W3C Complaint? I can't afford to care.

  59. I SO don't care by Gothmolly · · Score: 1

    I edit my html in vi, and view it in IE. If it looks good, its done.

    This works for all of our internal 'dashboard' and utility websites that we run in-house. I work for $LARGE_US_BANK.

    Note: I have nothing to do whatsoever with our externally facing "online banking" site.

    --
    I want to delete my account but Slashdot doesn't allow it.
  60. Only if... by GWBasic · · Score: 5, Interesting
    Only if it doesn't compile.

    On a more serious note, the only way to solve the problem is to have browsers shame non-complient pages. Specifically, if IE7 displayed a dialog that said, "This web site is constructed improperly and might not work as expected" every time it hit an invalid page, things would change VERY FAST.

    1. Re:Only if... by Tuross · · Score: 1

      You're almost correct.

      As the current W3C standard for HTML markup is based on XML and the correct thing to do with a non-compliant XML document is discard it; when the browser hits a non-compliant page and simply refuses to even attempt to render it - things will change real quick.

      Of course, since Microsoft writes both the software that creates non-compliant pages (FrontPage) and the software that renders them (IE) in reality nothing will change until people have the common sense to dump everything Microsoft.

      --
      Matt
      1. Read Slashdot
      2. ???
      3. Profit
    2. Re:Only if... by Anonymous Coward · · Score: 0

      Perhaps a better way to get developers to create valid HTML/XHTML would be for Google to reduce the page rank of pages with invalid markup. Of course, this should and never will happen.

    3. Re:Only if... by Tom · · Score: 1

      if IE7 displayed a dialog that said, "This web site is constructed improperly and might not work as expected" every time it hit an invalid page, things would change VERY FAST.

      Yes. People would stop using IE7 faster than you can say "downgrade".

      --
      Assorted stuff I do sometimes: Lemuria.org
    4. Re:Only if... by GWBasic · · Score: 1

      ... There's one small problem. In the real word, if a developer is having trouble with XHTML, (s)he'll just switch back to invalid HTML.

    5. Re:Only if... by GrouchoMarx · · Score: 1

      If it meant fewer people using IE, whatever the version, it would be a step forward for web standards. IE 7, from what I've seen, will still be well-behind the competition in terms of modernity.

      --

      --GrouchoMarx
      Card-carrying member of the EFF, FSF, and ACLU. Are you?

    6. Re:Only if... by seriesrover · · Score: 1

      What you've got to remember is that companies and other organisations (ie. the major web outlets - not talking personal or low traffic websites) are who you have to convince and thats not going to happen. When you spend thousands of advertising dollars to bring customers to your site why then piss them off and give them a reason to go elsewhere?

    7. Re:Only if... by RalphSleigh · · Score: 1

      The silly thing is they could do this, give web devs 6 months notice before the release of I.E 7 and promise auto update will put it on atleast 50% of home computers within a couple of weeks of release. They might even get away with their browser share intact...

      Ofcourse it would require them to produce a standrd complinet browser...

      --
      Come as you are, do what you must, be who you will.
    8. Re:Only if... by Threni · · Score: 1

      > Specifically, if IE7 displayed a dialog that said, "This web site is constructed
      > improperly and might not work as expected" every time it hit an invalid page,
      > things would change VERY FAST.

      The fact that it doesn't - and that the browser in question was designed by one of the largest corporations in the world - should tell you something about how important standards are.

      Most people would go `What the hell is this crap? Why would I care? Am I expected to email a bunch of sites every day and tell them to `construct` their site differently?` Then they'd ask their techy friends/support how to disable the message. Then that would be that. It would be about as useful and welcome to them as "error 94" or whatever.

    9. Re:Only if... by Anonymous Coward · · Score: 0

      "invalid use of NULL" - what's wrong with that?

    10. Re:Only if... by Anonymous Coward · · Score: 0

      bwahhahahahaa!!!

      More like 'next web page'. Some people think their web page is the end all be all of all web pages. There are billions of pages out there. Most people 1) will not know it is wrong 2) care 3) just go 'hm something wrong with that page next page'.

      Why would anyone really care? As most people just go 'oh anoying popup close'.

      I know thats what I would do. What would you do? Maybe look for a way to disable it? Also Netscape broke many many many pages in its lifetime. At one point it was *the* browser to have. Why couldnt IE do the same, as its currently top dog?

      As I like to tell people when I am writting display items 'garbage in garbage out'. Oh some garbage I can control, others...

    11. Re:Only if... by GWBasic · · Score: 1
      Most people would go `What the hell is this crap? Why would I care? Am I expected to email a bunch of sites every day and tell them to `construct` their site differently?` Then they'd ask their techy friends/support how to disable the message. Then that would be that. It would be about as useful and welcome to them as "error 94" or whatever.
      Exactly! But if you were paying someone to design a web site and it displayed such an error, what would you do? If you were a CEO and your company displayed such an error, what would you do? Those are the people who the error message targets.
    12. Re:Only if... by Threni · · Score: 2, Interesting

      > If you were a CEO and your company displayed such an error, what would you do?
      > Those are the people who the error message targets.

      Depends if I thought I'd lose money over it. Imagine if eBay, google, or whichever company you use to get PC components displayed that message. You'd still use the site. You'd just disable it. It's a meaningless message - nobody cares if a browser is compliant or not. You're just not going to get the public en masse to start emailing the owner's of websites who aren't compliant demanding change - ain't gonna happen.

      It would be a crazy decision for Microsoft or Mozilla or whoever to make - to have the message displayed as default. It would just generate thousands of support calls or annoyed emails etc, and absolutely no gain.

      I've used many browsers and visited many websites over the years and I simply have no interest in knowning whether or not a site/browser is compliant. Some sites I couldn't visit because of their reliance on Active-X controls, but the idea that my mother cares whether or not LeetBlogSpot.html has a missing semi colon 45k down the source code is laughable.

  61. Absolutely by Anonymous Coward · · Score: 0

    Since I'm working for the Government of Canada, I have no other choice. It's not a bad thing really. Just install the Web Developer extension for Firefox and you're halfway there. It got shortcuts to validate the HTML and accessibility checkpoints. You'll just have to spend a couple of minutes extra per page to make them compliant with Treasury Board's guidelines (which pretty much follows W3C). The good part is that once all the compliancy checks have done, you know that visually impaired people have a slightly easier time to read your page with JAWS or whatever screen reader they're using. You can of course mess them up by nesting multiple tables.

  62. Validate, goddammit, validate! by martinultima · · Score: 1
    Every single Web site I visit, the first time I'm there, there's two things I always do: Validate it, and check it against Netcraft to see what kind of servers it runs on. Every time. That's always been the first thing I do. I honestly don't like all that stupid evangelism crap, because the overzealous ones really get annoying, but there are reasons that I validate everything and encourage others to do the same:

    •    
    • I want to be able to access the site on any standards-compliant browser, and

    •    
    • The hell with it, it's just not Linux techie-like to ignore Web standards!


    I remember the first time I heard about the validation service. My entire homepage, which was then a collection of static HTML pages, was a horrible mess. So what did I do? I went through every single page and re-wrote it until it was HTML 4.01 Strict. Then as soon as I heard about XHTML and realized how much better it was, you guessed – re-did the entire thing as XHTML 1.1.

    Personally, there's two other things I like to pay attention to when designing a page: Make sure that all the layout is done in CSS, and use as little JavaScript as possible. My rule of thumb as far as Web sites go: If I can't see anything in Lynx, it's not worth my time. And yes, I am a Lynx addict.

    These days I've got everything on my site managed with a homebrew content management system, Überpage. The first thing I did when designing it was make sure it used exclusively valid XHTML 1.1 and CSS code.

    By the way, timing on this story's pretty convenient, because I just finished revising a page about designing good Web sites on my homepage, too... you'll have to forgive the stupid URL (html.html), most of the stuff on my site's been there for years, and because I've got so many links all over the place it would be suicide to change the URL's yet again...
    --
    Creative misinterpretation is your friend.
    1. Re:Validate, goddammit, validate! by martinultima · · Score: 1

      Sorry about the screwy line breaks, by the way, I keep forgetting the stupid "Plain Old Text" thing...

      --
      Creative misinterpretation is your friend.
    2. Re:Validate, goddammit, validate! by linvir · · Score: 1

      Thank you for being that guy that lets the rest of us breathe a sigh of relief that we're not the weirdest person on Slashdot!

    3. Re:Validate, goddammit, validate! by martinultima · · Score: 1

      Actually, I guess I am kind of weird... I'm an IB student, a Linux hacker, the Webmaster of what seems like three million Web sites (all validated ;-), a would-be author... and I actually still have time for my life! [TIP: Most of the hacking stuff can be done really late on weekends...]

      --
      Creative misinterpretation is your friend.
  63. No by marlinSpike · · Score: 1
    I don't care. Try the W3C complaince tool against any popular website, and it's virtually guaranteed to fail... while still loading properly in just about every popular browser.

    Likewise, anyone who can read and understand English can comprehend what we're all writing here, while not much of the text may be up to the standards of the Queen's English.

    Who cares?

  64. I use HTML v2 or v1 by Anonymous Coward · · Score: 0

    seriously, what possible need do 99.999999% of websites need for more than simple table tags, headers, list items, and fonts? navigation bars belong in frames or in a column of a table. Yeah has been around a while, but really, all this CSS and XHTML is a total waste of time and energy. websites are supposed to be stupidly simple. maybe a couple of graphics to spice things up a touch but that's it. And I fscking HATE script languages! If the page won't work right with javascript totally disabled, then IMO you should be drawn and quartered and your head stuck on a pike.

  65. why should I by renegade600 · · Score: 1

    what I do is to view the pages I created in all the major browsers in both winxp and linux using different window sizes. If they look good, I leave them alone. If it does not work in one browser I will fix it.

  66. Acid2 and standards by RC_Car · · Score: 2, Insightful

    Isn't Acid2 a test on how a browser handles errors? If all browsers handled errors the same way, then couldn't some errors end up turning into standards?

    Acid2 feels like a step in the right and wrong direction at the same time.

    1. Re:Acid2 and standards by shutdown+-p+now · · Score: 1

      ACID2 does test error handling among other things (what is well-defined in the standard, anyway), but it is not the only thing it checks for, and not even the most important one. See for yourself.

    2. Re:Acid2 and standards by porneL · · Score: 1

      CSS defines strict error handling for forward compatibility. CSS3 will look like invalid markup to CSS1/2 browsers.

  67. oh, the irony by circletimessquare · · Score: 2, Interesting

    i'm working with xml and client-side xslt to render xhtml output on the client browser

    it's almost impossible to make nonstandard code this way

    the irony is that firefox and ie have no problems with this, while opera doesn't support xslt transforms at all

    so the most compliant standard browser isn't up to snuff with the most compliant type of code methodology

    (which, in a way, makes sense, because by avoiding xslt work, opera can continue to be the extremely lightweight browser it is... you can't support everything if your biggest selling point is how lightweight you are)

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:oh, the irony by shutdown+-p+now · · Score: 1
      How would applying XSLT server-side make it any less compliant? It is less convenient for the developer, but aside from that...

      On a side note, Opera 9 beta (which is specifically the one claimed to be standard-compliant - 8.5x certainly does not pass ACID2) does support client-side XSLT.

  68. Nobody's Flash Validates All the Time by Anonymous Coward · · Score: 0

    Proof Nobody W3C Validates All The Time:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww .nobodyforpresident.org%2F

    http://jigsaw.w3.org/css-validator/validator?uri=h ttp://www.nobodyforpresident.org/

    No error or warning found
    Congratulations!

    Valid CSS! This document validates as CSS!

    [snip]

    sIFR-flash {

            * visibility : visible !important;
            * margin : 0;

    }

    [snip]

    Note on page: "Non W3C Browser - can't see above animation? - Click here"

    Source: http://www.nobodyforpresident.org/

  69. which makes the validator useless by r00t · · Score: 1

    I might have some serious problems in my web page. If I validate it, I'll have to wade through 1000 silly little minor things.

    Example of a minor thing: unknown attribute. Well, no shit. You're supposed to ignore unknown attributes.

    Example of a major thing: the closing tags and opening tags got swapped

    1. Re:which makes the validator useless by hahafaha · · Score: 2, Insightful

      No, that makes your code useless. The point of an attribute is to describe the behavior of a tag. If the attribute is unknown, then the tag does not behave the way in which you told it to. That makes that attribute, a part of your code, completely useless.

      This useless string takes up bandwidth. Now, granted, one attribute isn't going to change much, but 1000 will. I don't see how you can blame someone else's code when it is your code that is wrong.

    2. Re:which makes the validator useless by r00t · · Score: 1

      Of course the tag is only unknown to the validator. It's known to me, and to a number of web browsers.

      Basically the validator is non-compliant by failing to ignore unknown attributes and tags.

      But whatever... it's their loss, assuming they'd like people to write valid HTML. I just won't use the validator, and maybe I'll have a few wrongly nested tags, but at least my pages will look OK in whatever popular browser I use for testing.

    3. Re:which makes the validator useless by Anonymous Coward · · Score: 0

      what about javascript atributes, onmouseover, onclick, ...
      In xhtml they are unknown atributes too.

      So, no javascript effects then when creating a page in xhtml format? Are you going to tell your boss that you can't do the fancy effects he pays you for? Just so the page can be xhtml compliant.

      html transitional is fairly easy to pass though.

    4. Re:which makes the validator useless by byolinux · · Score: 1

      Er.. what tag are you using that the validator doesn't understand?

    5. Re:which makes the validator useless by Bogtha · · Score: 1

      I might have some serious problems in my web page. If I validate it, I'll have to wade through 1000 silly little minor things.

      And that's a reason to not ignore the specs for "silly minor things". It's like compiling C. Compilers can spit out hundreds of warnings. The best developers fix the warnings straight away, even when they don't think they'll cause any problems. Because then it makes it a lot easier to spot when an important error creeps in. And, sometimes, the warnings were there for a reason and if you ignore them, you'll run into trouble when you try running your program on a different platform or something.

      The fact that the validator catches all your errors is not what causes the problem; that's its entire purpose for existing. It's trying to ignore the spec and making thousands of mistakes in your code that causes the problem.

      You're supposed to ignore unknown attributes.

      There's no defined error handling for HTML. The spec contains a suggestion, but it's not normative.

      --
      Bogtha Bogtha Bogtha
    6. Re:which makes the validator useless by Bogtha · · Score: 1

      what about javascript atributes, onmouseover, onclick, ...
      In xhtml they are unknown atributes too.

      No they aren't. You do know you have to use lowercase, right?

      So, no javascript effects then when creating a page in xhtml format?

      Wait a second, onmouseover etc are really old-fashioned ways of adding JavaScript event handlers from way back in the mid-90s. You certainly don't need them to use JavaScript. That's what things like addEventListener() are for.

      --
      Bogtha Bogtha Bogtha
    7. Re:which makes the validator useless by Phillup · · Score: 1

      The spec contains a suggestion, but it's not normative.

      You mis-spelled informative

      --

      --Phillip

      Can you say BIRTH TAX
    8. Re:which makes the validator useless by Tacvek · · Score: 1
      You mis-spelled informative
      Actually he did mean Normative.
      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    9. Re:which makes the validator useless by hahafaha · · Score: 1
      but at least my pages will look OK in whatever popular browser I use for testing.

      Exactly. Not everyone uses the ``popular browser''. The popular browser, at the moment is IE. I, and many others are using Firefox. Now, both I.E. and Firefox generally handle errors quite well. But other browsers often don't.

      Do you remember the old buttons on web pages from the nineties -- the ones that said something like ``Best viewed with Internet Explorer''? This is what you're doing. Do you really think people are going to switch their browser just for you?

    10. Re:which makes the validator useless by Phillup · · Score: 1

      Ah, no sense of humor eh?

      Read the sentence with the corrected spelling...

      --

      --Phillip

      Can you say BIRTH TAX
  70. Yes, and without hacks. by Metasquares · · Score: 2, Insightful

    I not only validate my pages, but I also don't use any HTML or CSS "hacks". Sometimes this means using tables for non-tabular data. Sorry to trample on current web dogma, but users won't notice "semantic code" - they will notice a site that doesn't render properly in their browser due to CSS hacks. I didn't have to change a thing to make my sites work in IE7. If you use hacks, you probably can't say the same.

    Besides, if you truly want a semantic web, you should code your pages in OWL! It's the logical conclusion of the current trend. I specialized in knowledge representation and reasoning and I could never understand what that language was getting at.

  71. Amazed by mrthoughtful · · Score: 1

    It amazes me that there are coders - even managers - who have posted here and do not use xhtml in utf-8.

    Moreover, it amazes me even more that an xml signature in front of validating xhtml sticks MSIE into quirks mode.

    We've been writing valid xhtml utf-8 sites for years now. The advantages are many. xml coding turns content into an asset beyond mere presentation - and data miners and other intelligent agents can make use of xml with ease.

    I guess that many people just never bother to learn how to code properly, or don't see the long term benefit to their sites, or to the sites commissioned by their clients.

    --
    This comment was written with the intention to opt out of advertising.
  72. Standards compliance by Anonymous Coward · · Score: 0

    Yes I care about W3C standards compliance. I take pride in my work and do not settle for bodges. There are also benefits to producing clean code, in bandwidth and processing savings. More sites and publishers should be making the effort to ensure that the pages they present are in compliance to accepted standards. My site http://slashboot.org/ is standards compliant and I take pride in that. I prefer XHTML Strict, as I see this becoming a future standard of choice for the majority of people who also take pride in their work

    1. Re:Standards compliance by Hakubi_Washu · · Score: 1

      Then why does your server send it as "Content-Type: text/html; charset=iso-8859-1" instead of "application/xhtml+xml", like the standard requires and my browser accepts ("Accept: text/xml,application/xml,application/xhtml+xml,tex t/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" )? Because "in Mozilla it is rendering slower"? That is my decision, not yours. Because "IE would fail to display"? Configuring Apache (via .htaccess, if you don't have w on the main config) to distinguish (sending everything not accepting xhtml then default text/html header) by Accept is trivial:

      RewriteEngine on
      RewriteBase /
      RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
      RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
      RewriteCond %{REQUEST_FILENAME} \.html$
      RewriteCond %{THE_REQUEST} HTTP/1\.1
      RewriteRule .* - [T=application/xhtml+xml]

    2. Re:Standards compliance by SlashBoot.org · · Score: 1

      My pages validate as XHTML 1.0 Strict and are well formed. My web site, my server, my choice. I have my reasons for how pages leave my server and I and my professional conscience/pride are happy with how I am doing things. I know that using mod_rewrite rules according to accept headers is a trivial matter, but I choose not to. I believe in simplicity where ever possible and do not believe in introducing complexity where it is not mandatory to do so. Thanks anyway.

    3. Re:Standards compliance by Bogtha · · Score: 1

      Then why does your server send it as "Content-Type: text/html; charset=iso-8859-1" instead of "application/xhtml+xml", like the standard requires

      XHTML 1.0 following Appendix C can be sent as text/html. You might not like it, but that's what the RFC says. It is not incorrect to send XHTML as text/html.

      Configuring Apache (via .htaccess, if you don't have w on the main config) to distinguish (sending everything not accepting xhtml then default text/html header) by Accept is trivial

      The code you suggest is broken and can fuck up websites. You need to include a Vary header, and even then your code sends application/xhtml+xml when text/html is preferred.

      Please, give the zealotry and bad advice a rest. You aren't helping anybody by telling people they are wrong when they aren't and suggesting code that can mess things up for them.

      --
      Bogtha Bogtha Bogtha
    4. Re:Standards compliance by SlashBoot.org · · Score: 1

      Indeed. The code suggested can result in exposure of the source code of scripts and is one of the complexities that I do not want to be juggling with. No need to be wasting precious processor cycles on rules that then need extra processing to counteract.

      As I say, simplicity is the key for how I like to do things.

  73. Opera 9 and Safari 2 are both beta by MojoStan · · Score: 2, Informative
    I don't know why the article submitter said Opera 9 was the only compliant browser when the ACID2 Buzz page clearly shows other browsers (at least in beta form) have passed the test.

    Anyhoo, the ACID2-compliant versions of Opera and Safari are beta releases and not displayed on their main download pages. Opera's download page displays Opera 8.5.4. Safari's download page displays Safari 1.2. IMO, I don't think ACID2 compliance is something to brag about if your compliant browser isn't stable enough for release.

    --
    TO START
    PRESS ANY KEY

    Where's the 'ANY' key? I see Esk, Kitarl, and Pig-Up...

    1. Re:Opera 9 and Safari 2 are both beta by GeoffP · · Score: 0, Redundant

      Safari 2 is most definitely not beta. It's been released, it's in Software Update, it's included in every box of Tiger. Quite simply, that page is out of date.

    2. Re:Opera 9 and Safari 2 are both beta by nateziarek · · Score: 0, Redundant

      That's odd that Safari 1.2 is the download on that page...Safari 2.0.s is the most recent non-beta version, but it only works on Mac OS X 10.4 (Tiger).

      n

    3. Re:Opera 9 and Safari 2 are both beta by allgood2 · · Score: 5, Informative

      The latest version of Safari is Safari 2.0.3. It's not in beta, and has been available to users since Mac OS X Tiger was released. It's not available for download from the Apple site, for the same reason many other Apple applications aren't available for download--current applications come as part of the operating system, and are automatically updated via Apple's Software Update. If a user needs to reinstall, they are suppose to go back to the OS disk.

      I should also mention that if you perform a search for Safari on the Apple Support website, you will also get a link to Safari 1.3.2 and Safari 2.0.1 both newer versions than the one you pointed to, which is legacy software.

    4. Re:Opera 9 and Safari 2 are both beta by Xyde · · Score: 0, Redundant

      Safari 2 is not beta, it's currently at version 2.0.3 and passes the Acid2 test fine.

    5. Re:Opera 9 and Safari 2 are both beta by Allnighterking · · Score: 1

      konqueror in kde 3.5 however is not beta.and does pass acid2

      --

      I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

  74. When major banks don't, why should we? by Anonymous Coward · · Score: 0

    View this page from Australia's Commonwealth Bank in any Mac browser:

    http://www.commbank.com.au/personal/

  75. yea and no by mr_burns · · Score: 1

    We code to w3c standards throughout building templates, usually using firefox and web developer plugin. In our experience this makes the site work great in everything except IE. So basically we use IE propriety conditionals and javascript to fork what will end up rendering in the browsers... w3c for modern browsers is default and IE gets different css and markup where needed. All in one set of source on the server side.

    The important thing to remember is that GUI browsers on a personal computer aren't the only clients visiting web pages. If you want good search results... you best have machine-readable markup. That means well formed and to standards. Some phones are going to parse the markup and then decide how to render it... if at all. help systems, email clients... the list goes on.

    That being said, the most important thing is to produce markup that a buggy parser with little or no error handling won't choke on. Then you can make it look pretty on a PC. You don't get there with the mentality "the majority is using browser x, we'll just code to that". You have to start with a solid foundation and then deviate as needed. Coding for w3c provides that foundation and has certainly made making pages render correctly much easier.

    --
    "Let him go, Ralph. He knows what he's doing." --Otto Mann (simpsons)
  76. And besides... by TheSpoom · · Score: 1

    It's just not that difficult! How hard is it to not use IE-specific code, avoid things like tags, and self-close tags that need it? All my personal works are XHTML 1.1 / CSS 2, and I even usually write HTML in XHTML 1.1 out of habit anyway. There are even ways to get around IE restrictions on what you can do, such as Sl eight</a> for PNG translucency, that don't break standards-compatibility.

    --
    It's better to vote for what you want and not get it than to vote for what you don't want and get it.
    - E. Debs
    1. Re:And besides... by TheSpoom · · Score: 1

      Gah, sorry about that, forgot about using Extrans. Sleight.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    2. Re:And besides... by bunratty · · Score: 1
      How hard is it to not use IE-specific code, avoid things like tags, and self-close tags that need it?
      It's pretty hard to do it perfectly. I find structural errors (improperly closed tags) in my own HTML code, and in the HTML code others send me. Validating the code finds these problems, and is easier than testing in many different browsers in a trial-and-error attempt to find the problems.

      In one case, one of these errors caused the printer to queue up thousands of pages when a short web page was printed. How could the HTML author have thought to try printing the page in every browser? Isn't it easier to simply validate the HTML code?

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    3. Re:And besides... by trevor_hellman · · Score: 0, Flamebait

      Wow, that would suck. Would you care to share this huge error with the rest of us? Or were you simply looking for some ill-gotten karma?

    4. Re:And besides... by Myen · · Score: 5, Informative

      Please, please *don't* write HTML as if it's XHTML. Self-closing tags in HTML is totally invalid and screws up the parsers. Pretend you're a HTML (not XML) parser and parse:

      <html><body><script src="..."/>Lots of stuff</body></html>

      Your <script> tag never gets closed (remember, this is *not* XML!). Wee, no content....

      If you are actually sending it with some sort of XML MIME type, yes, go ahead and do self-closing tags. Just don't pretend it works when you're being HTML.

    5. Re:And besides... by bunratty · · Score: 1
      It wasn't a huge error. Just a slight syntax error in HTML that caused horrible problems. It happened five years ago at a company I no longer work for, so no, I can't share what the error was.

      I also remember an HTML syntax error (a missing quote) on the Charles Schwab site that crashed Netscape back in the day. The point is that even a slight syntax error in HTML can wreck havoc, and validating the HTML is far easier than trying every possible use case in every version of every browser in every OS. Read the rest of the posts here for more of the same opinion.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    6. Re:And besides... by hacker · · Score: 3, Informative

      The problem isn't HTML vs. XHTML and passing self-closing tags as HTML, the problem is that 99.999% of people using XHTML content in their pages, are not sending the proper XHTML Content-type for those pages.

      There is ONLY ONE valid Content-type for XHTML content, and that is application/xml+xhtml, not text/html.

      Thankfully, MSIE doesn't even support XHTML at all, so we're safe there... for now.

      This writeup is very clear on the matter.

    7. Re:And besides... by Enrico+Pulatzo · · Score: 2, Informative

      Actually, most tags can be closed in that way in HTML without problems. The script tag for some reason demands itself to be closed with an explicit end tag. img, object, br, hr all work fine with the XHTML style in HTML (they even validate). meta and link require exactly no end tag in HTML, and are invalid if you add it in.

    8. Re:And besides... by Myen · · Score: 1

      IMG: end tag forbidden
      OBJECT: end tag required
      BR: end tag forbidden
      HR: end tag forbidden
      META: end tag forbidden
      LINK: end tag forbidden

      I'd like to know what validator you're using, because it's not validating against the last known standard for HTML (HTML 4.01 strict). As far as I know, HTML/SGML didn't have self closing tags.

      Browsers, of course, try to take all sorts of crap that get thrown at them. It doesn't make them correct though.

    9. Re:And besides... by Bogtha · · Score: 2, Informative

      There is ONLY ONE valid Content-type for XHTML content, and that is application/xml+xhtml, not text/html.

      This is simply not true. RFC 2854, the definition of text/html, explicitly permits XHTML 1.0 documents that follow Appendix C to be transmitted as text/html.

      Doing so causes Mozilla and Opera to parse it as HTML and not XHTML, but that doesn't mean it's "invalid" or non-standard in any way.

      --
      Bogtha Bogtha Bogtha
    10. Re:And besides... by Anonymous Coward · · Score: 0

      That's correct. If you try to write a html page for parsing by sgml and xml parsers you have to close tags that require an end tag with an explizit end tag. An tags that don't require an end tag have to be closed with an xml self closing tag and add a space in between to not screw up sgml parsers. e.g.:

      <object ...></object> ver <img ... alt="test" />

    11. Re:And besides... by dolphinling · · Score: 1

      "Some reason" is that script is not an empty element. It can have content. When you don't close it, you're saying that everything after it is its contents.

      And a / does not close elements in HTML . Try it yourself. <em/>text</em> See? The only reason it "works" with img, etc. is that they automatically close themselves.

      I hope this has been informative.

      --
      There are 11 types of people in the world: those who can count in binary, and those who can't.
    12. Re:And besides... by Anonymous Coward · · Score: 0
      The script tag for some reason demands itself to be closed with an explicit end tag.


      This is because you can either link to Javascript code or provide it inline.

      [script language='javascript']
      alert('inline!');
      [/script]
    13. Re:And besides... by Anonymous Coward · · Score: 0

      The bigger question is why you'd want to send XHTML in the first place. The standards-geek in me likes the letter "X", but unless I'm embedding another XML object (like MathML), I don't see the point. Worse compatibility, and even where it works (like Firefox) you lose incremental rendering!

      Unless you're embedding other XML objects, I don't see why you'd want to use XHTML at all. I'm sticking with strict HTML for most pages. Maybe when we're all using Firefox 3 and IE9...

    14. Re:And besides... by TheSpoom · · Score: 1

      a) I do use the xml+xhtml MIME type. View Uberm00 in a browser that supports it (i.e. not IE, Firefox definitely) and check the Content-type sent. If your browser tells my server it supports it, it sends that type.

      b) XHTML is fine to use in non-XML content-types. That's why it's XHTML and not XML. There are certain circumstances with oddness (script tags always need an ending tag, for example), but all validate if done correctly. You'll note that the W3C Validator doesn't really care about the Content-type sent from the server, it all validates the same.

      c) XHTML is fine to use in the middle of HTML, generally. Using a
        won't hurt anything, and using a self-closing script tag (as mentioned by a sibling post) isn't good XHTML practice in the first place.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
  77. ABSOLUTELY NOT by Anonymous Coward · · Score: 0

    Until they drop their absolute requirement of !DOCTYPE, I will consider compliance as unnecessary. Unless you are sending xml or xhtml, you don't need it period.

  78. Damn skippy! by Matilda+the+Hun · · Score: 1

    I take pride in the fact that my pages are W3C compliant (until I stop using Firefox and start putting in the hacks to get it to work right with IE...) The way I see it is that even though browsers are going to be adding and removing their nonstandard little extra bits, the standards the W3C puts in should at least be partially obeyed by every browser out there. So if I make a compliant page, it'll last hella longer than if I programmed it specifically with IE in mind. Besides, considering the progress made since even a few years ago towards standards compliance...yeah, IE still sucks at it, but 6 is better than 5 was as far as supporting standards go, and if we're lucky, 7'll be even closer. Plus more people are using (more) compliant browsers. I'd say intentionally IE-only pages at this point would be stupid.

    --
    Tluin natha Linux xxizzuss uriu olt bwael mon'tun.
  79. It's the Mindset by RobertF · · Score: 2, Interesting

    I think the big problem in web development, is that there's a much different mindset from other programmers. I'll admit to it, I first got into computers by making webpages, and doing some Javascript work. The way web developers think and work is much different from how, say, a C developer would work. In C if you have a syntax error, your code won't compile. You must fix it. With HTML/CSS, if you have invalid syntax it won't get fixed because some sort of hacky browser behaviour might compensate. There is no impetus to fix anything. Javascript errors are all over the place. When I open up Firefox's JS Console to work on a web app, it's filled with countless errors from many websites, many mainstream websites. How a webpage is developed is a lot different as well. Webpages are hacked together, haphazardly. Little thought or concern goes into the elements and attributes used. C developers (and other programmers) are so concerned with code as to have design patterns. There are no Javascript design patterns. Few care that it is better to use to emphasize text than to throw in a to italicize it. I have to say, when I started programming, it was quite the leap.

    --
    And that, my liege, is how we know the Earth to be bannana-shaped.
  80. No. by Krommenaas · · Score: 1

    Until a few months ago I was lead developer at a European online bookmaker with a monthly gross margin of 1 million euro. We developed for IE6, and made sure things also worked with the latest Firefox, and that was it, anything else was not an issue. Not how it should be perhaps, but with legacy spaghetti code and an ever growing list of requested new features, that was the choice we made with regards to W3C compatibility.

  81. I care if it's ADA 508-compliant, for disabilities by Anonymous Coward · · Score: 3, Insightful

    W3C compliance doesn't really translate to a net gain or loss of income if you're running a commercial site, nor a loss of traffic if a non-commercial site, nor does it provide you any legal protection no matter what kind of site you're running.

    But if you're selling something, especially selling something to government entities in the US, or you're developing educational and informational sites for the public, compliance with web accessibility standards is of the utmost importance and trumps W3C any day of the week.

    Of course, good W3C compliance makes it easier to retrofit non-508-compliant pages. And 508-compliant pages are much easier to make W3C compliant, conversely.

    But at the end of the day, it's whether the site is accessible to everyone, not the coding standard, that really matters to the bottom line or the lawyers.

  82. "Quirks Mode" is necessary for adoption by JacksBrokenCode · · Score: 1

    Number one: Quirks Mode. As long as browsers try to correct invalid documents, there is not real incentive for valid documents to be produced. Interoperability can't be fully achieved, and machine-to-machine exchange of data remains tenuous.

    And this is the trade off between theory and practise. In theory, browsers should not have a quirks mode because it allows for bad code and slows down the overall progress of the web. In practise, browsers that don't render in quirks mode will break pages and Joe User who doesn't know or care the difference between quirks & strict modes will nearly always interpret "misrendered" pages as a browser failure and not a code failure.

    Think about Grannie Websurfer. She's used IE for years because it was on the computer she got. Now she hears the hype about a new browser and decides to try it out because it's more secure. If the new browser doesn't have quirks mode and starts breaking all her favorite sites she's going to go right back to IE. And the experience is likely to damage any chance of her switching again for a long time. She doesn't give a shit about standards and "W3C", she cares about her stupid soap opera page rendering properly and if it works fine on IE but doesn't work fine in Browser X that will be a problem with browser X.

    Furthermore, the W3C just produces documents, and there is no body anywhere to monitor and enforce standards compliance among browser vendors

    Welcome to the free market. There shouldn't be a body enforcing browser makers to follow the standards, it should be up to the browser makers. If developers put together a crap browser they will lose market share. Talk all the crap you want about Internet Explorer, for a long time it had many flaws but it was the best available browser. Monopolies and other crap aside, Internet Explorer became better than Netscape. Notice that while Microsoft is still a monopoly and Firefox hasn't come preinstalled on any mass-produced computers, Firefox is gaining impressive market-share. A better browser has been created and people are flocking to it.

    1. Re:"Quirks Mode" is necessary for adoption by Shining+Celebi · · Score: 1

      There shouldn't be a body enforcing browser makers to follow the standards, it should be up to the browser makers.

      The W3C is a consortium. Maybe you should take a look at the list of members. You'll notice that Apple, Microsoft, Mozilla, and Opera are all present and accounted for. It is up to the browser makers, as well as a few other interested parties.

    2. Re:"Quirks Mode" is necessary for adoption by JacksBrokenCode · · Score: 1

      Of course it's up to developers, that's how it should be. My comment was a response to the previous poster's lament about the absence of an enforcement body to govern developers.

    3. Re:"Quirks Mode" is necessary for adoption by Anonymous Coward · · Score: 0

      Talk all the crap you want about Internet Explorer, for a long time it had many flaws but it was the best available browser.

      Oh yeah, I remember that, it was the time from IE 6.0 came out, finally brining it above Netscape 4.7, and the beta version of Mozilla (Netscape 6.0).

      How long was that again? A month?

  83. Failing MY validator by Anonymous Coward · · Score: 0

    I will not use a website which forces:

    Cookies
    Java Script
    Flash
    Web-bugs
    etcetera

    It is more important to me that a webpage meets MY standards than it matters whether a tag is properly closed and some minor functionality fails.

  84. Don't forget Konqueror! by Anonymous Coward · · Score: 0

    As of Konqueror 3.5.2, it officially passes too.

    On a sidenote, I love taking peoples Windows machines to the ACID2 test with IE, just to show them how terrible it is.

  85. s/contrapositive/converse/ by Dan+Ost · · Score: 1

    The word you intended was 'Converse', not 'Contrapositive'. If a conditional statement
    is true, then the contrapositive is always true. The truth value of the converse is
    undetermined.

    --

    *sigh* back to work...
  86. absolutely. by flacco · · Score: 1

    i *always* use w3.org's validators to validate my html AND my css. now if they would just make a validator for my embedded ActiveX controls, i'd be golden!

    --
    pr0n - keeping monitor glass spotless since 1981.
  87. Standards compliance by SlashBoot.org · · Score: 2, Informative

    Yes I care about W3C standards compliance. I take pride in my work and do not settle for bodges. There are also benefits to producing clean code, in bandwidth and processing savings. More sites and publishers should be making the effort to ensure that the pages they present are in compliance to accepted standards. My site http://slashboot.org/ is standards compliant and I take pride in that. I prefer XHTML Strict, as I see this becoming a future standard of choice for the majority of people who also take pride in their work

  88. Re:Depends on Usage - CMS by FyRE666 · · Score: 1

    On heavily content managment based sites, it's virtally impossible to guarantee the pages will pass the validator tests if you allow the owner/users to add content with e WYSIWYG editor in the backend. They'll always find some way of screwing it up, no matter how many safeguards are in place.

    So unless you're limiting them to text only, plus a controlled image uploader, you have to live with it.

    That's not to say the site shouldn't validate before they get their hands on it though - it's hard to excuse plain broken markup or hacks these days. Maybe 5 years ago...

  89. My pages comply with my users... by sveinb · · Score: 1

    ...not with any goddamn validator. If our users choose to browse with a hammer, we will serve them nails. It they browse with a spoon, we will serve them soup. The day they choose to browse with the W3C validator, we will serve validated pages.

    Whenever a new kind of feature is implemented, I test it on IE/Win, Firefox and Opera. Not having a Mac at the office, I don't test it on Safari, but for some reason, it always works on Safari when the three other browsers work. (that's the thing about Apple: everything works, gotta love it)

    Satisfying the W3C validator would be like tweaking the pages to work for yet another browser, one which noone uses. Tell me that a page that validates will render reasonably well on all browsers, I tell you that "reasonably well" does not do it. I need to implement a certain layout and functionality 100%. Either a browser is supported or it isn't. Tell me that a page that validates will render reasonably well in the future, and I tell you that a page which does not render well on a new version of a common browser will be complained about within 5 minutes, and a fix will be expected by the end of the day. That's the deal with paying customers.

  90. Web Pages by Anonymous Coward · · Score: 0

    I don't bother with any of the fol-de-rol. I need pages that render fast, and look pretty much the same in any browser. The only way I have found to do that is to leave the CSS and other crap out. My website is of a fairly esoteric interest, and the main point is to get information in front of users, so I can be reasonably certain that anything else would simply be smoke and mirrors, and absolutely unnecessary.

    Others may not be in the same position.

    Of course, it would be real nice if all the browsers would be W3C compliant, so it wouldn't be an issue...

  91. Re:I care if it's ADA 508-compliant, for disabilit by CyberSlugGump · · Score: 1

    Mod parent up.
    My university recently just hired someone for a newly created "Web Accessibility" coordinator position. Section 508 of the Rehabilitation Act is important to public schools and government.
    Dreamweaver--and I imagine similar web dev suites are in the game--have accessibility featuers built in to help make sure you specify alt tag for all images and so on. A lot of WAI requirements are good web practices to follow anyway. Information wants to be free (accessible) ;)

  92. OMG I HAVE HERPES LOL 333 by not+already+in+use · · Score: 1

    Actually, Safari (and thus, any KHTML based browser) was the first to pass the acid 2 test. Less than a week later Opera 9 beta passed too. My point is not to reiterate was has already been said in this thread, but to point out just how fast browsers (non-IE) are progressing toward compliance. If you plan to have a website longer than a year, why wouldn't you take the time to be compliant?

    --
    Similes are like metaphors
  93. I care a lot! by Anonymous Coward · · Score: 0

    In my day job, I've worked on a site for nearly 12 years. Clean code was always a goal and it was sometimes achieved. The problem was getting other people to understand why clean code was important.

    Since I was the one maintaining the code, I wanted things to be as easy as possible to maintain. The ad agencies and their stupid code monkeys, though, only cared about getting things to look right. So their crappy HTML was never easy to maintain.

    This last time, though, we did it right. Semantic XHTML 1.0 Strict, CSS, separating design from behavior from markup. Maintenance is much easier because nearly anyone can understand and write the simple HTML the site requires. We're currently altering the design for our new corporate masters and keeping our basic structure and semantics. It's a lot less time consuming and just better than the old way. We're doing in weeks what used to take months and with a lot fewer people.

    The problem is that the new corporate overlord's site is the same crappy tables and class="blueNav" crap that I've spent the last few years getting away from. It's like they are stuck in the 1990s. Time to educate them all over again...

  94. Javascript and CSS by christopherfinke · · Score: 1

    I'm not too concerned with whether my HTML validates, but I make sure that any Javascript and CSS I use are correct (i.e. no warnings or errors in the Firefox Javascript console). There's nothing more annoying than trying to debug Javascript in a Firefox extension when I have my GMail open in a tab, as it spews out CSS and Javascript warnings and errors so fast that any extension related errors are lost in the flow.

  95. Server side? by XanC · · Score: 1

    You could do the transformation on the server side; you'd get the same compliance benefits. If you don't have the cycles to spare, I think it can be done in Javascript on the client end (when required) for browsers like Opera.

  96. Microsoft and web standards support by yoz · · Score: 4, Informative

    Microsoft has yet to release a browser that comes close to supporting standards

    This is often shouted and an easy way to bash MS. It's also completely wrong.

    Every web browser released by Microsoft from IE3 onwards has been more standards-compliant than any Netscape browser released around the same time. IE3 was the first major browser (outside of W3C testbeds) with CSS support. IE4 brought CSS-P support, while NS4 introduced the totally non-standard LAYER tag, then made a bad stab at implementing CSS-P under sufferance. IE5/Mac was easily the most standards-compliant browser on the Mac for years. The Mozilla project had been going for a while when IE6 came out, and Mozilla might be considered the better browser of the two if you rate standards compliance several miles above stability and speed.

    The reason IE6 is bashed so hard by designers these days is not that IE6 was a particularly bad release. It's that it's bad by today's standards, and nothing's been done to fix it. This is a different issue, and one that the IE7 team has been loudly busting a gut to address. (There is also the utterly shameful issue of IE6's many security problems, which is a different argument, but it's one of the main reasons I've been using Mozilla-based browsers since 1.0)

    And if you're still not convinced of anything other than Firefox's total superiority over IE in all standards-related matters, how about we dig up an issue of HTML4 compliance which IE's had right for years, and Mozilla/Firefox never has.

    1. Re:Microsoft and web standards support by Tom · · Score: 1

      Every web browser released by Microsoft from IE3 onwards has been more standards-compliant than any Netscape browser released around the same time.

      Which is to say they both fought dirty. However, Netscape has since been cleaned up (and is now Mozilla/Firefox), IE hasn't. More importantly, we can be almost certain that it was intentionally not improved, because IE for Mac was much, much better, and yet its rendering engine was never moved to IE for Windos.

      IE is horribly, horribly broken. I run a number of websites, and my life has been so much easier ever since I realized I'm not for-profit and thus can afford to tell the IE users to get stuffed.

      --
      Assorted stuff I do sometimes: Lemuria.org
    2. Re:Microsoft and web standards support by tuxedobob · · Score: 1

      I noticed something interesting while reading http://www.clagnut.com/blog/329/. (It's 2 links away from the page you linked.) It's been a long time since I've seen soft hyphens actually used. That's probably the result of 2 things.

      1) Hyphens exist to facilitate justified text.
      2) Web content, for the most part, doesn't care if it's justified.

      That page is also pretty old. http://www.clagnut.com/sandbox/softhyphen/, also linked from your link, displays Safari 1.2 behavior. The current version is 2.03, which apparently displays soft hyphens correctly.

    3. Re:Microsoft and web standards support by yoz · · Score: 1

      The thing to bear in mind is that your sample set is probably taken from common English usage. The soft-hyphen bug was brought to my attention by a web developer friend who works for Nature Publishing, which publishes a large number of scientific journals online. As a result, he habitually has to deal with much longer words than you usually get when working in English. If you look at the comments on my blog entry and in the Bugzilla bug, those who need the bug fixed for their day to day work are dealing with languages that often have 20-30 letter words. And while "web content" may not care if it's justified, the layout designers who are working with it often do. (If you get one really short line in the middle of a paragraph, it just looks shit.)

  97. from the trenches by graveyhead · · Score: 1

    I won't go into why validation is important, others have covered that well. Instead, here's just a couple of thoughts from the trenches.

    Compliance is simple when you have full control over the site and all data that is input. In business reality, this is impractical. Fact is, editors, salespeople and the CEO will want to make website changes. Now, you could make it your job to clean up the garbage HTML sent by these folks. What you'll figure out quickly though, is that suicide is a more attractive option. So we of course now have content management systems so our bosses, et. al. can change what they like at 2 in the morning.

    The thing is, these people will do horrible, horrible things. They will paste the most evil non-ASCII characters you could ever imagine into your lovely system. If you've only (gasp) given them a textarea in which to paste HTML, things are even uglier - they will paste the worst hackjob code you can imagine into there. Or worse, they'll paste the output of the MS word HTML export (yikes!). So now what you have is a lovely framework / skin for your site with pristine tags for navigation and advertisements, with a nice steaming heap of dog doo in the middle of it.

    So now you're not compliant. Not because of anything you did directly yourself, but because you just handed the keys to the kingdom over to the vilage idiot.

    Here's how I deal...

        1) DON'T ALLOW FOREIGN HTML. This can easily be achived if your CMS provides an in-page HTML editor which produces valid code. You may be able to upgrade an existing CMS with something like "HTMLArea": http://sourceforge.net/projects/itools-htmlarea which is a replacement for a textarea tag.

        failing #1,

        2 Run W3CTidy (as others have mentioned) on the INPUT to your CMS. Give the jackass a preview. If it's borked, they'll try to fix it or call you if they really can't do it.

    Happy webmastering!

    --graveyhead

    (cred)

    --
    std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
    1. Re:from the trenches by Yer+Mom · · Score: 1
      Or use something like Markdown for user input, so they won't need to write HTML.

      Of course, if your users are anything like the ones I know, you'll then have to make their favourite WYSWIG editor output Markdown before they'll go anywhere near it :(

      --
      Never mind Spamassassin. When's Spammerassassin coming out?
  98. Absolutely yes by Anonymous Coward · · Score: 1, Interesting

    The way I look at it, making websites w3c compliant is like making code that generates 0 warnings on compilation. Sure, it doesn't guarantee perfection, and it's sometimes not that important, but it will also often turn up small bugs that might bite big later, it isn't all that hard to do, and it's good practice imho.

    just my $0.02.

  99. I Think You Are Often Be Better Off Without by Slipgrid · · Score: 1

    I think that in most cases, you are better off without using a DOCTYPE statement. If you tell a web browser that your site is XML 1.0 Strict, it might try to use an XML parser to read the site, which could cause lots of problems if it isn't. And even if your site is true XML, why not have it put to the HTML parser anyway. It's good to program with standards, but often it's good to get the browser to punt to the HTML parser, which will usually parse any crap that anyone tosses at it.

    It seems that most of the web 2.0 sites use only strict XML in their site, and they might get Geek Cred for that, but the sites end up being dull looking, because they can only allow for a limited amount of text. Think del.icio.us, which will parse nicely. It has no images, and no user generated styles. Why not? I bet they don't want to have to handle others html errors. They can clean up text only, but not other stuff. It works for them, but you can tell that they may be limited by what they allow users to input. Google doesn't seem to be strict anything, but they seem to know what they are doing. I think most browsers will parse it. Myspace seems to allow a wide range of user input, and it doesn't parse as standard. They seem to get traffic, and users seem to enjoy the flashing bright lights, and the songs playing the second you visit the site.

    The one thing that gets me is people using divs when they should use tables. Divs have not deprecated. For all the grail hunters, you are being duped... tables is the only true solution.

    1. Re:I Think You Are Often Be Better Off Without by hahafaha · · Score: 1
      The one thing that gets me is people using divs when they should use tables. Divs have not deprecated. For all the grail hunters, you are being duped... tables is the only true solution.

      I am not sure if you are being sarcastic, and I hope to God that you are, but just in case:

      No one is saying that we should do away with tables. The thing is, that some people use tables for the entire layout of their website, and not just for when actual table data is needed. divs and float work better when you want a picture to the left of a heading. That is not a table. Not only is it ugly, and difficult to maintain, it loses its semantic meaning becuse it is *not* a table.

    2. Re:I Think You Are Often Be Better Off Without by Slipgrid · · Score: 1

      On the whole Table vs DIV thing...
      Let me try to be more clear. If you are looking for the holy grail of web design, the three col layout without tables, you won't find a good, clean, and easy solution that has what I believe are good principles of design. Sites like the Slashdot front page can have 20%+ white space, once you scroll down, with a big monitor.

      Sites that are badly designed because they don't use tables.
      Example One... Three cols, no tables, but no footer. Try to put the footer on it, and it will float.
      Example Two... Not really three cols... It's two, and the footer might float over the right hand side if the body isn't long enough, so it isn't used on comments, or any page that has user generated content that may not exist.
      Example Three... Looks like three cols, and it is, with all divs, but it's 60% whitespace, because the body size is fixed. This is a case where you can have a nicer monitor, and the site would look worse. Again, its just not right.

      It is silly to try to use divs where they don't fit. Use tables when appropriate. Using a table to float a picture in a paragraph would be silly. You would have extra cols every where, and it wouldn't render correctly. Using a div to float the picture is the right thing to do.

      On not using the DOCTYPE
      If you say it's Strict XHTML, it will use an XML parser, and browsers won't function alike. If you don't use the DOCTYPE statement, it punts the sites content to the HTML parser that will try to render most anything, and you will be less likely to get large differences in the way it renders in different browsers.

  100. Don't blame the browsers by ichin4 · · Score: 4, Interesting

    It's a wee bit disingenuous to blame browsers for the lack of strictly validating web pages out there. I'd venture that upwards of 90% of the issues you see when you validate pages against the HTML 4.0 schema are not there because the author had to violate the standard in order to achieve the effect in some non-compliant browser. They are there because the author achieved the effect he wanted and did bother to check whether he had, or could, achieve it in a standards-compliant way. From the beginning, browsers tried to degrade gracefully in the face of invalid input, and as long they do that there will continue to be a lot of invalid input out there.

  101. one problem: by circletimessquare · · Score: 1

    the K.I.S.S. principle

    Keep It Simple Stupid

    there's also the other KISS principle: i'd rather kiss off the entire opera user base (small as it is) than bend over backwards coding so much extra for their sake

    thems the breaks

    none of have infinite time and patience

    besides, i would be surprised if opera isn't eyeing support for xslt, especially as xml and xhtml use only grows over time. imagine opera not supporting css? same issue in the xml world

    sorry opera aficionados. i have mad respect for your browser, but not much time or patience to put in much more effort for your sake. but xslt support isn't really an esoteric demand on my part. and opera knows that. and it only gets more and more necessary as xml + client side xslt grows in popularity, as the wonderful speed-increasing, flexibility-enabling, and server-sparing tech it is

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  102. Standards are there for a reason. by EoN604 · · Score: 0

    If someone was working on the electrical engineering for a space shuttle for NASA, would they say "Well, I know I should stick to standards, but I wanted to attach this detached horses leg to the hull of the shuttle, so I did." NO, likewise, no-one should be placing horses limbs on web pages either. Not unless it's compliant. Developing standards compliant sites is completely 100% necessary. The people who don't support standard compliant development are people who are technically incapable of it. They were bought up with the OLD wave of design, unfortunately they haven't kept up to date with the times, and are FAR TOO OLD to catch on. Get with the times, old timers!! You're Old... You're just so... Old! Also it might be worth mentioning that anti-standards compliant people are almost always Microsoft lovers.

  103. w3c validator by updatelee · · Score: 1

    when I was in web dev I allways ran my sites through w3c validator, and fixed all the error's it spit out... on the condition that fixing the error still rendered the site fine in IE, many times IE wont take valid html and renders it incorectly, incase you got leave the error in there to get the job done...

  104. kind of... by Lalo+Martins · · Score: 1

    I keep the standards in my head, and design for them. Then I actually write the implementation for Firefox. Then I go back, fix all the deviations from the standard that I can fix, and validate. Then I test it in IE 6, and cripple the pages horribly till they work. Depending on the project, I'll do the same for Safari afterwards. Mostly, if people send me bug reports that my stuff looks bad on other browsers, I reply along the lines of "yeah, sad isn't it? I heard the next version is going to be actually standards compliant." (For one specific recent project, I even did that for IE6... I detect IE using their stupid conditional comments, and display a big Firefox button.)

    In the end, the page usually doesn't validate. It's sad, but I need pages that render on IE 6, not pages that validate. And yes, standards-compliant pages would mean I don't have to go fix them when new browsers with different bugs and deviations come out, but what do I care? The sites I work on already require constant maintenance anyway, and I think that is true of most sites worth publishing. If I was going to put up a site that I don't expect to maintain constantly, such as an archive, then I'd go for a very simple design, and full standards compliance. I think I might even have done that a few times in the past.

  105. Google fails validation by raptor249 · · Score: 1

    I ran Google through the validator and it came up with 72 errors. Does this mean Google does not know what they are doing? It seems more likely that for an actively updated site many of the standards are not neccesary.

    1. Re:Google fails validation by hahafaha · · Score: 1

      No. It is true that Google HTML code is not valid, and that is not good. I love Google, but that does not mean that I appove of everything that they do. If Google told me to jump off a cliff (sorry for the cliche), then I would not do it.

      You should validate pages because it provides for a more unified World Wide Web, insures that browsers generally display pages correctly, and shows that you understand what you are doing. Google is not focusing on web design, but that does not excuse them.

      Standards are well-thought-out. They are not perfect, but they have a reason for existing.

    2. Re:Google fails validation by HuckleCom · · Score: 0

      Why should we bother making things compliant when browser producers don't make their browsers follow the standards? IE is the bane of W3C standard following - and the majority of the world uses it. So why waste time satisfying standards that are not followed by 90% of the population (so-to speak). I know Safari and Opera follow the standards - but their shares in the browser world are minimal. Logic says, if IE has 90% share, you'd BETTER make sure it displays nice. If 5% use firefox/gecko - you -should- accomodate that as well; but is not as imperative as working with IE. Logic says that if you must waste oodles of time to appease the remaining 5% (divided up into several other browsers) - the cost effectiveness of reaching this market is spent. I'm all for standards - I think that somebody needs to cry out - and it's the developers implementing standards to give browser makers a hint but it's going nowhere . The situation would be much more time efficient if IE had 50% share, Firefox/gecko had 30%, and other miscellanious browsers had a larger share and through following standards, you can appease those markets. Really - it is it's own problem. Developers want browsers to standardize so they can save time by not having to do work-arounds, etc. Browser producers don't see enough people using standards so they don't feel they need to waste time on standards compliancy... THEREFORE: developers don't use 'standards' but instead, cater to the largest shares. Tis a shame.

    3. Re:Google fails validation by Bogtha · · Score: 1

      I ran Google through the validator and it came up with 72 errors. Does this mean Google does not know what they are doing?

      1. Google have more resources to throw at the problem than most people, should their website have compatibility problems.
      2. If Google doesn't display correctly in a web browser, the browser vendors will make damn sure they bodge their browser to work with Google's code. This happened with GMail for example. I don't know about you, but I don't have that kind of clout with browser developers.
      3. Yes, Google are pretty terrible with front-end web development technologies. Their expertise lies with back-end development and interface design. Please don't worship Google and assume everything they do is perfect.
      --
      Bogtha Bogtha Bogtha
    4. Re:Google fails validation by hahafaha · · Score: 1

      1) If developers start using standards, Microsoft will support them
      2) ACID 2 uses some very fancy CSS to confuse browsers
      3) Just make sure your pages are valid, you don't have to trick anyone.

  106. I write for my readers by Zorque · · Score: 0

    When I create a website, I prefer to do it by hand in notepad or somesuch, because it lets me have more control. I don't want to bother writing extra or unnecessary code for one or two people. I know most of my readers use Firefox or IE. Even Opera will display sloppy code, but Firefox and IE and any other browser worth a damn are built with the average web page (I.E. sloppily coded) in mind.

  107. Compliance: in theory great... by mcnut · · Score: 1

    ...but if we all lived in theory everything would work all of the time. I always write my html to the xhtml strict standard and make sure my css is up to the current standard not because I personally care, but because of the ever expanding list of browsers I'd have to hack it to work with otherwise.. I mean we have cell phones, pda's, psps,xboxes, Wii is supposed to have a browser.. so instead of writing a separate style sheet for each (which you end up doing if you want to support IE... yech..) just write one that adheres to the way the standard is supposed to work and tell people to bitch to their browser developer if it looks wonky. PS: This is obviously not for commercial products.. as people don't ever think anything could be wrong with their precious browser... though if every website at once stopped making hacks to work for broken browsers.. perhaps people would start complaining to the web browser developers along with website developers.

    --
    ok.. so heads you lose tails I win. right?
  108. Don't really care by BuildGate · · Score: 1

    First identify your target browsers (IE 5+, FireFox 1.0+, whatever), then make sure your website "looks nice" in these browsers. That's it.

    --
    There is no spoon.
  109. Two Things by hahafaha · · Score: 1

    First of all, yes, I do validate every page I make. Most of the people I worked for either wanted me to do it, or did not care if I did it.

    As for the ACID2 Test, the CSS they use is actually not valid, according to W3C! Try it -- look at the source code, copy the CSS and submit it to the validator. It will tell you that there are errors. I can't really post the link here, because it is too long, unfortunately.

  110. The HTML spec is irrelevant by Anonymous Coward · · Score: 0

    HTML isn't Hypertext Markup Language. HTML is Browser Data Format. The W3C's HTML specs have always been afterthoughts, incidental.

  111. Only on Slashdot... by Anonymous Coward · · Score: 0
    will it be implied that clicking a button and fixing the two omitted slashes in an xhtml page that the validator catches is simply tooooooooooo much trouble.


    Jesus, yes, I validate every page. So do many others. That's what those funny little W3C buttons all over the web mean!!!

  112. This is like counting "security patches" by MarkusQ · · Score: 3, Insightful

    Nuts. This is as bad as counting "security patches" as if all bug were equally important.

    You link to the fact that Mozilla renders one character incorrectly, while ignoring things like the fact that MSIE fails to render large chunks of standard compliant pages at all. They just vanish, poof. If these were the only two bugs, I suspect you'd say that they were "equally standards compliant" wouldn't you? After all, they only have one bug each, right?

    Bah I say.

    --MarkusQ

    1. Re:This is like counting "security patches" by yoz · · Score: 1
      No, you're missing the point. Firefox 1.5 is way more standards-compliant than IE6 is, I'm not denying that. What I'm saying is:
      1. Complaining that a browser released in 2001 - and that's had almost no standards-related bug fixes since then - is much worse than a browser that's been through constant maintenance since then is not exactly surprising, irrelevant of the fact that it's from Microsoft
      2. The point about the soft-hyphen bug is that standards-compliance problems in the favoured browsers are often overlooked by their fans, even though they can cause just as much pain to web developers. Soft-hyphen support doesn't seem like a big deal if you're working in English, but to Germans it's a very big deal indeed. This bug has gone unfixed for five years, And the weird thing is that much much harder problems related to CSS rendering have been flattened with ease.


      AFAIK, there is not a single web browser in existence that correctly deals with all recommended web standards. (No, Acid2 doesn't nearly test them all.) This is firstly because there are new standards being created all the time, and secondly because creating a browser that manages it all correctly is rocket-science-level, mental-breakdown-triggering hard. Lambasting Microsoft for not updating their browser is one thing, but for ever having bugs in it at all? Let the browser that is without rendering deficiencies cast the first stone.

      Back in 1995, Netscape had managed to completely derail the W3C's efforts with HTML 3.0, and we all had to settle for the hugely-cut-down 3.2. Internet Explorer was the first major commercial browser effort to break away from the whole damaging tag-inventing arms race, take a good look at what the W3C was proposing and actually make a point of following it. And for that, the web standards effort should give it at least a small vote of thanks.
    2. Re:This is like counting "security patches" by BZ · · Score: 1

      Actually, the basic problem is that text rendering is hard. Much harder than the CSS box model in some ways. The reason the soft-hyphen bug hasn't been fixed while other CSS bugs have been is that it is in fact much harder to fix, especially in a cross-platform way.

  113. Re:Depends on Usage - CMS by 19thNervousBreakdown · · Score: 1

    Not true at all. It's all documented, what's allowed nested in what, what's required, so on and so forth. It's just not easy. Automatic validation like that will be a feature of the 1.5 or 2.0 release of my dynamic site generation framework, I've already worked out a way to do it and got it working with Ruby's native object model (although any strong object-oriented language would do), it's just going to be a pain in the ass. Especially getting it to work with Ajax and making strong guarantees about the validity of the (XML|X?HTML)/CSS regardless of how much JS mangling you do--as long as you do it through the framework. I'm not a miracle worker. Luckily, I'm writing it for free, so there's no real downside to taking a ridiculously long time to write a feature of questionable worth.

    Viva la OSS! It sure takes a long time to write.

    --
    <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
  114. Validate & Test by JHackamack · · Score: 0

    I do my best to try and make sure everything is valid. The future of the web should hopefully be all web browsers being validated, so once i'm done validating I go through and test my site on every computer, every browser, and every operating system I can get my hands on. It might require a few extra tidbits here or there, but in the end I think it works.

  115. Only opera?! by nsayer · · Score: 1
    Since Opera 9 is the only browser to pass the ACID2 test

    Say what?!

    And lest anyone think that the comment at the end of this story about the version used not being publicly available... That is no longer correct. The shipping version of Safari as been ACID2 compliant for a while now.

  116. Who cares what I care? by elwin_windleaf · · Score: 2, Interesting

    I'm afraid it doesn't really matter if I care about W3C standard or not... all the people that matter do already.

    At work, I keep up the websites for a public government entity. It's been legally required since 1997 that any government agency web site (at least in NY, I'm a little fuzzy on the legislative aspects) is accessible to those with disabilities, and the first step to that is W3C compliance. It makes sense; have you ever seen a government building without a wheelchair ramp? Why should the web sites be any different?

    On my own time, all of my sites comply because of Google. They have a tendency to give a much higher pagerank if your site is W3C compliant, or even if it follows the spirit of the standards. Search engine love the barebones HTML of a standards-compliant page.

  117. IE is the standard, not W3C. by insomniac8400 · · Score: 1

    You can't claim something is a standard, when it's not the standard. IE is the browser market, it therefore is the standard. Coding to a fake standard which isn't compatible with 90% of browsers just doesn't make sense. If W3C was smart they would make a standard that works 100% with IE, then people could actually use it as a standard.

  118. Standards by enigm4_ · · Score: 1

    I personally run my sites through the 508, AAA, xhtml and css validators. I find that if your standards compliant first, it's a million times easier to make teh few adjustments to make each browser behave (particularly IE).

    I think it's also a point of how professional you can claim to be if you don't even make the effort to ensure that your page is going to be accessible to other (browsers | people | OSes | etc.).

  119. when i *finish*? by croddy · · Score: 5, Insightful
    When you finish a website, do you run it to the validator to laugh and take bets, or do you e-mail the results to the office intern and tell him/her to get to work?

    no, when i *start* a website, i'm running it through the validator. producing valid html and css isn't some kind of bonus afterthought. it's something you do from line 1.

    1. Re:when i *finish*? by Qbertino · · Score: 1

      That's probably because you're not a designer.

      To be honest, most Ultra-Compliant Standards-Nazi sites look like someone went doo-doo on my monitor. Designers usually design from the inside out, using DW or even Photoshop to sketch(!!) out the layout and stuff and then go to build their templates to be 100% compliant and accessible.
      Curiously enough, their sites usually look very good, are standards compliant, 100% accessible with well-built meta markup and are built from the outside in using grafics tools, editors (jEdit, Textmate, BBEdit, etc.) and the designers favourite CMS.

      That's the general Pipeline of todays Webdesigners. I'd go as far as to say that most of these people work that way.

      --
      We suffer more in our imagination than in reality. - Seneca
    2. Re:when i *finish*? by tehcyder · · Score: 1
      when i *start* a website, i'm running it through the validator
      Well, it's easy enough to get it to pass when you've just got the "head", "title" and "body" tags there.
      --
      To have a right to do a thing is not at all the same as to be right in doing it
  120. HTML is not a logical programming language by Anonymous Coward · · Score: 0

    Its a display language. Personaly Time in business is more important than worrying about abiding by every anal WC3 standard. If I have a project for our Intranet and it needs to be completed for use by the next day, Im not going to spend wasteful time making sure it passes acid2. Ill spend TIME making sure the logic code is correct without errors. In regards to the display in the browser, Ill do whatver works using standard HTML, DHTML and CSS and yes mr acid test, that may include a font tag here or a table there. Its not a crime.

  121. Abides by HTML standards, not W3C by kyndig · · Score: 3, Funny

    I've read many of the comments on here, and man am I feeling like a heel. I know I'm not the only web developer that doesn't give a hoot about that little W3C compliant icon. As long as the site operates properly in Firefox, Safari, Opera, and IE ( as I've designed it to operate ), then that suites me fine. After 5 years of developing the same site, the only complaints I receive on it are ones about my poor design.

    This brings to mind the software developers that howl about their Interface Standards ( I can't even remember the acronym they use for these standards ) I've supported the development of software for the past 3 years, and have yet to look at these Interface Standards.

    I focus on the end-users eyeballs. If some developer comes along and wants to complain about my syntatical correctness - they can either copy/past my HTML to make it better - or provide a patch for my software. The regular users are quite satisfied.

    --
    My Thoughts, Kyndig
  122. 2 things by circletimessquare · · Score: 1

    1. the whole "genius" of client-side xslt is it makes the client do work that would otherwise drag the server. my server just spits out naked xml. the server is stripped down in its workload to the most naked thing you need the server for: raw data. you don't even need a webserver. you just need a database plugged into port 80 ;-P (well, not really, but you get my point)

    the client has to do all the heavy sorting and formatting work to make it pretty and readable. i like that scheme. a lot. i call it K.I.S.S. Keep It Simple Stupid. put that up there with Ajax in terms of development paradigms which mean something significant to me, for whatever that is worth. and in fact i think this KISS will only get more and more popular as a development approach. even though i find people are put off by xslt. but it REALLY isn't that complicated. here's an excellent tutorial

    you don't even have to mess with javascript transforms (well, you do, if you want an interactive site, i'm just talking you don't need to use javascript in your development scheme to get bare functionality, to get the paradigm that works here). it's really the same idea as html + css, except it takes the idea of content versus formatting to an even deeper level of separation: raw data versus all the markup, pushing all the markup to the client. so if you dig why css is so important, you'll understand my reluctance to server-side my xslt

    to me, asking me to server-side the xslt is like asking me to get rid of all css and format each tag individually. bleh. no thanks. more work, slower performance, heavier on the wire

    2. great news on opera 9 ;-) now i can code with even more confidence that i'm on the right path

    watch this idea: xml + client-side xslt. KISS to me. raw data only from the server, and all formatting on the client side. even though it's an ancient idea, i think it will be just like with AJAX, which was ALSO an ancient idea that just suddenly got a massive thrust in terms of modern development interest

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:2 things by Anonymous+Brave+Guy · · Score: 1
      1. the whole "genius" of client-side xslt is it makes the client do work that would otherwise drag the server.

      The problem with that is that client-side xslt has suffered from some pretty serious bugs over the years, and still does on many platforms. I think basic numbering in Gecko browsers works these days, but for a long time it didn't. So much for those funky auto-generated footnotes/references/tables of contents...

      As I mentioned elsewhere, we now use a server-side XSLT-based process to get our pages ready, and the lack of reliability of client-side rendering was a major reason for deciding on that approach.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  123. Who will validate the validators? by Anonymous Coward · · Score: 0

    Well how is this done?

  124. Absolutely by Anonymous Coward · · Score: 0

    Absolutely. I always validate all pages for W3C compliance.

  125. Aim for compliance by dcam · · Score: 1

    It can save time in the future. The current trend is that browsers are moving towards the standards rather than away from them, so in general it is better to comply with the standards to future proof your site (to some extent).

    Incidentally there is a great extension available for firefox that checks your HTML:
    HTML Validator

    This allows you to check pages as you view them, which is quicker than loading them into the validator.

    --
    meh
  126. Yes and no by Vexorian · · Score: 1

    As a matter of fact I try to make it standard compliant as much as I can and I also validate the pages whenever I have time to tweak stuff

    But I also make sure it works on firefox by not using features that are not supported by it, standard compliance is one thing but standard abuse is something else

    My finished pages are standard compliant and also work correctly on IE and Firefox. Sum IE is still the most used browser and firefox is still the 2nd place. That's enough of a reason not to use the features that are used by the Acid test. Of course, once official firefox starts supporting them I am gonna be more open to use those features.

    --

    Copyright infringement is "piracy" in the same way DRM is "consumer rape"
  127. yes, we do care by nkeric · · Score: 2, Funny

    our company has a specialist of html (a girl:) who spends tons of time ensuring our projects' web pages work properly across multiple major browsers/versions and pass the w3c html/css check.

    we believe that it's a good habit to make web pages w3c compliant, that ensures your web pages work properly with w3c compliant browsers. meanwhile, we will take care of browsers such as IE which has buggy html/css support by using some tricks/workarounds to make it render properly too.

    1. Re:yes, we do care by dJOEK · · Score: 1

      Is she hot? Single? ;-)

      --
      Exercise caution when modding this message up: the author acts like a jerk when his karma is excellent.
  128. A young web developer's opinion... by meridiangod · · Score: 1

    I am the lead developer/designer of my company's web department, and (at least in my office) I require my employees to write standards complient/well-formed code for a few reasons.

    1. It's easy to read.

      We often have multiple people developing web sites and if there is one thing that bothers me is that I can't easily find where I need to add or remove items (See any web page created by FrontPage or Dreamweaver).

    2. Clean code is a step towards SEO web sites

      One of the things we try to strive for is SEO web sites. We can pitch something like that to a client and get them to pay more for the "quality" of their website. Our clients don't know much about internet marketing plans, but when you tell them that their web site is optimized for search engine's crawlers, they like to hear it.

    3. Cross-browser compatability.

      Sure standards aren't supported by every browser, but I found that the less 'bloated' the code is, the better chance you have to make the web page appear similar in all browsers. Of course there will be differences on that page in different browsers, but that can't really be avoided. But I think standards complient code will help you get a close as possible.

    Those are the major reasons I opted to enfore my employees to use standards complient code, and in my opinion I think that any web developer/designer that doesn't at least attempt to write valid/complient code is either purposely trying to complete a website within a deadline they can't meet or they're just plain lazy.

  129. *ahem* by Anonymous Coward · · Score: 2, Funny

    "Acid2 Goes on Safari

    Yesterday Dave Hyatt posted news that Safari now passes the Acid2 test, making it the first browser to do so. Patches to enable Acid2 related support have been made available in Hyatts announce post, linked above. Under the circumstances, I thought it would be unfair to simply announce the news, so I ...

    By Ben Henick | April 28th, 2005" ...and... BTW this version(of safari) was released shortly after this...

  130. YES! by linkskywalker · · Score: 1

    Any idiot can code sloppy HTML, and I don't want to be any idiot. That's what made me start writing all my pages code-compliant and that's why I keep doing it. It's also a guilty pleasure to "stick it to the man" as it were. That'll show microsoft that they can't create up their own markup! Yeah! Then again, I'm just a hobbiest designer, and I don't have to deal with budgets and such. Still, I take a measure of pride in the fact that I can say I write standards compliant code. That's one geek's oppinion anyway.

  131. Ok, for the record on ACID2 compliant browsers... by multimediavt · · Score: 1

    Was everyone asleep in the last quarter of 2005?

    Apple's Safari 2.0.2, which was part of the Mac OS X 10.4.3 update (November 2, 2005, or there about) was the *FIRST* ACID2 compliant browser to ship to market.
    http://www.sitepoint.com/blogs/2005/11/02/safari-w ins-the-acid2-race/

    There are dozens more sites with the news, just Google it!

  132. Standards by HuckleCom · · Score: 0

    Pretty much everything is designed for "IE" where I work. However - for good practice I ensure that pages display correctly/nicely in Firefox and Lynx.

    Getting hung up on strict XHTML compliancy is too time consuming for people who actually have things to do.

    It's like some publications/people saying layouts should not use tables; Again, time consumption.

    There's a happy medium between productivity - and quality of product. Every business on the face of the planet must come to terms with this.

  133. Firefox 3.0 by RaNdOm+OuTpUt · · Score: 0

    probably won't pass ACID2. Using the Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060415 Firefox/3.0a1 ID:2006041504 [cairo] build, no ACID2 compliance. Just checked while reading this article.

    --
    13. Any legal action is absolutly excluded. (Pi World Ranking List rules)
  134. IE7 already did change this.... by SimGuy · · Score: 1

    I think it's inaccurate to say it remains to be seen if IE7 will change this. Microsoft has released beta 2 to the public and from my limited testing there have already been significant improvements in the renderer. I was pleased to find that my standards-compliant sites without IE hacks already work nearly flawlessly in IE7.

    --
    I don't care, but don't let that stop you from trying to tell me anyway.
  135. interperter by Anonymous Coward · · Score: 0

    Now if we could only get you to run spell check on every post...

  136. W3C is no longer relevant by Anonymous Coward · · Score: 0

    Who gives a flying leap about W3C. the organization is no longer relevant and is stuck doing BS. Let it die already and hand the specs over to an organization that knows how to do things.

  137. Hell no I'm not W3C Compliant. by Khyber · · Score: 1

    Why the fuck should I be bothered with this artificial rating system? I simply make a webpage for those that are interested. I don't need to be up-to-date with all the flashy/proven insecure technologies. All I need my webpage for is contacting my family, and on occasion making a point in a simple statement. Again, why do I need to be worried about such an artificial rating system? Someone explain this to me, because I'm pretty lost here.

    --
    Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    1. Re:Hell no I'm not W3C Compliant. by Yosho · · Score: 1

      I don't think you understand exactly what "W3C compliant" means. It's not a rating system, nor is it any sort of flashy or "insecure" technology. The W3C's HTML 4.01 standard is over six years old, and it has been proven to be more than adequate. The W3C defines the standards for languages like HTML and CSS; "W3C compliant" just means that your HTML/CSS is valid, according to the standard. There are no "artificial ratings" to it; code is either compliant or it isn't. Why should you care? Because, if you write standards-compliant code, any web browser that can read standard HTML will be able to read your code.

      Sure, maybe at the moment, everybody in your family uses IE 6.0, and you can throw together sloppy code that would make a validator cry; just wait until somebody decides to try out that new "Firefox" program they've heard of, or maybe somebody else decides to buy a Mac and use Safari, and suddenly everybody wants to know why your web page is the only one that doesn't look right. Nobody will understand your points if they can't even read them. What will you do when your grandma's sight gets bad enough that she can't read text on a monitor any more, or if somebody goes blind, and your pages can't be parsed by a text reader for the blind? Don't answer with, "I'll just make everything compliant whenever that happens." It has been proven repeatedly in the world of engineering that it's much easier to just do something right the first time rather than do it wrong the first time and then fix it later.

      Try looking around on http://www.w3.org/ for more information about why standards are good.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
  138. Did we need to ask this? by Baloo+Ursidae · · Score: 1
    As web developers (or the manager of web developers), what decisions did you made on your projects?

    Both. You'd have to be some sort of retard to ignore the standard or ignore how it's rendered.

    --
    Help us build a better map!
  139. Why choose? by Anonymous Coward · · Score: 0

    OK, maybe this story was just posted to stir up debate, but really - it's possible to develop an attractive site with valid, standards-compliant, semantic code that works perfectly for 99.8% of visitors and usably for the other 0.2%.

    No, it's not frequently done. Yes, it takes a bit more time (and hence money). But it's actually not a great deal more work.

    So it's not just a choice of "standards" vs. "works". Geez.

  140. Use Flash = Go to jail. by Anonymous Coward · · Score: 0

    "I'm seeing a lot of knee-jerk anti-flash prejudice in your comment. "

    For similiar reasons that people criticize Linux. Someone would try to install an old version of Linux. It wouldn't be a good experience. And then they would swear off Linux, and bad-mouth it to anyone within earshot. Flash is useful in the hands of someone trained properly, and I should point out that Flash is used for more than just the web.* Flash as you pointed out can also do some things that would involve a lot more work in other technologies. (Look at some Flex examples), and sometimes do them better.

    *I use it for UI mockups amoung other things.

  141. Easy method to do so... by mikelang · · Score: 1

    First time is the hardest, but everything gets used to.

    To make it a snap, I do on-the-fly validation when I write web pages.

  142. No - they don't give a damn! by Snaller · · Score: 1

    99.9% of all sites abuse stylesheets to specify an ABSOLUTE FONT SIZE for fonts, so browsers who follow the specs won't allow you to resize them (like MSIE). Because the people who make the sites only care about it looking good on THEIR MACHINE, not on everybody elses - damn annoying you have to try and read a site with a magnifying glass. Oh if only the web lived up to Berners Lees ideas: Scalable webpages. But of course there isn't much utopia in this world (even most of Slashdots pages looks crap, and do they care? Nooooooo of course not)

    --
    If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
    1. Re:No - they don't give a damn! by Run4yourlives · · Score: 1

      That's IE's issue, not the devs. IE is the only browser that doesn't allow the user to override the font size.

    2. Re:No - they don't give a damn! by Snaller · · Score: 1

      That's IE's issue, not the devs.

      No, its the devs who are abusing stylesheets. You are not supposed to use absolute scaling on websites, only incompetents do that.

      IE is the only browser that doesn't allow the user to override the font size.


      yes, IE is following the standards for once, who could imagine that.

      --
      If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
  143. I disagree; it does not depend on usage by hobo+sapiens · · Score: 5, Insightful
    For commercial sites, it's all about ROI
    Aaargh! You imply that developing a website using web standards takes longer. False! It _does_ require that you exercise more care. Do it for more than one website and it'll become second nature, meaning things like using closing tags on everything, quoting attributes, and properly nesting tags.

    I have developed sites both using tag soup AND strict HTML and XHTML. It takes no longer to do things the standards way, and using standards will almost ALWAYS make maintenance easier and therefore faster. That's ROI.

    Finally, I use Firefox's tidy validator. It takes no time to validate your code (literally, it gives you a status bar icon indicating success or failure) and I have found that more often that not, checking for validation errors helps you find logical errors in your scripting code (e.g. incorrect criteria with a loop over a recordset).

    It pays to use standards. I speak from experience. That doesn't mean that you have to slavishly adhere to them in certain situations. 99% of the time, though, there is no real excuse to ignore them.
    --
    blah blah blah
    1. Re:I disagree; it does not depend on usage by julesh · · Score: 3, Interesting

      Aaargh! You imply that developing a website using web standards takes longer. False! It _does_ require that you exercise more care.

      Sorry. If you're doing something more complicated than building a 10-page static site, or even something with a little PHP-driven database, then it will take longer. It'll limit your choice of available third-party modules, and you'll have to evaluate each one you consider for its standards compliance. You'll have to hire more competent developers when you outsource. You may have to redesign legacy code that's already on the site (I've just finished doing this for a text-html autoformatter that was in use on a number of sites my company maintains, and which produced the most horribly non-standard html you can imagine rendering correctly -- two days' work, and if I hadn't been able to justify it in terms of being able to extend the range of formatting options it supports, I'd never have got the finance to do it).

      If WAI is an issue, you'll have to examine the text that has been supplied by people other than yourself, going through it and putting expansions of abbreviations and acronyms in place for screen readers using ABBR and ACRONYM tags, for example.

      And developing a CSS-based layout that fits the specification the graphic designer has handed to you, rather than a deprecated table-based one, is often quite tricky.

      No, for anything beyond trivial requirements, meeting web standards can be time consuming. Sorry.

    2. Re:I disagree; it does not depend on usage by Transmogrify_UK · · Score: 1

      Can you give us a list of 3rd party modules are uncompliant? I'd like to know for future reference. However, I've yet to come across this while working with either PHP or Ruby On Rails. I had a little problem on very rare occasions when I worked as an ASP developer, with compliance of 3rd party components.

      Anyone that claims to be a professional web developer who DOESN'T adhere to W3C standards is, in my opinion, not a professional and if you're hiring those type of developers, good luck.

      I have found meeting web standards, developing with CSS rather than tables and writing (hopefully) semantic HTML has made my development process far far more efficient and no slower than the table-based layouts and non-standards compliancy days of old.

      No, for anything including trivial requirements and above, meeting web standards is not difficult and takes no more time than writing shoddy HTML. There's no excuse. Sorry.

    3. Re:I disagree; it does not depend on usage by FinestLittleSpace · · Score: 0

      This kind of attitude is what creates massive sites with crapm code still. As a HTML/CSS developer you are not doing your job if you are not working to standards. Simple as that.

      Bad HTML/CSS is the equivlent of really bad, messy perl/php/actionscript2/c code. I wouldn't for a second think about employing someone who was any less than perfect at standards.

    4. Re:I disagree; it does not depend on usage by n4t3 · · Score: 1

      For the company website, my tech writer and I decided we would ensure that as much of the site validated as possible. The site is PHP driven tied to a mySql database and produces about 175 pages of content. Once we understood what validated and what didn't, it was a simple exercise to make them all compliant, since most of the pages are produced programmatically anyways. The only thing that doesn't validate is the darn first page because it has flash on it. The hardest part of the job was cleaning up the messy, non-compliant code of the previous outsourced site, but now that it's done - the standardization it forced on us makes the code easy to read and uniform. It was be very easy to change this site next time because of our choice. Oh, and since we run Firefox as default on all work PCs, we had added incentive.

    5. Re:I disagree; it does not depend on usage by julesh · · Score: 1

      Can you give us a list of 3rd party modules are uncompliant?

      A PHP-based content manager my company used to work with, I don't recall its name unfortunately. Actinic catalog (validate their demonstration site here: http://validator.w3.org/check?verbose=1&uri=http%3 A%2F%2Fwww.premiumtyresonline.co.uk%2Facatalog%2Fs hop.html). I'm sure there are others, but I don't remember them right now. I find that *most* web applications generate URLs in links that contain unescaped ampersands. This works with all browsers, but is *not* valid HTML (at least according to the HMTL4 spec).

      I have found meeting web standards, developing with CSS rather than tables and writing (hopefully) semantic HTML has made my development process far far more efficient and no slower than the table-based layouts and non-standards compliancy days of old.

      Perhaps you could help me out here. I'm not a CSS expert by any means, but I currently have a requirement to implement a site that has three vertical columns, the leftmost and rightmost of which should be the smallest possible size to fit their variable content into and the central one should expand to fill the available space. I'd love to know how I can do this without a table, but I couldn't figure it out, and all the CSS layout tutorials I've been able to find will only do columns of predetermined width. Having wasted two hours on this fairly simple requirement now, I'm about to go back to using a table like I normally would.

    6. Re:I disagree; it does not depend on usage by colanut · · Score: 1
      Sorry. If you're doing something more complicated than building a 10-page static site, or even something with a little PHP-driven database, then it will take longer.


      If you are truly building a large site or application, then you are using templates. Validate the template and you are 80% there. Then the content applied to that template should not be to difficult to manage.

      In our templates only a couple of authors get wacky with their design, and they ask us developers to help them get it right.

      If you can't bother with minimal standards, well, that is the kind of help our shop can do with out.
    7. Re:I disagree; it does not depend on usage by julesh · · Score: 1

      As a HTML/CSS developer you are not doing your job if you are not working to standards. Simple as that.

      Actually, as an HTML/CSS developer I wouldn't be doing my job if I didn't produce a solution that does what the client wants within the budget that I told the client would be possible. If I can produce something that complies with the relevant recommendations (note: not standards, the W3C doesn't produce standards) at the same time as meeting those constraints then that's so-much-the-better. However when problems arise that can't be solved without breaking one of those two more important constraints the solution is to violate the recommendation every time. Yes I produce web sites that use <nobr> tags when necessary, and I produce web sites with HTML and CSS that uses proprietary extensions to achieve things that can't be satisfactarily achieved without them. I produce sites that render as the client wants in IE. I test in a few other browsers to make sure it works at-least acceptably in those. I follow "standards" when possible. I don't slavishly adhere to them at the cost of my clients' interests. To do so, I feel, would be unprofessional. And if you disagree, keep that disagreement to yourself. You'll never convince me otherwise, or any of the others like me. And we're the vast majority of developers.

      Bad HTML/CSS is the equivlent of really bad, messy perl/php/actionscript2/c code. I wouldn't for a second think about employing someone who was any less than perfect at standards.

      Not adhering to standards doesn't mean that I don't understand the standards, and doesn't mean I can't use them when applicable. However, if I'm putting together a client site with a 3rd-party ecommerce application, I'm not going to pick that app's code apart in order to fix the bug that causes it to omit </option> tags in some circumstances. Sorry, not unless the client is willing to pay for it. And I highly doubt you'll find one that is, if you explain to them exactly how it benefits them.

    8. Re:I disagree; it does not depend on usage by kent_eh · · Score: 1

      You'll have to hire more competent developers when you outsource.

      And that's bad because....?

      --

      ---
      "I can't complain, but sometimes still do..." Joe Walsh
    9. Re:I disagree; it does not depend on usage by julesh · · Score: 1

      Have you ever tried to find a competent web developer to outsource to? Didn't think so. It's *hard*.

    10. Re:I disagree; it does not depend on usage by Pope · · Score: 1

      Googling *CSS layouts* gets me this on the 2nd hit: http://glish.com/css/7.asp

      Mix and match the different techniques to your heart's content.

      --
      It doesn't mean much now, it's built for the future.
    11. Re:I disagree; it does not depend on usage by Fujisawa+Sensei · · Score: 1

      I don't know about the otherse but "more care" == "more time"

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    12. Re:I disagree; it does not depend on usage by hobo+sapiens · · Score: 1

      At work I, along with my small team, maintain a website that is > 500 pages. We have developed templates for the header, footer, etc. We have standard stylesheets, yada yada. Most of the site validates. our team is comprised of what you would expect to find in the corporate environment - some really talented people, some who just work here. I find most people want to do things right, especially when peer pressure is extered upon them to do so. They just need some direction.

      I say _most_ of the site validates, because hey, we have content that is user generated. Sometimes that just busts things. So what. Big deal. The code we write, for the most part, is compliant. It is much easier to maintain. BTW, we write all HTML by hand and not using generators. All of us.

      Having said that, I have taken over sites developed by other people which are a horrid tag soup. Do I fix their markup? Absolutely not, at least, until the poorly constructed site gets the rewrite it often needs. I say this because there is one thing I have noticed: web developers who scoff at web standards are often the ones who also scoff at "trivialities" such as proper DB normalization, efficient query writing, and scalable web code. I am talking bad practice here, like loops with queries inside them and nutty joins. That's what you get when you have sloppy people working on a project.

      --
      blah blah blah
    13. Re:I disagree; it does not depend on usage by GroinWeasel · · Score: 1

      Pay closer attention: note the fixed widths of the left and right columns: he asked for 3 fluid columns.

    14. Re:I disagree; it does not depend on usage by Anonymous Coward · · Score: 0

      Sorry, if you're building a large or complicated site it's more important to use standards.

      * they parse better in most tools.

      * they make your code look consistent to the maintainer.

      * nobody's going to be able to hold all that code in their mind, so consistency is important.

      * the site is going to hang around and change over time (because it's big and because it's complex and interesting) so maintenance will happen.

      * the cost of maintenance is WAY bigger than the cost of development for ANYTHING that matters. (HTML, C++, your house, your car....)

      Making a thing cheap to build is usually the same as making it hard to fix, and if it's meant to be around a while it's always cheaper in the long run to make it easy to fix but harder to build. Sometimes that means it doesn't get built(but not usually) .

      If it's big enough, you're going to get into that long-term cost *before you finish building*, so putting in the extra effort up front, and in the build plan, is cheaper than cost overruns and delays when you suddenly find out something quick and dirty isn't going to work, or that Bob can't figure out how to fit the latest change in without breaking something else.

    15. Re:I disagree; it does not depend on usage by Fastolfe · · Score: 1

      You imply that developing a website using web standards takes longer.

      No, he's implying that it's more expensive.

      High school kids that can vomit out "IEML" web sites that meet business requirements are a dime a dozen. People producing higher quality, standards-compliant web sites that meet and exceed business requirements are significantly more expensive, even considering the likelyhood that they'll be able to do it faster.

    16. Re:I disagree; it does not depend on usage by Anonymous Coward · · Score: 0

      There's nothing wrong in using Tables - After all, they are a part of the HTML 4.01 spec. As long as you're aware of the fact that tables are a clever little hack to get around current browser limitations, it doesn't matter. :)

    17. Re:I disagree; it does not depend on usage by FireFury03 · · Score: 1

      I'm not going to pick that app's code apart in order to fix the bug that causes it to omit </option> tags in some circumstances

      And that is exactly why we need XHTML - such lazyness just plain won't work if you were using XHTML.

      If you don't produce complient code then you run a higher risk of your site breaking in a browser you didn't test in. This is getting more and more important with the hundreds of web-enabled devices (cellphones, PDAs, WebTV, etc). And yes, I accept that standards compliance doesn't guarantee it'll render correctly in every browser, but in my experience the rendering problems are significanly more minor on complient code.

    18. Re:I disagree; it does not depend on usage by ubernostrum · · Score: 1

      And that is exactly why we need XHTML - such lazyness just plain won't work if you were using XHTML.

      Well, it won't work if the document is served as application/xhtml+xml to a user-agent which understands that media type and uses an XML parser on it. But since "XHTML" to most people means "put a closing slash in the img tag and keep doing what I was doing before", I'm actually going to say yeah, it probably will work.

    19. Re:I disagree; it does not depend on usage by ubernostrum · · Score: 1

      Perhaps you could help me out here. I'm not a CSS expert by any means, but I currently have a requirement to implement a site that has three vertical columns, the leftmost and rightmost of which should be the smallest possible size to fit their variable content into and the central one should expand to fill the available space. I'd love to know how I can do this without a table, but I couldn't figure it out, and all the CSS layout tutorials I've been able to find will only do columns of predetermined width. Having wasted two hours on this fairly simple requirement now, I'm about to go back to using a table like I normally would.

      You do know about display: table-cell, right?

    20. Re:I disagree; it does not depend on usage by Anonymous Coward · · Score: 0
      Actually, as an HTML/CSS developer I wouldn't be doing my job if I didn't produce a solution that does what the client wants within the budget that I told the client would be possible.

      Actually, as a competent HTML/CSS developer, I would assume you have standard development methodologies that incorporate good coding practices and have worked that into your pricing estimate, particularly since your clients apparently are magnanimous enough to let you develop the budget.

      I've found that good coding practices are 95% of the battle, and that once they become part of the process that incorporating them adds no significant time to development. I've also found that it's people who don't want to add that rigor to their development process who compain the most about it costing them time.

      Now, does this mean that I go out of my way to re-code other peoples' applications to make sure the app is outputting valid code? No. If the client has already paid money for such an app, it's their perrogative to use what they want. But at the same time, it doesn't mean I suddenly give myself license to code poorly.

    21. Re:I disagree; it does not depend on usage by adamfranco · · Score: 2, Interesting

      As can be seen in this reference, none of those great CSS2 properties are supported by IE. As much as I would love to use them, they simply do not work for the 50%+ of one's audience that uses IE.

      Hence, we are STILL stuck with table-based layouts as they are often the only thing that can reliably stretch to fit arbitrary content in a pleasent way. Sure divs and CSS1 work well for a lot of content where you know the sizes-of-components/lengths-of-text, but for building generic CMSs in which users can add arbitrary ammounts of content, often tables are the only (IE-supported0 option.

      The day an IE that supports CSS2 comes out (or IE market share drops to <25%) is the day I remove table layouts. I wish I could do it sooner, but I can't. That said, I can still make sites that validate against XHTML Strict && CSS1/2, I just have to use tables for layout.

      - Adam

      --
      "When ideology and theology couple, their offspring are not always bad but they are always blind." -- Bill Moyers
    22. Re:I disagree; it does not depend on usage by Psychotext · · Score: 1

      I have one, but I have him locked in my dungeon now. He's never getting away. =D

      --
      People that believe in their opinions don't post AC.
    23. Re:I disagree; it does not depend on usage by ubernostrum · · Score: 1

      As can be seen in this reference, none of those great CSS2 properties are supported by IE. As much as I would love to use them, they simply do not work for the 50%+ of one's audience that uses IE.

      OK, so let me hold your hand a bit: what you want is a combination of the table-related display values for the browsers which support that, and display: inline-block for IE. For example, it's used in this technique for making floats act somewhat like they're in the normal flow.

  144. Yes. Yes. Yes. by naelurec · · Score: 1

    Writing to a standard is important. I can label my page XHTML 1.0 Transitional compliant and know that if a browser supports that standard, my page will show properly (or atleast very close). I can develop in Firefox and have a high degree of confidence the design will render and function properly in Konqueror, Safari, Opera and other browsers.

    Beyond this, I follow accessibility guidelines so individuals with disabilities can access the content with ease (ie color blind tests, speech synthesis navigation, access keys, etc.)

    Being able to study and master a standard and write compliant pages is a very enjoyable process. Knowing my design is accessible for a wide range of users (users with disabilities, pdas, cellphones, desktops, laptops, various operating systems, etc..) is very important. Knowing that future versions of browsers should not break my pages (such as the issue with IE6 pages breaking with IE7) is reassuring that there is some future-proof to the design.

    Unfortuantely we live in a world where Internet Explorer still dominates. And unfortunately a nicely developed compliant page tends to break in various ways in Internet Explorer -- this absolutely SUCKS. So the use of dumbed down syntax, hacks and other workarounds are the norm to attempt to make what IE6 renders look presentable while still maintaining compliance. PITA.

    This is where it gets tricky. Do I *really* want to spend time attempting to shoehorn an elegant standards compliant webpage into IE6? Does my customer want to pay? I think the answer is a reassounding "NO". Developing *for* IE6 tends to be more ideal as many browsers have had to compromise to render poorly written IE-exclusive pages properly. Generally a customer is much more forgiving if a page doesn't render quite right outside of Internet Explorer. However, I believe in open standards and will continue to develop to the W3C standards *FIRST* and shoehorn it into IE as an afterthought. Granted, after learning the myriad of hacks and tricks and limitations of IE, this process does go much quicker- however, it still ultimately really sucks. Augh.

  145. wtf by vague_ascetic · · Score: 1

    Returned in WC3's Mark-up validation Service: v0.72

    http://validator.w3.org/check?verbose=1&uri={_this _slashdot_page_uri_}

    I got the following unexpected response when trying to retrieve {_this_slashdot_page_url_}:

    403 Forbidden
    --
    Rush Limbaugh is a perfect real world example of an oxycontinmoron
  146. um... by Run4yourlives · · Score: 1

    you do realize that's intentional right?

    The CSS is designed to ensure browsers handle invalid code properly.

    1. Re:um... by hahafaha · · Score: 1

      Exactly. I don't see why a browser should handle wrong code properly.

  147. +1 Insightful by Neoncow · · Score: 2, Funny
    If you're looking to Slashdot for peer approval, you're just asking for a nightmare.

    +1 Insightful
    ..

    Oh wait..
  148. Yeah, my site is compliant by Crimson+Fire · · Score: 1

    I validate each page on my site, and my job also expects that I will write code that is W3C compliant.

    I validate because it means I have a better chance of my site working in all browsers (for longer). Plus I wanted to learn, and because trying to use CSS on code that isn't valid is tricky.

    The main thing abount compliance is that it isn't the last thing on your list to do, it's something you aim for from the start of a project, and having worked with and without compliance, I prefer with.

    And yes, I get a warm fuzzy feeling when I validate a page.

  149. It does. by Run4yourlives · · Score: 1

    Rather, it increases the PR of properly formatted pages.

    1. Re:It does. by Anonymous Coward · · Score: 0

      Do you have a link for that? I find it VERY hard to believe - as long as it parses through a HTML parser is all that Google cares about, not if you have invalid elements or attributes in a HTML 4 Strict document. e.g not using style attributes.

  150. Theory and Practice by mysta · · Score: 2, Informative
    We're straying off-topic now, but that sounds a lot like this quote from the Danish computer scientist Jan L. A. Snepscheut (1953-1994):

    In theory, there is no difference between theory and practice. But, in practice, there is.

    --

    "Where is the wisdom we have lost in knowledge, and where is the knowledge we have lost in information?"-T.S.Eliot
  151. Browsers and Standards by pavera · · Score: 3, Informative

    I attempt to follow standards as much as possible, however because IE is so hideously broken, it almost doesn't matter. I recently developed a site, ran the validator on it, it passes fine, it all works in firefox and opera, displays how its supposed to, everything's great right? Open it in IE, totally broken, things don't line up, the spacing is wrong, everything looks like crap... go through everything to fix it, get it so it displays "right" in IE, run the validator again.... oops errors all over the place...

    In short I don't think its possible to write a standards compliant page and have it display in IE properly, as long as this situation persists, it will be impossible to push "standards" on the internet. If the standards don't display correctly on 90% of the computers, what are you supposed to do?

  152. Standards created lots and lots of.. fanatics by suv4x4 · · Score: 2, Insightful

    There are several types of them:

    Validation fanatics:

    They believe that they should unconditionally comply with the W3C (and the other) validators and this means they did a good page.

    They compare the validators to the compiler syntax checks other languages do before compilation. Of course, no compilator in the world will stop you from writing buggy crappy useless programs, but they don't like to talk about that.

    Another thing many of them don't assess, is that validators are just a guide, not God, and like any software tool, they have bugs and can miss plenty of code flaw types, or print code warnings or even code errors where there are none.

    An advice to validation fanatics: your web page won't be seen in a validator, it'll be seen in a browser.

    XHTML fanatics:

    Anything less than XHTML 1.1 Strict is crap. In certain cases they might do a great compromise and go for 1.0.

    XHTML is just a rehash of HTML4 as an XML dialect. Unless you need to take advantage of your code being XML, there's no big advantage to using XHTML now* . All of the talk about future compatibility or how HTML 4 is obsolete is nonsense. Browsers will render HTML 1 for ages to come, same can be said for HTML 4.1, which still a nice, valid standard.

    *exception: mobile browsers strictly requiring XHTML Mobile Profile this is still no XHTML 1.1 support, like many XHTML fanatics believe.

    What XHTML fanatics forget is, it's not easy to write a real XHTML page nowadays, that would run in both existing and old HTML browsers (that actually includes IE6: over 85% market dominance) and XHTML browsers.

    XHTML fanatics sometimes make basic mistakes, like putting contents of [style] or [script] blocks in comments, or forgetting to put them in CDATA blocks, in both cases, the resulting code is a broken XHTML page if it runs in strict mode. The reason they don't see it, is that XHTML browsers interpret XHTML like HTML, since it's served with the HTML MIME Type (if served with Application/XML, it'll break IE).

    "No tables for layout" fanatics

    So yes, W3C said it's not recommended to use tables for layout. And it's indeed not nice: the classic usage of tables for layot is a huge mess of plenty of table cells, 4-5 nested tables in one another, the code is unreadable and unmanagable without a WYSIWYG editor (and that in itself, spells trouble if the web dev/designer has no clue).

    However, fanatics go further: they open the source of most site they visit, looking for "clues": if you do use tables for layout the site is marked invalid, the site author an idiot, and the site's actual contents discarded.

    If you ask a "No tables for layot" fanatic for help and he sees you use a table, you can be laughed at, insulted, bashed on and so on.

    The funny reality: CSS is still defficient as a layout tool for some pretty basic layout schemes. The workarounds include laughable stunts like 4-5 nested [div]-s or more (i.e. table tag mess in its new form), 3000px wide bitmaps with transparent areas and so on and so on.

    So these types of fanatics will advise you to either go for display-type:table (not working in IE), go for the ugly hacks, or change your layout. The irony you need display-type:table in CSS is worth a separate post on its own.

    Truth is, there's no drawback to using very simple tables styled with CSS for your layout, if there's no simple way to do it with CSS. No modern search engine or browser in the world has a problem with tables. No modern screen reader has problems with tables. No modern mobile browser has problems with tables. Try it in Opera (SHIFT+F11) and see how horizontal layouts made in tables are properly broken up vertically to allow for easy reading on a mobile device.

    "Don't use crappy browser" fanatics

    These guys believe it's their mission to talk, enforce, advice and so on their visitors to switch from their "crappy" browser (usually IE), to a better browser like Firefox. They also don't mind l

    1. Re:Standards created lots and lots of.. fanatics by Ash-Fox · · Score: 1

      > Browsers will render HTML 1 for ages to come, ...

      Except IE7.

      --
      Change is certain; progress is not obligatory.
    2. Re:Standards created lots and lots of.. fanatics by suv4x4 · · Score: 1

      Except IE7.

      And what the hell do you mean?

    3. Re:Standards created lots and lots of.. fanatics by Ash-Fox · · Score: 1

      > And what the hell do you mean?

      I read in a article that cited Microsoft sources that IE7 will be removing old things from Internet Explorer, things from the HTML1 spec such as pre tags etc.

      --
      Change is certain; progress is not obligatory.
    4. Re:Standards created lots and lots of.. fanatics by suv4x4 · · Score: 1

      I read in a article that cited Microsoft sources that IE7 will be removing old things from Internet Explorer, things from the HTML1 spec such as pre tags etc.

      The article mislead you. Backwards compatibility is more crucial to IE than even the new CSS fixes. If something is used on even less than 1% of the sites out there it'll be in. Microsoft repeatedly repeated that backwards compatibility is paramount for them in IE7 as a project, and that the any CSS/HTML fixes ansd changes towards better standards support will only affect sites with full DOCTYPE (as always).

  153. Finally, progress! by reynhout · · Score: 1

    This comes up every few months in one forum or another, and there usually seems to be a 50/50 split between the purists and the ... "pragmatists" (I'm being generous).

    To see that the slashdot population (or at least the pop with moderation privs today) has finally mustered up a solid consensus in favor of standards-based design is excellent news.

    Sure, there are the outlying "my boss says only IE matters" and "tables were good enough for 1996, so they're good enough for me" folks, but they're just faux-nostalgic fear-of-change types. Attrition is inevitable.

    This is the best and most interesting news I've read on slashdot in a long time.

  154. Yes, and Validate to HTML 3.2 Still, ... by Anonymous Coward · · Score: 0

    which is the only standard above 2.0 that has a chance of rendering well in most browsers.

  155. w3 compliance by maxdamage · · Score: 1

    I have always valued w3 compliance in my web applications. Though some browser companies may choose to not be w3 compliant, at least I know that my pages are set to the standard and will work in browsers that adhere to them.
    I always display the w3 validate tag on my sites.

  156. Fact checking please? by Enderandrew · · Score: 1

    Konquerer also passed the ACID2 test. Can we please get some fact-checking before articles go public?

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  157. ACID2 compliance isn't important by El_Muerte_TDS · · Score: 1

    ACID2 abuses the CSS2 standard to it's extend, this means the CSS2 contains errors. How these errors should be "fixed" by the browser is defined in the CSS2 standard. And that is what the ACID2 test is about. The ACID2 test doesn't pass CSS2 validation because of the errors.

    But still that doesn't mean you shouldn't write proper CSS2 and (X)HTML

    1. Re:ACID2 compliance isn't important by Hynee · · Score: 1

      Links please!

      --
      Damn, I already moderated this topic. Now I'll have to log in with my sock puppet to comment.
  158. Job Security by nick_davison · · Score: 1

    A standard compliant website more or less guarantees that your website will work atleast decently now, tomorrow and in the far future. A non-standard with hacks might just aswell not render at all in 4 years.

    This is what we in the field like to call "job security."

    For personal sites, code it correctly or you'll have to fix it in a few years. For sites where you have no chance in hell of convincing your PHB that standards are a good idea and he'll likely mark you down in your performance review for time wasting, do exactly as he asks, safe in the knowledge there'll be plenty of work for them to pay you for next year and the year after and the year after that. Really, it's their way of giving a little something back. ;)

  159. Degrades gracefully on error is a feature, not a b by patio11 · · Score: 1

    Sure, you could cripple your browser by having it refuse to render non-compliant pages. You would also ensure that everyone ran off to a browser which actually attempted to render in excess of 40% of the Internet without popping up a dialog which is meaningless to the end user. You think Firefox would jump to add *non-standard, user-screwing* behavior just because Microsoft did? I bet the IE team doesn't think so.

  160. Re:FireBug by kadnan · · Score: 2, Informative

    FireBug is a good Firefox extension to catch evil tings in your page.It has a builtin validator as well.

  161. Validator, with a grain of salt. by Vo0k · · Score: 1

    The validator is a great tool for finding bugs in your HTML. Missing closing tags, quotes, messed up parameters. But sometimes validator is overzealous, swallowing (and barfing) pieces of html contained within javascript, parts that are (correctly) commented out, usage of national characters in non-UTF8 non ISO-8859-1 documents, missing parameters that should be long put out of misery (type="text/javascript"), and generally panics and goes berserk in places where it should at most frown.
    So I use it as an advisory tool. Run the page through it,

    * if it points out bugs, thank you, I fix them,
    * if it dislikes few unimportant arguable bugs, I fix them for bigger e-penis of the "compatibile" tag.
    * if it barfs a long list of bullshit (URLs containing & are defacto standard for ages now...) screw it.

    --
    Anagram("United States of America") == "Dine out, taste a Mac, fries"
  162. DOCTYPE? what's wrong with HTML /HTML by Anonymous Coward · · Score: 0

    wtf is DOCTYPE? lol what's wrong with just HTML /HTML? Thought the beauty of hand coding webpages was so it was clean of all of the unneeded crap that programs like Dreamweaver add to bloat the page.

    I have a very small page and the validator has 43 errors reported. All standard HTML.
    HTML and TABLE.

  163. My website is w3c compliant by Pallab · · Score: 1

    I try my best to keep my website valid xhtml.

  164. Re:Degrades gracefully on error is a feature, not by GWBasic · · Score: 1
    From my original post:

    Specifically, if IE7 displayed a dialog...
    I never said anything about crippling a browser! Warning the user that the web page is invalid doesn't mean that the browser doesn't display it!
  165. W3C Compliance by CodemasterMM · · Score: 1

    As a professional web developer and coder, I always make sure that I am valid - using the Strict templates, even, when I make a website for clients. When I compile code in Java or C/C++, if I get any warnings or errors, obviously I fix them; the same applies with my XHTML and CSS - if errors or warnings occur, I fix them so that it is valid.

  166. Not forgetting to validate by rikkus-x · · Score: 1

    To get onto my personal site, everything goes through XHTML validation as the last stage of the build system. If it doesn't validate, it doesn't appear. I think it makes sense to do validation this way.

    I see lots of sites with 'Valid (X)HTML' buttons, which when pressed go to W3C's validator, which checks the referrer. 9 times out of 10, it wasn't valid at all.

  167. Why I try to follow the specs by Magnus+Reftel · · Score: 1

    There's basically just one reason why I try to follow the specs: it's easier to debug layout problems in strict mode than in quirks mode. Always having to second-guess the browser whenever some part of the page ends up slightly off from where it's suposed to be just isn't fun.

    As a few others herehave pointed out, validating afterwards might not be the best idea. The HTML Validator plugin for Firefox validates as you go, which makes errors visible directly when they are made (and therefore usually easier to correct).

    --
    print "Yet another p{erl,ython} hacker\n",
  168. Yes I do by oglueck · · Score: 1

    The HTML code of my site has always been standards compliant. The tricky part is how you code the CSS to make it show up properly with IE. When I recently revamped the layout I totally ignored IE. I was coding on a Linux box anyway. So I used standards only and tested in Firefox and Konqueror. I was not surprised that it didn't look quite as nice in IE. But this could easily be fixed with an IE-specific CSS include using . My focus was not to make it look nice on IE, but to get it to a point where the content was readable. In my opinion it's totally okay that people still using this broken IE thing get a worse browsing experience than people using a standards compliant tool.

  169. How Adobe and Yahoo did their W3 bit (sort of) by new500 · · Score: 1

    . . .

    Cry/laugh news from a developer friend who works a provincial part of the world. Suddenly I was hearing for the first time from him a rant against Flash. All my buddy's clients have wanted fancy Flash navigation for the sake of it. What killed flash? Adobe opting in Yahoo Toolbar on their download page for the latest plugin. Yeah, that killed it. Too complicated. It became a _support issue . . Now i can get to talk ECMA/CSS to my mate :-)

    Nothing against Flash, my mate has done some top work, mechanical training sims etc, for which Flash is a pretty much the choice for web delivery.

    Me? At heart I'm still pitching art galleries why they should pay for Lynx support . .

    CSS is just sooo 1997. What was it we were doing? I thought all this compatibility stuff was fixed with XSLT . . .

  170. Pleasing design + W3C compliant == Talent by ChrisZermatt · · Score: 1

    When I first started trying to make my projects W3C compliant, it drove me nuts! Either I could get things compliant or I could get them to look right (in modern browsers), but almost never both at the same time. I found it incredibly frustrating and a huge waste of time (css definately has that *designed by commitee* feeling! How about a way to *vertically* align a child in a box???!!!).

    But you know what happened over the course of the last several years? I've learned how to build sites that are both compliant and still render correctly (yes, even in IE) without using any hacks (hacks are a guarentee that your site will stop working someday soon -> wait for IE 7 to hit the shores!).

    It wasn't easy to achieve, and a lot of people will never get there, but it is possible with some time & effort.

    So keep trying to make your sites compliant, after a while I think you'll find that you instincitvely build sites that work.

    1. Re:Pleasing design + W3C compliant == Talent by Phillup · · Score: 1


      I found it incredibly frustrating and a huge waste of time (css definately has that *designed by commitee* feeling! How about a way to *vertically* align a child in a box???!!!).



      But you know what happened over the course of the last several years? I've learned how to build sites that are both compliant and still render correctly (yes, even in IE) without using any hacks (hacks are a guarentee that your site will stop working someday soon -> wait for IE 7 to hit the shores!).


      So... how did you solve the vertical alignment problem?

      --

      --Phillip

      Can you say BIRTH TAX
  171. Universities Care by TheoMurpse · · Score: 1

    I work for the University of Texas as a web designer. I have recently completed a project to be accessible by the general public so they can learn American Sign Language. I spent much effort designing the website the way my bosses wanted it, all while maintaining web standards, and using browser hacks where necessary to make it work. Following standards is, as counterintuitive as it sounds, essential in order to maintain freedom from corporate control over the net. If we only code to IE, then Microsoft gets to dictate what works and what doesn't. There are many nice features to CSS3 that I fear will never get used if Microsoft decides they don't care about W3C standards.

    Also, UT has recently been auditing all their pages for compliance. They are even very grateful when I point out old javascript code that assumes a user has IE or Netscape. It's great when a university cares enough to support browsers that are used by well under 5% (I guess) of the student population.

    Disclaimer: I'm an Opera fanboy, so I actually care about web standards ;)

  172. My Web Design App creates valid code anyway by Anonymous Coward · · Score: 1, Interesting

    Hi, I'm probably going to start a flame war with this, but ... The app I use to build web sites is an HTML generator called Freeway - see Softpress for more details. It generates HTML and XHTML, and the code validates every time. I know, I know: I should be typing my fingers to the bleeding knuckles instead of using a DTP like interface, but I'm a graphic designer, NOT a coder, and I find it much easier for me to visualise my work as I go. I like Freeway because of it's designer-friendly interface, and the valid code output is icing on the cake.

    1. Re:My Web Design App creates valid code anyway by Ash-Fox · · Score: 1

      Too bad it's a Mac application. Can't run it under windows or linux (at least if it were a Windows application, there would be some support under Wine).

      --
      Change is certain; progress is not obligatory.
  173. Bollocks to the standards by PhotoBoy · · Score: 1

    If it looks alright in IE and Firefox it's good to go live!

    1. Re:Bollocks to the standards by SlashBoot.org · · Score: 1

      As IE generally sticks two fingers up to standards, I have long since given up on checking to see if my pages display ok in IE. I design them for Firefox and W3C compliance. In my mind that is what says if they are good to go live.

      If it doesn't display properly in IE, that's Microsoft's fault and problem, not mine. If visitors tire of IE not rendering standards compliant pages properly, then it is up to them to put pressure on Microsoft to com into line with the rest of the planet. Market share does not indicate being correct.

  174. PHP infused CSS by Anonymous Coward · · Score: 0

    Personally, I develop to standards and then use PHP infused CSS to make it look correct in the various browsers.

  175. No bull**** answer: by Regnard · · Score: 1

    Yes, but with reservations.

    As a developer, I seem to have often hit the snag where the client's requrements are in confict with what I openly advocate(web standards). Example: use of CSS and abandoning of older browsers (IE5).

    I guess it goes down to a judgment call of the developer what to prioritize.

    --
    Need a color? Try 100 random colors
  176. Standards-compililance is not that hard by porneL · · Score: 1

    It's a matter of using proper tools that don't let you break the code.

    If you chaotically spit code fragments, you're likely not only to create invalid code, but you also risk XSS attacks.

    Use server-side XSLT or some error-checking template system and half of the problem goes away.

  177. All well and good, but... by UK31337 · · Score: 1

    The W3C Validator is useful in validating your code so that it is "valid", according to the standard. Problem is, I've yet to see any browser that properly implements every aspect of the W3C standard, so isn't code validity a bit pointless if it's not going to work properly in the market leading browsers? That's what annoys me about web development - nothing you ever learn works for more than two minutes, if it even works at all.

  178. W3Cm compliance is important for one thing... by Kjella · · Score: 1

    First, you have the websites that are IE-only, which should be shot on sight but can't be helped. But if you're developing for more browsers, then the W3C standards are your saviour. They mean you don't have to code one page for Mozilla, one for Opera, one for Safari and one for whatever else is out there. Particularly in automaticly generated code or templates they are the way to build durable components that won't need rewrites for every major browser version. The three step process to a good website:

    1. Build a W3C compliant website
    2. Include an additional CSS via IEs conditional comments
    3. Unfuck your site in IE until it looks decent with overrides in that CSS. You may have to modify your code a little with some extra div's that hacks can operate on, but most things can be fixed in CSS.

    That leaves a very good basic site design, and if you're targetting other browsers than IE then the overhead is really minimal.

    --
    Live today, because you never know what tomorrow brings
  179. I sure do! by Lord+Bitman · · Score: 1

    In that if my site were W3C compliant, I'd quickly change it so it no longered suffered from that problem.

    Code to standards the moment the standards make sense. Until then, any compliance should be looked at as a BadThing.

    Do Not Encourage Bad Standards. /me eagerly awaits CSS 7

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  180. Google by Anonymous Coward · · Score: 0

    All I know is the Google.com homepage doesn't even have a doc type. Why is Google not W3C Compliant?

  181. Absolutely by Cloud+K · · Score: 1

    It's a bit like voting - sometimes it seems a waste of time, but if everyone had that attitude then you'd end up with a dictatorship (IE, in this case).

    I guess in some areas it's less important than others, such as a personal blog site or whatever.

    But I work for a non-profit who are there to help people who are disadvantaged (socially, mentally or physically etc) and there's no doubt that a large part of the audience for our website have disabilities. W3C compliance is just the first (important, and really not that difficult) step in ensuring that your site is accessible to all audiences and complies to Web Content Accessibility Guidelines. Not only is it the law under the Disability Discrimination Act (UK) to make sure that a company website is accessible to disabled people (to approx WCAG level 2), it's just the responsible thing to do when you're providing such a service.

    Even though we're small, I've had a few emails now from visitors from the council and other such places saying they've visited the site and are impressed that it complies with accessibility standards and not many like us display the consideration of making that kind of effort. IMO that alone makes it worthwhile.

  182. Re:Depends on Usage - CMS by mcvos · · Score: 1
    On heavily content managment based sites, it's virtally impossible to guarantee the pages will pass the validator tests if you allow the owner/users to add content with e WYSIWYG editor in the backend. They'll always find some way of screwing it up, no matter how many safeguards are in place.
    The trick is to use a good CMS with a good editor. If the backend XML has to adhere to correct schemas, and the frontend translates it correctly to HTML, nothing can go wrong.

    Ofcourse fulfilling these requirements isn't trivial. But it's possible.

  183. Konqueror by Kirth · · Score: 1

    My Konqueror 3.5.2 passes it. my Opera 8.5 not.

    --
    "The more prohibitions there are, The poorer the people will be" -- Lao Tse
    1. Re:Konqueror by the_greywolf · · Score: 1

      Konqueror stable passes the test since version 3.5.0. current stable is 3.5.2.

      --
      grey wolf
      LET FORTRAN DIE!
  184. Uhhh, what? by s31523 · · Score: 1

    That is the response you will get from the majority of people doing web pages. Aside from the professionally developed commercial web developers, lets be honest.... About 1/3 of my neighbors have their own website. And their response would be just as it is in the subject. I think the majority of people just use Yahoo pagebuilder, or Dreamweaver, then are amazed when the first page with "My Dog Skip" comes up in the browser.

  185. Konqueror by adrianbaugh · · Score: 1

    AS far as I remember konqueror CVS correctly renders ACID2 now. According to the CVS-digest the other week anyway, I haven't run it myself yet.

    --
    "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
    - JRR Tolkien.
  186. "Tend to produce..." by Anonymous+Brave+Guy · · Score: 1
    Standards-based, accessible websites [...] tend to produce better search engine results, be faster to download, use less bandwidth, and improved usability.

    Repeat after me, please: correlation does not imply causation.

    I'm amazed that we haven't seen almost the same answer from every pro commenting in this thread: standards are a means to an end. If following W3C standards does gain you better search engine placement, or cut down your bandwidth, knock yourself out. And of course, if following W3C standards means your site renders better for people you care about (which isn't necessarily everyone with a web browser) then go for it. But don't follow W3C standards, or anyone else's, dogmatically. Always know why following a particular standard will help you.

    Personally, I do try to keep the code for the site I run valid, but that's more because the benefits above do apply to me (for example, my server logs tell me around 1/3 of my visitors are using a Gecko-based browser) than anything else.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  187. Fact Check by Hercules+Peanut · · Score: 1

    Since Opera 9 is the only browser to pass the ACID2 test, is strict compliance really necessary?

    Only? Opera wasn't even the first (http://it.slashdot.org/article.pl?sid=05/04/28/12 15227).

    I think konqueuror was second. I guess someone cares. Probably everyone except MS. That would be about par for the course.

  188. Yes and no. by Anonymous Coward · · Score: 0

    On the one hand, I've taken alot of care to make sure my site displays consistently on IE/Gecko/Opera (sorry KHTML, go Win32 and we'll see) and that the Javascript executes properly as well. It's an ongoing battle, not just because of differences but also other browsers' attempts to emulate IE and thwarting some checks in the process. All in all, the goal is to shoot for a page that renders OK in an IE/NN 3.0 era browser but takes advantages of a little bit of well tested CSS where it's available.

    On the other hand, the official validator sometimes barfs over that approach. IE (and others) have supported a handful of non-standard tags for several major versions now. Some of these are supplanted by CSS...and the validator takes every opportunity to bitch about them. The examples that comes to mind first are how to do a fixed background image and specifying script language rather than type. I'm sure eventually it'll have a fit over me using tables instead of divs for layout too.

    So, yes, while I shoot for full HTML 4.0 validation, I refuse to shut out perfectly good browsers made in the same timeframe by relying entirely on poorly-defined, poorly-supported CSS. In all honesty, as the last major revision of HTML, every browser released in the 21st century should be able to handle it...if they can't, well, that's their problem.

  189. Yes! by angryrobot · · Score: 1

    I manage a pretty high volume medical related website which is 100% fully XHTML compliant. There are a few ASP.NET application on the site which do not validate, though when we move to ASP.NET 2.0 they finally will (don't get me started on ASP.NET and standards please. I didn't choose the tech). We've done this for a number of reasons, but the main ones are:

    - The site uses CSS for layout purposes. This has been tested in all major browsers and downgrades gracefully. If the HTML is not valid, the CSS can go bonkers in some browsers, having the site valid means we know that the testing we did before will hold true for new pages, as long as we stick to the predefined HTML elements we tested.

    - Having every page on the site be XML means we can use all the standard XML tools on the pages, such as XSL to push the content into different formats, or DOM or XPATH to pull content from the pages for any number of reasons. You could do this with regex or some HTML parser, but having it be valid XML makes this infinitely simpler.

    - Lastly...if you don't even have the attention to detail to even be running the HTML Validator extension and glance down at the little icon in the corner as you write pages, then you won't ever work for me. It's really not so hard.

  190. Server-side XSLT can be very helpful by Anonymous+Brave+Guy · · Score: 1

    FWIW, server-side XSLT isn't particularly complicated. I'm just shifting a medium-sized site (maybe 100 unique pages) for a club I belong to onto a new host, and I set up all the necessary processing within an hour or two. For the benefit of being able to see/control the actual XHTML that you're shipping to browsers, IMHO it's more than worth it.

    We've been using this approach through three generations of the site now, and I find it strange that anyone still uses things like Frontpage or Dreamweaver. They seem like children's toys in comparison to what you can do with the XSLT - and let's face it, XSLT isn't exactly the world's best programming language!

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  191. I do by psbrogna · · Score: 1

    I code to the standard and find if I adhere to it I can usually use the same javascript & css for IE + mozilla based browsers with little problems. I do use the validator and find that if everything is valid (HTML, CSS, etc), the site performs more reliably; ie. I spend less time chasing down spurious problems.

  192. Um...yes? Yes. Yes! by Anonymous Coward · · Score: 0

    Do I care? Yes. Absolutely. 100%. Thanks for asking!

    Next question, please.

  193. The reason... by Anonymous Coward · · Score: 0

    "This website is W3C compliant, if it does not look right please install a W3C compliant webbrowser."
    No need for the "This site is best viewed by a XXX", no need for test against 3 or 5 different browsers...

    --
    ...and now I'll be flamed out of the sky for this... so I'll post it AC...

  194. OMG by lo_fye · · Score: 1

    I can't even believe this is being brought up. Of course it's important! Without having defined standards, the browser implementors have nothing to work towards. Remember the blink tag? That's what happens when you don't have standards! Remember ActiveX & how you can't run Windows Update using Firefox? That's what happens when you don't follow standards. It's infuriating. If we're ever going to make our jobs & lives easier, we need to get more people on the W3C bandwagon! (and I need to finally buck-up and finish making my homepage compliant)

    --
    geeks are cats who dig a certain kind of cool
  195. You should care by Z00L00K · · Score: 1
    since by using the W3C validators YOU have made the best effort available to make sure that the majority of browsers around is able to display your web page correctly.

    Of course - some browsers fails anyway, but in that case it is more a problem of the browser than anything else. If it is a major browser that fails (usually IE) then there are ways around that problem, and maybe your design is formally correct, but not semantically correct. Designing a web page is like writing - you can mix words wildly and get a grammatically correct sentence, but it may come out as complete nonsense.

    And if you still have problems with a browser - use a warning on your web page that indicates that the browser in question doesn't adhere to standards.

    One example is Internet Explorer (at least up to version 6, I don't know about IE7) that can't handle transparent PNG images. Looks like shit if you use transparent PNG:s and IE. And in that case it isn't even in the scope of W3C.

    So adhering to standards and using the validation tools available will be counted as "best effort". By testing against a certain browser and accepting the layout as acceptable is way below "best effort" since what will happen if the browser is updated and it then provides a different result?

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  196. The Handicapped by dankstick · · Score: 1, Insightful

    When I assisted in developing phpWebsite the project leader stressed that the entire site be w3c and bobby compliant. Web developers forget that there are people who need a text-to-speech reader or braille pad to browse the internet. It may be a small part of your audience but it is something to consider. Alternative human interfaces depend on standards.

    Bobby:
    -------------------
    http://webxact.watchfire.com/

  197. presentation vs. validation by sockwonder · · Score: 1

    As the president and chief designer of my young web design business... I feel that my first priority is the presentation of my client's websites. Their clients won't know (much less care) if my client's site is W3C validated. Now, with that said, I have modified my coding habits to resolve the vast majority of nitpicky things that the validators balk at. Things like closing tags in a different order than they were opened... using
    instead of
    ... not closing tags at all... that kind of stuff. Once the site presents perfectly, I do go back, and make the site validate. However, I haven't bothered to notify my clients. If they get curious and run my work through a validator, they'll be even more pleased with their purchase.

  198. exactly by circletimessquare · · Score: 1

    people are put off by xslt, i don't understand why

    it's the best "secret" in web development i have ever come across

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:exactly by The+Cydonian · · Score: 1

      You bet. In fact, we were using it to generate Excel spreadsheets for our intranet application. Sexy, elegant and plain beautiful code to look at.

  199. Errors in the summary by NanoServ · · Score: 1

    There are a few errors in this summary, and I'll try to address them one-by-one.

    Opera 9 is not "the only browser to pass the ACID2 test". Safari passed it first, followed by iCab, then Konqueror, and Firefox recently passed it in the reflow branch that will be incorporated into Firefox 3 (the next version of Firefox to have any significant layout engine improvements).

    That said, the Acid2 test certainly does not imply standards compliance. It really doesn't test that many things, and I can tell you right now that Safari's layout engine is overall buggier than Firefox and Opera. Even things like background images don't work properly in certain not uncommon situations (when the background is set to no-repeat, positioned off the side of the box, and the box is smaller than the single non-repeating image, Safari will actually repeat the background).

    It does not remain to be seen whether IE7 is better. The current IE7 beta is feature complete, and the IE developers have said many times that the layout engine won't be changed before the final release. I've thoroughly tested the IE7 beta and added the information to my standards support tables. The overall CSS 2.1 support went from 52% to 55%, compared to Firefox and Opera which both have 93%, and the only CSS 3 additions were the four new basic selectors. HTML and DOM support did not change significantly.

    As far as developing websites, for me it's always been easiest to write to the standards first so that it'll work nearly perfectly in just about everything first go, and then add a layer of hacks for Internet Explorer and maybe a tweak here and there for other browsers. The Internet Explorer developers have made it clear that they intend to "build a platform that fully complies with the appropriate web standards", so if you continue to develop on a browser-by-browser basis from the start, you'll have to continue rewriting a lot of your site every time a new version of IE or something comes out with fixes for the bugs you're leaning on. Bill Gates himself said that they plan to release a new version of Internet Explorer every 9 to 12 months.

  200. true by circletimessquare · · Score: 1

    but i'm not doing THAT much wacky stuff, except for one thing:

    you take your average tree, like say a discussion thread on slashdot, stored in a flat file in a database

    the way it is stored, each record has a parent property, so you can rebuild the tree... but that's laborious

    to rebuild the tree from that flat table, you have to run a bunch of queries:

    select all records with root as parent
    go to first record
    select all records with first record as parent
    go to the first subrecord
    select all records...

    etc., until you traverse all records

    you can see this can get draining on the server side

    but with xslt, you can just send the whole big dumb flat file to the client as flat no-effort xml, easy

    and have the CLIENT rearrange those records into the tree with xslt ;-)

    man i love that shit

    frankly i'm getting to the point where i want to program all business logic and formatting at the client, and have the web server be just a thin wrapper (for security and authentication) around the database. so that your webserver is doing little more than retrieving and storing records

    no asp, no php, no jsp pages

    your web server = your database server ;-)

    man i love that model

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  201. Re:Depends on Usage - CMS by VolciMaster · · Score: 1

    A friend of mine is using ClearSilver templates and CGI mode Python to render his site, and it validates W3C with no problems.

  202. To comply...or to at least render properly? by Anonymous Coward · · Score: 0

    There's an important difference between complying with standards and just rendering properly in a browser. For example, look at this page in IE and then Mozilla/Firefox. Firefox renders the page as it were coded. IE renders the page and says "Whoops, I see your tables aren't closed properly....Let me get that for you." Your pages don't have to be 100% compliant, but at LEAST code them so they will render properly. IE does too much of the clean up work for sloppy coders. If you have align="middle" on a in IE, it will center the text in the cell for you even though this is incorrect code. "middle" is used for valign. I'm sure there are many more little quirks like this in IE.

  203. Re:Ok, for the record on ACID2 compliant browsers. by Ash-Fox · · Score: 1

    I thought Konqueror was, since Safari is based on Konqueror's khtml. Which Apple has to contribute changes back to.

    --
    Change is certain; progress is not obligatory.
  204. academic sites by Anonymous Coward · · Score: 0

    While the browser situation is aweful presently, standards are imperative. Being that I formerly worked site redesigns for academic institutions, I found that web sites in this scenario are particularly scrutinized for meeting standards. However, the difficulties we encountered were due to the fact that a content management system was typically in place, so not all of the content was checked against W3C standards. All we could do is ensure the home page and the top 2 to 3 teirs of content validated, and hope that the proper emphasis on W3C standards, styles guides, and accessibility practices included in training was enough to get most content providers to get it right from the start. The most problematic areas were always where content providers simply copied and pasted from Microsoft Word documents (which we all know generates revolting markup) without using the tools (that they were trained to use) in the CMS to reformat the markup.

  205. So, what you are saying is that Mozilla is better. by twitter · · Score: 1
    Microsoft has yet to release a browser that comes close to supporting standards. This is often shouted and an easy way to bash MS. It's also completely wrong. Every web browser released by Microsoft from IE3 onwards has been more standards-compliant than any Netscape browser released around the same time.

    It looks like you are saying that IE is more standards compliant than anything else, but you are not. As you admit:

    ... not that IE6 was a particularly bad release. It's that it's bad by today's standards, and nothing's been done to fix it.

    and that

    ... a browser [IE] released in 2001 ... that's had almost no standards-related bug fixes since then is much worse than a browser that's been through constant maintenance [Mozilla, Konqueror, Dillo, Insert Favorite Browser Here]

    I'm glad you made that so clear. The mainstream Microsoft browser is a five and a half year old piece of shit because Microsoft wasted all of their time on Active Desktop, DRM and other lock in garbage instead of real standards, speed, stability or security. For a minute, it looked like you were saying the opposite because you have some ancient hatred of Netscape or something.

    --

    Friends don't help friends install M$ junk.

  206. Driven by Customer Service by Webmoth · · Score: 1

    How a site is coded is often driven by the Customer Service department. If a page is compliant with the W3C standard, but SomeBrowser doesn't render the page correctly or pukes, Customer Service (NOT the web development dept.) will get a call saying "your site is broken." Customer Service isn't about to say "SomeBrowser that 79% of the world uses is broken" because that will be seen as insulting the customer, so the developer will be told "make it work with SomeBrowser," not "make it 100% W3C standards compliant."

    It's all about PERCEPTION. ROI has nothing to do with it.

    --
    Give me my freedom, and I'll take care of my own security, thank you.
  207. No, YOU are missing the point. by MarkusQ · · Score: 1

    No you're missing (or attempting to dodge) the point:

    Complaining that a browser released in 2001 - and that's had almost no standards-related bug fixes since then - is much worse than a browser that's been through constant maintenance since then is not exactly surprising, irrelevant of the fact that it's from Microsoft.

    So rather than just acknowledge the unsurprising truth, you choose to judge browsers by their release date instead of by the actual date now, in the real world. That's like saying:

    <parody>
    Complaining that a patent medicine sold in 1901 - and that's had almost no health-care-related changes since then - is much worse than a medicine that's the product of constant clinical trials and laboratory studies since then is not exactly surprising, irrelevant of the fact that it's from Microsoft.
    </parody>
    All you've done is moved the amazement from "MSIE 6 is amazingly buggy" to "it's amazing that a multi billion dollar company can't keep up with a bunch of volunteers."

    As far as anyone actually developing cross browser web sites is concerned, the effect is exactly the same.

    Soft-hyphen support doesn't seem like a big deal if you're working in English, but to Germans it's a very big deal indeed. This bug has gone unfixed for five years, And the weird thing is that much much harder problems related to CSS rendering have been flattened with ease.

    I dispute this, on the grounds that it hasn't been fixed. The code is, after all, open source, and there are a large number of talented programmers who speak Germanic languages. If it were as big of a deal as you suggest, and as much easier than the "much harder problems that have been flattened with ease," why hasn't anyone stepped up and fixed it?

    The whole point of open source is that people focus their efforts on the bugs that matter to them. If no one addresses a bug, that means that there wasn't anyone who found it important enough to fix.

    --MarkusQ

    1. Re:No, YOU are missing the point. by yoz · · Score: 1

      So rather than just acknowledge the unsurprising truth, you choose to judge browsers by their release date instead of by the actual date now, in the real world.

      Yes, but you're avoiding the point of why I'm doing that, which is not to talk about which is the better browser for use right now (Firefox, for god's sake), but to address the original bullshit idea that Microsoft browser releases have always been wilfully standards-breaking and much buggier than their counterparts.

      I'll say it again: there is no browser that implements all actively-recommended web standards correctly. What's more, I don't think there ever has been (at least, not after HTML 2). But we put up with this because we don't actually care about using the latest standards - at least not until there's some decent support for them. Most web designers didn't really care about the rendering deficiencies in IE6 until at least two years later because that's when other browsers that could render those standards properly had enough market share to be worth developing for. So the problem is not that IE6 is more buggy than all the other browsers, it's that the standards it doesn't support are now in much greater demand. If Apple stopped working on Safari right now, exactly the same issue would result, and I don't hear people currently screaming that Safari is hugely buggy.

      And, I've just realised, the problem isn't even that MS stopped developing IE6. If they'd come out with IE7 in 2004 you can be sure that today IE6 would still have 20% market share (i.e. large enough to still need coverage in the vast majority of projects), despite MS's continual efforts to get all its users to use Windows Update regularly.

      I dispute this, on the grounds that it hasn't been fixed. The code is, after all, open source, and there are a large number of talented programmers who speak Germanic languages. If it were as big of a deal as you suggest, and as much easier than the "much harder problems that have been flattened with ease," why hasn't anyone stepped up and fixed it?

      Have you looked at the Gecko source code recently? Clue 1.

      The whole point of open source is that people focus their efforts on the bugs that matter to them. If no one addresses a bug, that means that there wasn't anyone who found it important enough to fix.

      The people who are affected by this bug are German web designers. They code HTML and CSS, not C++. And even if they could code C++, they'd still need to spend a good month or so ploughing through tons of badly-commented code (as I once did when trying to fix a bug in MailNews, and soon just gave up). And the chances are they can't just take a month off work to learn Gecko's workings in order to fix one bug.

      The people who could fix it are the few coders out there who've been living and breathing Gecko for years. They could probably do it in a couple of days, though I have no real proof of that other than knowing it took Dave Hyatt less than a day to fix in WebCore. Gecko could be architected in such a way that makes it much harder. But the reason it hasn't been fixed is not that "nobody cares" - take a look at the Bugzilla comments if you don't believe me.

  208. Priority 1: Make IE Work by OverDrive33 · · Score: 1

    Priority 2: Make it compliant.

    Since over 80% of our traffic is IE6 we optimize all our sites for it when we're trying to meet a deadline or just get something over with. If we have time, or if the client requests, we make our sites W3C. But like the post points out -- why bother with standards complience if nothing supports a standard.

  209. To Do Otherwise... by aragon64 · · Score: 1

    Our shop designs everything to W3C standards; exactly which DTD depends on the project. We find validation and standards compliance critical to: our QA; debugging dynamic pages; sane site maintenance; making CSS only designs work correctly; supporting WAI/508; having any confidence the site will function with next year's browser versions (or the next decades?).

    It is so second nature here, it would feel like publishing a book without proof-reading to do otherwise.

  210. Re:So, what you are saying is that Mozilla is bett by yoz · · Score: 1

    It looks like you are saying that IE is more standards compliant than anything else, but you are not.

    Well, no, it only looks like that if you don't pay attention. What I'm saying is that IE was more standards compliant than anything else, as evidenced by the bolded bit:

    Every web browser released by Microsoft from IE3 onwards has been more standards-compliant than any Netscape browser released around the same time.

    The mainstream Microsoft browser is a five and a half year old piece of shit because Microsoft wasted all of their time on Active Desktop, DRM and other lock in garbage instead of real standards, speed, stability or security. For a minute, it looked like you were saying the opposite because you have some ancient hatred of Netscape or something.

    UUUHHNNN! MICROSOFT BAD! NETSCAPE GOOD! BASH MICROSOFT, BASH!!!

    Aside from the bizarre idea that Bill Gates said "Hey guys, let's spend the next five years creating shitty stuff that everyone hates to the exclusion of everything else," you might want to realise that sometimes big companies do both bad things and good things, irrelevant of whether they are Microsoft or Netscape.

    The whole reason for my initial comment, in case you missed it, was to dispute the idea that Microsoft was somehow the bad standards-breaking browser maker in the midst of a bunch of angels, which is demonstrably bullshit. But hey, we're criticising Microsoft here, and they're always evil, right? So don't let facts get in the way or anything, please...

  211. Standards? Sure. by lewp · · Score: 1

    Web standards are well-documented, and have validators that can help you catch some subtle mistake that might not break anything on your system, but could cause major problems under other conditions. It just seems a more natural target than any individual browser to me. Plus, coding to the standard is the best way to ensure that your site *mostly* works on really fringe browsers.

    If you end up having to take a step or two away from the standards to support a major browser (usually IE, but it's really not too terrible anymore), then it's no big deal, and once you've worked on a couple complex sites you end up with a pretty good idea of where the problem areas are and how to fix them in the most compliant way possible. Hopefully some day this process won't be necessary, but I'm not holding my breath.

    So: Start from the standard, then test from there until you end up with something that works everywhere you need. Definitely a lot simpler than it used to be in the days of having to support IE3 and NS4.

    --
    Game... blouses.
  212. I Couldn't Care Less by Postmaster+General · · Score: 1

    For my personal site, I couldn't care less if it follows any standard at all. I made it to facilitate certain things. If it follows any standard, it's entirely by fluke and not by any conscious effort on my part. But, hey, it does what I want it to, and that's good enough for me.

  213. W3C compliance scoring system - Suggestion by meowmee · · Score: 1

    Suggestion to W3C: a scoring system of A (green), B (orange) & C (red) to grade how a site is compliant to W3C standard. Web developer can then put up a w3c logo (with grade) on their website to announce thier compliance. Probably only those sites with A rating will want display it. Scoring system is self-help from W3C web site. And these w3c logo is hyperlink back to w3c to verify the grade. And hopefully this is will encourage more web devloper to write proper codes!

  214. Honestly, no by Hynee · · Score: 1

    CSS is great, if you understand how to do styles in MS Word (oh, OK then, or your favourite OS equivalent), then you can understand how to do CSS, and make your site look better, load faster, and be easier to maintain.

    As for HTML 4.0/XHTML 1.0/XHTML 1.1, it's probably worth it to validate, but if some entity isn't in the DTD, who cares? If you drop in a <br> or <img> instead of <br /> or <img />, who cares? It might not future proof your page, but it's highly unlikely in 50 years "HTML readers" won't be able to render a page that renders now. I believe that people who harp on about HTML standards compliance are just being show-offs, anyone who can code better than 95% of the population can do it (if you want to), which is anyone who codes, and if you can't you're just one of these people's long suffering class-mates. Also, a lot of the site spruiking Standards Compliance say that their effect works in Mozilla and not in IE because Mozilla is standards compliant, but sometimes it's hard to tell if their not finding quirks in Mozilla's interpretation of the standards.

    As for layout not using tables, tables allow you to do reasonably complicated layouts in a consistent way across browsers. The only way to do it with divs is with float (basically abusing the intention of float, but it does work) or absolute positioning, where you can't create liquid layouts (100% screen width) without resorting to JavaScript. Not good enough, screen readers and mobile devices can deal with tables. That said, you can put your navigation at the bottom of the code but at the top of the rendered page with absolute positioning, which can aid in Search Engine Optimization.

    --
    Damn, I already moderated this topic. Now I'll have to log in with my sock puppet to comment.
  215. personal experience by c0reboarder · · Score: 1

    I used to work for a commercial web design company. Our server language was Cold Fusion, we also used some Flash, plenty of CSS, and a bit of javascript. Most of our websites had two versions, one that cut out all the Flash for slow connections. We never followed standards to a T, and didn't use a parser. We did however try to follow standards when possible, but the ultimate test came when we thought we were done with a web page. We had multiple versions of IE, Netscape/Mozilla, and Opera as well as the latest version of some lesser known to the masses browsers. We then had a human go through and do QA checks on every page we produced in every browser we cared about. We checked that all functionality worked as well as load times on broadband and dial up (yes we even cared about those people). Ultimately our customers wanted a product that was useable and worked. Most of our customers had no idea what standards existed for web content, nor did they care. The bottom line is customer satisfaction, and that generally consists of delivering a working product. Of course you need to account for future browsers and that sort of thing, and that is something where following standards is intended to ensure the site you created 6 months ago works with the latest version of a browser (of course this guarantees nothing as I'm sure the slashdot community knows all too well). So as in all things doing your best and a little bit of luck is the best you could hope for. Ultimately I think making a best attempt to follow standards is a good thing from a development point of view, but in the real world it doesn't always work.

  216. Nothing to Stress Over by halate · · Score: 1

    Pretty much my first priority is to make the websites display correctly in the most popular browsers. It just isin't worth my time to worry about how it displays in the less popular browsers. And then I put the code through the W3C Validator. Mostly for error checking and such. I just consider it a bonus if it validates correctly while displaying correctly. If for any reason I have invalidate some code to make it work in one of the "popular" browsers, then by all means I will. I just don't think enough people care about whether your website validates or not to even worry about it.

  217. That is total bullshit. by Homestar+Breadmaker · · Score: 1

    There are 4 valid content types for xhtml, one of which is text/html. Just because it won't be treated as xhtml anymore, doesn't mean its not a valid content type.

    http://www.w3.org/TR/xhtml-media-types/

  218. Re:So, what you are saying is that Mozilla is bett by Anonymous Coward · · Score: 0
    It looks like you are saying that IE is more standards compliant than anything else, but you are not

    So you understood the post, yet still replied precisely as if you had not. And you actually say it. So you go off on your rant, even though you understood perfectly what the OP was saying. But you simply cannot miss a chance to say "piece of shit", can you?

  219. Of Course... by Anonymous Coward · · Score: 0

    It would be lazy and irresponsible to ignore the standards just so your site displays correctly. Sure the browsers don't necesarily live up to them in all regards, but a skilled developer can usually have W3C compliant code that renders correctly.

    Just because the browsers don't follow the standards (or implement them incorrectly), doesn't mean developer's shouldn't.

  220. No point without browser support by Tom7 · · Score: 1

    Standards compliance is pointless unless the standards are supported. Give me a guarantee that valid documents will be rendered correctly and I'll be glad to stop using the guess-and-check method. It rather makes me feel like a C++ programmer anyway.

  221. Mod Parent Up by sd.fhasldff · · Score: 1

    If I had any mod points atm, I'd mod the parent up. It hits the nail squarely on the head (and since it's a nail, using a hammer is fully justified).

  222. At the risk of being redundant. by IMarvinTPA · · Score: 1

    At the risk of being redundant after 6 pages of comments.
    How do I mark the story itself as a -1, Troll?

    I can't seem to find the moderation or the tagging option. For the story.

    IMarv

  223. Need to check your facts.... by rdean400 · · Score: 1

    This is the poorest excuse for an article I've seen on Slashdot in a while. Not only is it a rehash of an argument that's been going on for years, it doesn't even get its facts straight regarding the ACID2 test.

    Opera9 isn't the only browser to pass the ACID2 test. Hell, it's not even the first.

    Safari passed on April 27, 2005:
    http://weblogs.mozillazine.org/hyatt/archives/2005 _04.html#008042

    iCab passed in June, 2005, followed closely by Konqueror:
    http://www.webstandards.org/2005/06/07/icab-konque ror-pass-acid2/

    Beta builds of Opera were next on March 28, 2006:
    http://www.webstandards.org/2006/03/28/acid2-suppo rted-in-opera-one-year-later/

    A development branch of Firefox showed compliance on April 13, 2006:
    http://www.thinklemon.com/weblog/2006/04/13/firefo x-acid2-compliance-on-its-way/

    The funniest one is that someone cheated and got Firefox to pass last May:
    http://annevankesteren.nl/2005/05/greasemonkey

  224. Section 508 is more important. by Anonymous Coward · · Score: 0

    Forget all of that stuff about how it looks on 8 versions of 3 browsers on 2 platforms. Section 508 ignorance can at best bring you a few wxtra customers. At worst, it can bring you a few extra lawsuits.

  225. I dont care ... by The+MESMERIC · · Score: 1

    ... if other people dont care.

    but yeah i care and find it easier to debug.

  226. No problem by Anonymous Coward · · Score: 0

    In short I don't think its possible to write a standards compliant page and have it display in IE properly, as long as this situation persists, it will be impossible to push "standards" on the internet. If the standards don't display correctly on 90% of the computers, what are you supposed to do?

    I do the same thing I've always done: a nice design for the browsers that can handle it, and a bare-bones design for people with braindead browsers. These days, you can make a single HTML file, and serve up different CSS depending on the browser, so it's even easier than it used to be.

    The only difference between now and 10 years ago is that the braindead browser is called "IE" instead of "Mosaic".

    People with IE can still view my pages; they're just not as pretty as they could be. They can always upgrade to a browser that can render CSS better than a hill of beans -- this is my little incentive for them. (You wanted to know how standards could be pushed on the internet.)

    After all, who visits a webpage just to see the pretty drop-shadows and mouseover effects? You come for the information. It's still there. I'm not going to bend over backwards making my page look "cool" for a browser that nobody I know uses.

  227. As it turns out, you are wrong by MarkusQ · · Score: 1

    As it turns out, you are wrong. The HTML spec says:
    In HTML, there are two types of hyphens: the plain hyphen and the soft hyphen. The plain hyphen should be interpreted by a user agent as just another character. The soft hyphen tells the user agent where a line break can occur.

    Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored.

    In HTML, the plain hyphen is represented by the "-" character (&#45; or &#x2D;). The soft hyphen is represented by the character entity reference &shy; (&#173; or &#xAD;)

    &shy; indicates and optional line break; browsers are not required to break at &shy;, but if they do they need to display a hyphen.

    Mozilla follows the semantics as specified. In fact, despite the fact that you may prefer MSIE's implementation, it is arguably incorrect given the ambiguous/conflicting specifications for the character and its semantics.

    --MarkusQ

  228. What about accessibility and disability by Information+Architec · · Score: 2, Informative

    The W3C initiative started out as a concern that geeky sites were fine for, well, geeks but there are a lot of people out there from blind and sight-limited users to more people who just can't stand or get their heads around the shoddy interfaces of poorly designed sites... Thee is nothing on this thread so far about how you address this. Yes many badly designed sites are popular but that doesn't make it right that a substantial proportion of users, or potential users, are effectively locked out because good, accessible design was never thought about at the beginning or, at best, was just a few tweaks bolted on at runtime. The big advantage for Microsoft over OSS is precisely that they can act as a single interlocutor with blind and disabled associations, something the OSS community cannot provide: to paraphrase Kissinger: I'll work with the OSS community if you can give me their phone number... Microsoft does actually test much of its software with such groups but I've yet to see anyone promoting OSS solutions to take that trouble. Call it a market grab if you will, but it seems to make good business sense as well as being "politically correct".

  229. amen to that by foreverdisillusioned · · Score: 1

    I've recently seen at least two posts that were so mind-blowingly awesome that it seemed like a crime to group them together with ok-but-nothin'-too-special +5 posts. An exponential moderation system would be great--2 points to go to from +5 to +6, 3 to go from +6 to +7, etc. Modding down will work as usual, so there really wouldn't be much room for abuse.

    1. Re:amen to that by Bronster · · Score: 1

      Yes. The great-grandparent of this is one of those things that is a complete answer to the question. That's why you should care. Whether the result of the caring is an awareness that "we needed to take the cheap and dirty path for cost-benefit reasons" rather than actually make it compliant - sure, sometimes you need to do that.

      You should be aware that you're making that choice though, and the cost-benefit analysis should include the increased likelyhood of issues with future browsers.

  230. I care because by Ilgaz · · Score: 1

    If site is standards compliant it is up to client browser to handle it.

    So, that guy/gal better update to latest IE or something to see it right. Yes, while there is some PNG bla bla all over, IE renders w3c site and pages perfectly. Not saying it passes Acid 2 monster.

    Care about standards, ignore browsers.

  231. Hanh? by some+guy+I+know · · Score: 1
    I'm not clueless, but I'm in a management position.
    My head assplode.
    --
    Those who sacrifice security to condemn liberty deserve to repeat history or something. - Benjamin Santayana
  232. Eheheheeh by nnn0 · · Score: 0

    writing standard compliant code is easy, just boycott IE. who in their right mind would use that crap anyway ;)