Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Designing With Web Standards

Posted by timothy on Tue Sep 30, 2003 12:15 PM
from the aren't-standards-banners dept.
carl67lp (Carl Anderson) writes "I was recently charged with redesigning my University division's Web site. I hadn't designed a Web site in quite some time, and I wanted to ensure that I did so with everything being 'proper'--the nature of our projects require as large an audience as possible. When I saw Designing With Web Standards available on O'Reilly's Safari bookshelf, I knew I had to snag it. And now, after finishing the book (the first IT book I've ever read beginning to end!), I'm here to preach the book's virtues as the author preaches those of Web standards." Read on for Anderson's review of the book.
Designing With Web Standards
author Jeffrey Zeldman
pages 456
publisher New Riders
rating 9/10
reviewer Carl Anderson
ISBN 0735712018
summary An excellent guide on designing a Web site with the latest Web standards

Jeffrey Zeldman is one of the best technical writers whose work I've had the pleasure of reading. He is obviously well-educated with regard to the subject, and his passion for the work really shows through. Still, he never comes across as a zealot -- his style is even-handed, thoughtful, and easy to comprehend.

The first part of the book ("Houston, We Have a Problem") is the reason I give a rating of "9" rather than "10." Zeldman spends a perfect length of time on background and history of Web standards (why they're here, and what designers did before they emerged). However, this section seems to suffer from what many technical books suffer from: a case of "We'll see this soon"-itis. While this is perhaps unavoidable in such a treatise, it is nonetheless apparent. Still, it's only marginally distracting.

The meat of the book comes with "Designing and Building." Zeldman first talks about modern markup, then explains the variations on XHTML (i.e. Strict, Transitional, Frameset) and how each ought apply to your design. Here we see more theory than practice, though, but this is welcome -- it lays the foundation for a more cerebral look at distinguishing markup from design. Once Zeldman explains the nuances of that topic, we moveon to the redesign of a Web page constructed with a hybrid table/CSS design complete with all the excellent effects we hope to see in modern pages.

After working through this redesign, Zeldman talks in more detail about the CSS box model (and the browsers that break it), typography, and some of the quirks that Web designers must deal with. Next he touches a bit on Web accessibility--a must-read for everyone, whether you think so or not.

While Zeldman isn't incredibly thorough here, he doesn't need to be--it's a book on Web standards, after all, and this chapter serves to show how accessibility can still be achieved within those standards. He also suggests a couple of other books for more information.

Finally, Zeldman walks the reader through a redesign of zeldman.com, basically as a hands-on summary of the book, and as a guide for future projects. Also included is a "Back End" (i.e., appendix) showing some excellent information about each major browser.

Too often, a book or Web site on XHTML/CSS will dwell only on the "how"--this book shows the "how" and still explains the "why": Here's how you set up an id'ed element; here's why we do that, rather than using a class. It's already opened my eyes to many things I thought I had a handle on, but now realize that I only knew in a cursory fashion.

So, ask yourself: Do you want to design a Web site that will work for everyone, regardless of their platform? Do you want to make sure your Web site is future-proof? If so, you need this book.


You can purchase Designing With Web Standards from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • The back cover (Score:4, Informative)

    by Sir Haxalot (693401) on Tuesday September 30 2003, @12:16PM (#7095476)
    You code. And code. And code. You build only to rebuild. You focus on making your site compatible with almost every browser or wireless device ever put out there. Then along comes a new device or a new browser, and you start all over again.

    You can get off the merry-go-round.

    It's time to stop living in the past and get away from the days of spaghetti code, insanely nested table layouts, tags, and other redundancies that double and triple the bandwidth of even the simplest sites. Instead, it's time for forward compatibility.

    Isn't it high time you started designing with web standards?

    Standards aren't about leaving users behind or adhering to inflexible rules. Standards are about building sophisticated, beautiful sites that will work as well tomorrow as they do today. You can't afford to design tomorrow's sites with yesterday's piecemeal methods.

    Jeffrey teaches you to:

    * Slash design, development, and quality assurance costs (or do great work in spite of constrained budgets)
    * Deliver superb design and sophisticated functionality without worrying about browser incompatibilities
    * Set up your site to work as well five years from now as it does today
    * Redesign in hours instead of days or weeks
    * Welcome new visitors and make your content more visible to search engines
    * Stay on the right side of accessibility laws and guidelines
    * Support wireless and PDA users without the hassle and expense of multiple versions
    * Improve user experience with faster load times and fewer compatibility headaches
    * Separate presentation from structure and behavior, facilitating advanced publishing workflows
    • Re:The back cover (Score:4, Informative)

      by bamurphy (614233) on Tuesday September 30 2003, @12:28PM (#7095610)
      (http://www.link2communications.com/)
      I picked up this book about 2 months ago and it really is one of the best buys on my shelf. Zeldman's book and his sites are wounderful resources that not only contain a good deal of info themselves but point you in the right direction to a really great community of like minded, forward thinking developers.

      XHTML & CSS are tough sometimes, and Zeldman's realistic approach to transitioning to a standard web language is refreshing - he's not a zealot.

      I hope more web designers will jump on board this movement - if we ever want to get paid really well and escape the image of the teen with frontpage coding his uncle's website we need to embrace these kind of ideas.
      [ Parent ]
    • Re:The back cover by Brummund (Score:2) Tuesday September 30 2003, @01:41PM
    • Re:The back cover (Score:4, Funny)

      by sharkey (16670) on Tuesday September 30 2003, @02:00PM (#7096476)
      It's time to stop living in the past and get away from the days of spaghetti code, insanely nested table layouts, tags, and other redundancies that double and triple the bandwidth of even the simplest sites.

      *sniff* So long, Slashdot, we'll miss you.

      [ Parent ]
    • Re:The back cover (Score:5, Informative)

      by mbrubeck (73587) on Tuesday September 30 2003, @01:16PM (#7096066)
      (http://limpet.net/mbrubeck/)
      You fool. Microsoft's Internet Explorer sets the only "Standards" worth following. Who do you want to view your pages...95% of all users out there, or some wierdo from flyover territory with his pre-paid cell phone?
      I'll take the bait: I want Google to index my site, and Googlebot isn't one of the "95% of all users" running MSIE. Making full use of web standards helps search engines index my pages, saves bandwidth costs, reduces development and maintenance effort, and makes pages load faster for MSIE users, in addition to helping users of other browsers, portable devices, and assistive technologies for the disabled.
      [ Parent ]
    • Re:The back cover by Khaed (Score:1) Tuesday September 30 2003, @01:19PM
    • Re:The back cover by sketerpot (Score:2) Tuesday September 30 2003, @01:40PM
    • 2 replies beneath your current threshold.
  • Mmmhmm (Score:2, Funny)

    by illuminata (668963) on Tuesday September 30 2003, @12:19PM (#7095498)
    (Last Journal: Wednesday June 09 2004, @07:46AM)
    So, all those things in the book are great and all, but what about Flash? You can do no wrong with flash, you know.
    • Re:Mmmhmm by schatten (Score:3) Tuesday September 30 2003, @12:21PM
      • Re:Mmmhmm by Kedder (Score:1) Tuesday September 30 2003, @01:48PM
        • 1 reply beneath your current threshold.
      • Re:Mmmhmm by greenhide (Score:2) Wednesday October 01 2003, @09:51AM
      • 2 replies beneath your current threshold.
    • Re:Mmmhmm by javatips (Score:1) Tuesday September 30 2003, @12:24PM
    • Re:Mmmhmm by FuzzyBad-Mofo (Score:2) Tuesday September 30 2003, @12:28PM
      • Re:Mmmhmm by g00set (Score:1) Tuesday September 30 2003, @01:11PM
    • Re:Mmmhmm (Score:4, Informative)

      by t_allardyce (48447) on Tuesday September 30 2003, @12:46PM (#7095788)
      (Last Journal: Tuesday September 14 2004, @08:18PM)
      Flash isnt a web standard (it has quite a large user base though). The W3C standards answer to flash is SVG which is pretty similar except it ties in with HTML/XML/CSS etc much better, flash is just a hole in the browser where a plug-in is put, while SVG (can also be a plugin) is much more integrated. SVG is also a 'text' based standard like HTML - ie its made up of tags and stuff so its in theory much easier to write generating software for it and link it with server-side scripts and even with client side java/vbs etc scripts (why re-invent the wheel with flash scripting and proprietory expensive server-side software when you can use existing layers like perl,PHP,java,asp, basically anything?). While flash is a more closed system designed by Macromedia to fill a gap in a business like manner, SVG is structually better - kindof like the way HTML tables were/are used to design sites, they are a work around where-as CSS (if the browser supports it properly) is a far better more structured way to do the job.

      Flash probably runs faster and has more support, plug-ins and editors on most computers at the moment but SVG is catching up (also SVG supports compression which is cool so it can match flash in file-size).

      So basically the book would talk about SVG if it talked about any vector/animation system.

      (And without trying to sound like a troll:
      Flash = Cheap Hack, SVG = Potentially Structured Nirvana)
      [ Parent ]
      • Re:Mmmhmm by Performer Guy (Score:3) Tuesday September 30 2003, @02:40PM
        • Re:Mmmhmm by Performer Guy (Score:2) Tuesday September 30 2003, @03:01PM
      • Re:Mmmhmm by EastCoaster (Score:1) Tuesday September 30 2003, @03:43PM
        • 1 reply beneath your current threshold.
      • No way Jose by fiannaFailMan (Score:1) Tuesday September 30 2003, @05:35PM
      • Re:Mmmhmm by greenhide (Score:2) Wednesday October 01 2003, @09:59AM
      • 1 reply beneath your current threshold.
    • Re:Mmmhmm by tarquin_fim_bim (Score:1) Tuesday September 30 2003, @12:48PM
    • Re: the reason why flash is not the answer. by adosoda (Score:1) Tuesday September 30 2003, @01:04PM
    • Re:Mmmhmm by wpeckham (Score:1) Tuesday September 30 2003, @01:27PM
    • Re:Mmmhmm (Score:5, Funny)

      by frank_adrian314159 (469671) on Tuesday September 30 2003, @01:42PM (#7096308)
      (http://www.ancar.org/)
      You can do no wrong with flash, you know.

      Ladies and gentlemen, we now have proof of the existance of the Anti-Christ, here on Earth! First, the user name "illuminata" is too Luciferian to be denied. Next, note the Slash UID 668963 containing "the Number of the Beast". Finally, we have the demonic message itself!

      Prepare for the Apocalypse, for it is surely at hand! Slashdot has spoken!

      [ Parent ]
      • 1 reply beneath your current threshold.
    • 3 replies beneath your current threshold.
  • Related resources (Score:5, Informative)

    by polyhue (38042) on Tuesday September 30 2003, @12:20PM (#7095510)
    He also has an excellent list of related resources and links on design and accessibility:

    http://zeldman.com/externals/
    • Re:Related resources (Score:5, Informative)

      by Penguin (4919) on Tuesday September 30 2003, @12:33PM (#7095663)
      (http://pe.ter.dk/)
      In general, a lot of the stories at A List Apart is worth reading: http://www.alistapart.com/stories/

      A site worth visiting is http://www.csszengarden.com/ - having lots of alternate stylesheets.

      I'm currently working on a project with a designer w/clue. Everything regarding looks and design has moved into stylesheets. All I have to do is to structure the data in suitable divs/blocks (with regard of continuity for the simple text-based browsers).
      [ Parent ]
      • 1 reply beneath your current threshold.
    • Re:Related resources by Anonymous Coward (Score:1) Tuesday September 30 2003, @12:38PM
  • You mean... (Score:3, Insightful)

    by smackjer (697558) on Tuesday September 30 2003, @12:21PM (#7095519)
    (http://www.xposse.com/)
    You mean it's not enough to make sure it works in IE6 on Windows XP?? I wish more web "developers" were concerned with standards. Not only does it make their job easier, it makes it easier to use their sites (assuming the browser developers are equally concerned with standards).
    • Re:You mean... by aliens (Score:2) Tuesday September 30 2003, @12:42PM
      • Re:You mean... by deuce868 (Score:1) Tuesday September 30 2003, @12:49PM
      • Re:You mean... by smackjer (Score:1) Tuesday September 30 2003, @12:56PM
      • Re:You mean... (Score:5, Informative)

        by Phroggy (441) * <slashdot3.phroggy@com> on Tuesday September 30 2003, @12:57PM (#7095896)
        (http://phroggy.com/)
        Make your main stylesheet, then figure out which things don't work correctly in Netscape 4 (e.g. the width of a box incorrectly includes the padding, so for NS4 you should add the left and right padding when specifying a width). Where they differ, put the Netscape 4 code in the main stylesheet and the standards-compliant code in a second stylesheet. Comment the main stylesheet so you remember which code is specific to Netscape 4. Then load your stylesheets like this:

        <link rel="stylesheet" href="/main.css" type="text/css">
        <style type="text/css"><!--
        @import url(/not-netscape4.css);
        --></style>

        Any browser except Netscape 4 will load both stylesheets, so the standards-compliant code in the second one will override the Netscape 4-specific code in the main one.
        [ Parent ]
        • Re:You mean... by Micah (Score:3) Tuesday September 30 2003, @01:38PM
          • Re:You mean... by Phroggy (Score:2) Tuesday September 30 2003, @07:16PM
          • 1 reply beneath your current threshold.
        • That's trouble... by davetrainer (Score:1) Tuesday September 30 2003, @04:19PM
        • Re:You mean... by SoupIsGoodFood_42 (Score:2) Tuesday September 30 2003, @06:01PM
          • Re:You mean... by Phroggy (Score:2) Tuesday September 30 2003, @06:55PM
            • Re:You mean... by SoupIsGoodFood_42 (Score:2) Wednesday October 01 2003, @12:13AM
            • Re:You mean... by yerfatma (Score:1) Wednesday October 01 2003, @07:27AM
        • Re:You mean... by buddha42 (Score:1) Tuesday September 30 2003, @11:32PM
      • REAL men surf the web with... by jbottero (Score:1) Tuesday September 30 2003, @12:59PM
      • Re:You mean... by d-e-w (Score:2) Tuesday September 30 2003, @01:18PM
        • Re:You mean... by bliSSter138 (Score:1) Tuesday September 30 2003, @02:23PM
      • Re:You mean... by cmholm (Score:1) Tuesday September 30 2003, @02:24PM
      • 1 reply beneath your current threshold.
    • Re:You mean... by Phroggy (Score:2) Tuesday September 30 2003, @12:49PM
      • Re:You mean... by sketerpot (Score:2) Tuesday September 30 2003, @01:46PM
        • Re:You mean... by Phroggy (Score:2) Tuesday September 30 2003, @02:41PM
    • Re:You mean... by forevermore (Score:1) Tuesday September 30 2003, @12:54PM
    • Don't blame the developers by fm6 (Score:2) Tuesday September 30 2003, @01:24PM
    • Re:You mean... by arth1 (Score:2) Tuesday September 30 2003, @03:01PM
    • Re:You mean troll... MODS READ THIS by TheScienceKid (Score:1) Tuesday September 30 2003, @01:08PM
    • Re:You mean... by Digital11 (Score:1) Tuesday September 30 2003, @01:37PM
    • 2 replies beneath your current threshold.
  • So, ask yourself (Score:2)

    by GillBates0 (664202) on Tuesday September 30 2003, @12:22PM (#7095540)
    (http://slashdot.org/~GillBates0 | Last Journal: Tuesday July 10, @04:36PM)
    Do you want to design a Web site that will work for everyone, regardless of their platform?
    YES!!!

    Do you want to make sure your Web site is future-proof?
    ABSOLUTELY!!!!!!

    If so, you need this book.
    oh

  • A good follow-up book is... (Score:5, Informative)

    by ColoradoSkier (684478) on Tuesday September 30 2003, @12:23PM (#7095550)
    Eric Meyer on CSS. I finished Zeldman's book about a week ago and am now going through Eric Meyer on CSS. Zeldman tells you what needs to be done, and gives some examples, Eric Meyer gives you a bunch of practical examples. Guess this is why can be purchased as a pair at Amazon...
  • First Book is Better (Score:4, Informative)

    by Davak (526912) on Tuesday September 30 2003, @12:24PM (#7095559)
    (http://www.carotids.com/)
    I agree that he is an excellent tech writer. However, I thought his first book was much better than this one.

    A Review Can Be Found Here [codekit.com]

    Although I am not very good at web design... what I have learned, I learned from this guy. He rocks.

    Davak
  • The only standards on web code is.... (Score:5, Informative)

    by Lord_Slepnir (585350) on Tuesday September 30 2003, @12:24PM (#7095562)
    (Last Journal: Thursday June 05 2003, @09:57AM)
    The only standards you need to follow are the W3C Web Standards [w3c.org] They even have a validator for your convience if you need to make sure that your code is valid. I did that at my summer internship and over the course of a summer was able to make our 1000+ page website 99% w3c complient. It might take you a few days to get in the rythym of doing things, but once we had our site up to html 4.01 standards, we never had a problem with any browser compatability issues, and we tested all the way back to Netscape 4.7.
  • Standards? What standards? (Score:3, Funny)

    by Tebriel (192168) on Tuesday September 30 2003, @12:24PM (#7095565)
    Since when does the web have standards?
  • Check out the css Zen Garden... (Score:5, Informative)

    by phallstrom (69697) on Tuesday September 30 2003, @12:25PM (#7095577)
    I happened across this site the other day... it really shows off what CSS can do. No idea how it looks in IE, but in Firebird it's pretty amazing. Pick a design from the left and note that it's all style sheets...

    http://www.csszengarden.com/ [csszengarden.com]
  • So, where's the web site? (Score:4, Insightful)

    by winkydink (650484) * <sv.dude@gmail.com> on Tuesday September 30 2003, @12:25PM (#7095581)
    (http://www.networkmirror.com/ | Last Journal: Thursday July 05, @04:34PM)
    Where is the completely compliant web site that thet reviewer was designing prior to reading this book? It would be pretty darn interesting to see what it looks like.
  • future-proof? no such thing (Score:2, Insightful)

    by proj_2501 (78149) <mkb@ele.uri.edu> on Tuesday September 30 2003, @12:26PM (#7095585)
    (Last Journal: Friday September 10 2004, @12:41PM)
    A Web page that was HTML 3.2 compliant is not standards-compliant at all these days.

    How do we know the W3C won't change the standard AGAIN in three years?
  • Buy It Link (Score:3, Informative)

    by _newwave_ (265061) <.slashdot. .at. .paulwalker.tv.> on Tuesday September 30 2003, @12:26PM (#7095593)
    Bookpool [bookpool.com] is always cheaper!
    • Re:Buy It Link by Phil Gregory (Score:3) Tuesday September 30 2003, @03:08PM
  • It seems to me that the larger problem with web standards' adoptions is that many managers would prefer to just have crap, so long as they can have it "right now", and forego the longterm financial savings that web standards coding can provide. I would like to see a book on how to implement a web standard or two that will really save a lot of time right from the beginning, versus the kinds of major changes that take weeks to months to implement -- weeks & months that no small-business manager wants to pay for.
  • Zeldman.. Hmmph! (Score:2, Insightful)

    by Cyphertube (62291) on Tuesday September 30 2003, @12:30PM (#7095627)
    (http://cyphertube.com/ | Last Journal: Sunday May 21 2006, @11:10AM)

    I like standards. I like accessibility and usability. I hate Zeldman's site. It's like hypocrisy in motion. If I lectured on web design and make sites usable, I might improve my site from where it is.

    Zeldman makes life tough on older viewers, disabled, and newbies. His labels are quippish and arrogant, his colours too similar, fonts too small and not resizeable in the most prominent browser out there.

    Take a look around and you'll probably find better books on standards. Or, if you must, take the gospel of Zeldman and water it down with a little Jakob Nielsen.

  • What about CMS solutions? (Score:5, Interesting)

    by RichardtheSmith (157470) on Tuesday September 30 2003, @12:30PM (#7095628)
    Forgive me if this sounds clueless, but most people who are given the
    task of setting up a web site are going to be looking at ways to not
    have to do it from scratch. There are a lot of CMS (Content
    Management Systems) out there, some free, some not. What *I* really
    need is an O'Reilly book about CMS that helps wade through all the
    stuff that's out there right now so the reader (me) can make an
    informed decision about which way to go.

    I did a quick check of the O'Reilly web site and all their CMS info
    revolves around XML and Java. This does not help me.
  • Someone get this guy a GF (Score:4, Funny)

    by Greedo (304385) on Tuesday September 30 2003, @12:32PM (#7095654)
    (http://slashdot.org/~Greedo/journal | Last Journal: Thursday February 12 2004, @10:27AM)
    Am I the only one who noticed that his website [zeldman.com] is Supported by XDate Speed Dating, 30Dates Speed Dating, and for free online dating, xdate.com?

    Maybe he should take a break from writing and get out to the bar a bit more.
  • Geesh, don't be silly... (Score:5, Funny)

    by Anonymous Coward on Tuesday September 30 2003, @12:32PM (#7095659)
    Just open up MS-Word and use File-->Save As
    web page
    Voila! You have now created the perfect web page in ten seconds!
    Microsoft takes care of all of the standards stuff so you don't have to worry your pretty little head about that. No really...don't worry.
    No...don't do "View Source"
    NO! Don't! EVERYTHING IS OK!! STEP AWAY FROM THE KEYBOARD
  • by Maul (83993) on Tuesday September 30 2003, @12:33PM (#7095668)
    (Last Journal: Tuesday March 09 2004, @01:55AM)
    Taking a few extra steps to ensure standards compliance is well worth it.

    I've found that standard compliant web pages tend to be more interoperable between browsers (sadly, there will still be differences). This makes it easier for you since you won't have to work as hard to find ways to make your site look good in several browsers. It makes it easier for viewers because they can use the web browser they like the best.

    The only problem is that there are a lot of people who still browse on old hardware that has Netscape 4.x on it. Netscape 4.x tends to mangle CSS pretty badly.
  • by denisb (411264) <denis@starts i d en.no> on Tuesday September 30 2003, @12:39PM (#7095727)
    (http://www.startsiden.no/)
    I would say this book is as close to a 10 as possible.

    The first historical overview mentioned is very nice, but can be skipped. However I feel it is an important part of the book, and gives weight to the arguments on why using the standards way later on. It also gets designers new to the web up to date on what has passed, and highlights mistakes that were made (so we can possibly avoid them again).

    Otherwise I agree fully with the author, the book is indeed both well written, has a nice flow and really gives good arguments why this is the right way, and how to do it the right way. The authors attitude is never arrogant, and the solutions are always practically oriented and work well in real-life (unlike a lot of other books on HTML and CSS).

    My take on this book is that if you want to read one book on web design this should be it. Of course after having read this book you probably change your mind and start looking for other literature by the same author :)
  • Perhaps... (Score:2)

    by dark_panda (177006) on Tuesday September 30 2003, @12:44PM (#7095772)
    ... someone could spring and buy a copy for our hosts [w3.org]?

    Granted, some parts of the W3 standards are worth breaking (wrap attributes in textrea inputs, for instance), but c'mon.

    J
    • Re:Perhaps... by efti (Score:1) Tuesday September 30 2003, @09:02PM
  • by TheNarrator (200498) on Tuesday September 30 2003, @12:44PM (#7095778)
    Reading tech books from start to finish is quite underrated. I find that if you don't read every word in a tech book, one often misses important information that can save a lot of time.
  • by Capt'n Hector (650760) on Tuesday September 30 2003, @12:48PM (#7095812)
    (http://harry.blogdns.com/)
    Imagine a world where valid xhtml/css websites rendered the same in all browsers. Imagine a world without Internet explorer.... ahhhhhh.

    Unfortunately, very few sites out there that work in all browsers correctly are compliant.

    I guess it's a toss up: have a little validator button proudly displayed somewhere on your site and have a few display errors in Internet Explorer or have a messily coded site that is slow, but works.

  • by chia_monkey (593501) on Tuesday September 30 2003, @12:51PM (#7095845)
    (Last Journal: Tuesday September 27 2005, @05:01PM)
    Standards are nice. It's a cryin' shame nobody follows them though. Sure, it takes considerably longer to make your site standards-compliant and geeze, we can't cut into our bottome line, can we? We gotta get that site out right away. Screw Mac users. Or screw AOL users. Let's just code for IE. It's a nice dream but unfortunately I don't see it being used in the real world.

    Another unfortunate tidbit...I work for one of those places. I know the aggrivation of trying to get compliance through to people who just won't listen. *sigh*
  • Usings standards to save size (Score:5, Informative)

    by Jonas Öberg (19456) <jonas@gnu.org> on Tuesday September 30 2003, @12:53PM (#7095862)
    (http://www.coyote.org/~jonas/)
    Our faculty of the university at which I work has decided on a new layout for their web pages. This was done and delivered to us by a PR agency. I feared that it might be bad, but that fear didn't even come close to what I had to witness.

    Imagine having to tell our users (many of which are using GNU/Linux or Macintosh) that our web site only works reliably in Windows with Internet Explorer 6.0 and above. Just because a PR agency can't develop web pages. It's impossible. I had to do something about it.

    So when I implemented the layout for our department (scheduled to go live later this month), I scrapped everything they had done. I took a printout of their page (as it looked in Internet Explorer) and marked up what colors and fonts they had used.

    Then I set down and wrote the same thing using XHTML/1.0 Strict and CSS1. This was about two days work, but the finished result now validates using w3c's validate tools, and it works reliably in all browsers I've managed to try, all the way back to Mosaic and Netscape 3, with or without images (yes, Lynx, Links, w3 and other text browsers work very well indeed too).

    Not only did I get the pages to validate. By using CSS, I was able to get rid of several images they had been using with their design. The overall size of a page, including graphics and CSS, now weighs in at about 35 kbytes. This is compared to around 120 kbytes with the proposed code.

    And even better, most things can be cached by the browser (CSS code and images). The only thing that needs reloading when you hit subsequent pages is the dynamic XHTML code, which weighs in at around 5 kbytes, compares to 40 kbytes in the proposed code.

    Now, I think our students will like us. This result is even better than the pages that we have today. They render quickly and effortlessly even on old equipment or on extremely slow links.

    I havn't been able to convince the faculty to make my code the "default" yet, but they might get the idea once people start noticing that our pages load much more quickly than the rest of the faculty pages.

    So, using standards isn't always about making things render nicely in all browsers. It gives you a while heap of nice side effects that isn't worth sneezing at.
  • Stop IE Now! (Score:2, Offtopic)

    by naztafari (696863) on Tuesday September 30 2003, @12:55PM (#7095873)
    (http://www.object404.com/)
    It's irritating the way the world is enslaved to such an awful spyware-magnet standards-flouting browser as MS Internet Explorer.

    Microsoft declared IE6 SP1 as the last standalone browser for lame-ass reasons. The truth is, they're only truly integrating IE into the next Windows Operating System for the first time, to prove their 'point' in the anti-trust case that they couldn't remove the browser from the OS.

    If IE really was such an integral part of the current slew of windows versions, how come it takes ridiculously long to load when you enter a URL into the address bar of an explorer window, and that the people at LitePC [litepc.com] was able to remove IE from the Windows operating system?

    Bunch of liars. Guys, help educate everyone and have people switch to either Mozilla [mozilla.org] or Opera [opera.com] -> Makes Windows boxes more secure and gets rid of the need to buy those stupid superflous pop-up killers. (you can pick up viruses or spyware just by surfing a maliciously coded website and hitting the wrong button)

    None of my family and friends use IE anymore after I educated them about the dangers of IE.
    • 1 reply beneath your current threshold.
  • Web Standards? (Score:3, Funny)

    by Anonymous Coward on Tuesday September 30 2003, @01:00PM (#7095922)
    It's no surprise [w3.org] that CmdrTaco didn't write this review.

    *cough*

    • 1 reply beneath your current threshold.
  • Using XHTML and CSS makes maintenance a lot easier. It makes for leaner code, which results in faster-loading pages. Zeldman's book shows you how to apply XHTML/CSS in a manner that actually works in the real world. In order to get even more value out of the Zeldman book, check out its logical companion, Speed Up Your Site [websiteoptimization.com], which focuses on optimizing your code for speed, and for search engine visibility.

  • by StillNeedMoreCoffee (123989) on Tuesday September 30 2003, @01:04PM (#7095952)
    Well isn't all that .asp .net stuff that standard, doesn't everyone have IE. Well then they should be required to or they can't use my web site. I don't want to be bothered with things I can buy from Microsoft. They invented the Web didn't they, no that was Gore, but they wanted to, so we should let them own it.

    Can't wait till we need to apply for visas for our Passport access to other countries.

  • I don't mean to be rude.. (Score:1, Insightful)

    by Anonymous Coward on Tuesday September 30 2003, @01:07PM (#7095978)
    but if it's the first IT book you've read completely, isn't it a little presumptuous to write reviews? I certainly didn't consider myself a movie critic after watching my first movie.

    I'm not saying your review is wrong or bad, but maybe get some experience in what you're doing before preaching to others?
  • And Slashdot's score... (Score:2, Redundant)

    by mustangsal66 (580843) on Tuesday September 30 2003, @01:09PM (#7096005)
    Check out how slashdot made out...

    URI:
    Encoding: iso-8859-1
    Doctype: HTML
    Errors: 407
    Revalidate With Options
    :
    Show Source Outline
    Parse Tree ...no attributes
    Validate error pages Verbose Output

    * Note: The URI you gave me, , returned a redirect to .
    * Line 71, column 115: cannot generate system identifier for general entity "alloc_id"
    * Line 71, column 129: cannot generate system identifier for general entity "site_id"
    * Line 71, column 139: cannot generate system identifier for general entity "request_id"
    * Line 161, column 62: cannot generate system identifier for general entity "group_id"
    * Line 161, column 76: cannot generate system identifier for general entity "atid"
    * Line 241, column 74: cannot generate system identifier for general entity "tid"
    * Line 241, column 156: cannot generate system identifier for general entity "mode"
    * Line 241, column 184: cannot generate system identifier for general entity "threshold"

    This page is not Valid HTML!

    Line by line of errors

    ---
    Nice!
    407 lines of errors...

  • ...when is Slashdot.org going to become W3C compliant?

    What's it called when someone tells you do do something, and then does the opposite?

    Oh yes, that's hypocrisy.

  • by Stevyn (691306) on Tuesday September 30 2003, @01:22PM (#7096119)
    Do not use style sheets to adjust the font size and the spacing between lines. I am not alone in having a high resolution laptop screen and I've seen too many pages that are unreadable. I adjust the settings in my browser to increase the font size so I can read it. However, when I get to one of these pages where they make the font size really small I adjust the font size so it's big enough to read. However, the font is larger but the spacing between the lines is the same, so all the words are crowded together. I hate this standard and it should be avoided at all cost