Slashdot Mirror


Help Beta Test Slashdot CSS

After almost 8 years, Slashdot's HTML is finally getting an overhaul. For now the changes are almost entirely under the hood, as we migrate the current skin to CSS. Slashdot itself will migrate in the next few weeks, but for now, we'd appreciate it if people who understand CSS could take a look at Slashcode. If you use a browser that lets you select a stylesheet, you can take a look at that site with the Slashdot CSS Skin. Keep in mind that Slashcode doesn't look exactly like Slashdot, so there will be some differences between that site, and the final version that will appear on Slashdot. We're mainly looking for feedback on compatibility issues and blatant bugs. You can use our our SF bug tracker to submit bug reports. Thanks for your help. Once we move Slashdot, work will begin on a new look & feel. If you have ideas, you could start playing with the CSS stylesheets now!

101 of 581 comments (clear)

  1. Just one question... by suso · · Score: 5, Funny

    After almost 8 years, Slashdot's HTML is finally getting an overhaul.

    What is a HTML?

    1. Re:Just one question... by JoeBar · · Score: 3, Funny

      What is a joke?

    2. Re:Just one question... by aklix · · Score: 2, Insightful

      At the time of this posting, the parent of this post is modded 2, Insightful...

    3. Re:Just one question... by Kent+Recal · · Score: 2, Funny

      Cool, is this the +2-Insightful thread?

  2. css!! by jlebrech · · Score: 5, Informative

    If you do change to CSS beware as some CSS is IE specific, like list trees.

    1. Re:css!! by MyLongNickName · · Score: 5, Funny

      Doesn't everyone on Slashdot use IE?

      (sorry)

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    2. Re:css!! by qw(name) · · Score: 5, Insightful

      The "design for all browsers" paradigm isn't a good one. It promotes the use of non-compliant browsers. It's much better to design to the standards no matter what.

    3. Re:css!! by VJ42 · · Score: 3, Informative

      That shouldn't be a problem if the developers remember to use the w3c CSS validatior:
      http://jigsaw.w3.org/css-validator/

      But seeing as they don't bother using even the html validator I'm not counting on it.

      --
      If I have nothing to hide, you have no reason to search me
    4. Re:css!! by cybersaga · · Score: 4, Funny

      Thank goodness everyone's customers use standards compliant browsers. Whew! Your theory would be totally ridiculous if they didn't.

      [/sarcasm]

    5. Re:css!! by bmongar · · Score: 3, Insightful

      "Design for standards" paradigm isn't a good one. It promotes looking for consultants that won't drive away business.

      --
      As x approaches total apathy I couldn't care less.
    6. Re:css!! by mrchaotica · · Score: 3, Interesting

      If you think about it, his theory would be totally unnecessary if they did.

      Incidentally, I agree with him -- designing web sites for broken browsers is like giving illegal immigrants drivers' licenses: it's stupid and it doesn't fix the underlying problem.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    7. Re:css!! by Corbie · · Score: 2, Informative

      Which is why you should design for standards first, and then fix what you can for non-compliant browsers. Make it accessable, but make it standards-based first and foremost.

    8. Re:css!! by seriesrover · · Score: 2, Informative
      Show me a business that has decided to cut out 85% of its customer base and I'll show you a thousand that have decided not to. The need for standards vary from "not important" to a "must have" depending on their application. To pretend IE doesn't exist, or code as if they don't matter, is business suicide.

      Besides, does any browser meet all of the W3C standards flawlessly?

    9. Re:css!! by chromaphobic · · Score: 5, Insightful

      Right, so the intelligent thing would be to explain to my clients that it's Microsoft's fault and not mine that the site I just designed for them doesn't display properly for 9 out of 10 of their customers? After all, I followed the standards and it would be stupid not to!

      "Sorry Mr. Client, standards evangelism is far more important to me than your customers. Now, when should I be expecting payment?" Yeah, that'll fly.

      I think I'll keep using my current methodology: Design to the standards first, then add whatever hacks are needed to handle the various browser bugs in secondary stylesheets to ensure the widest possible compatability across as many browsers and platforms as I can.

      Call me crazy, but keeping the client and their customers satisfied (and, as a result, making the site display properly for as many visitors as I possibly can, rather than just those that use a "standards compliant" browser) and subsequently getting paid for my work is more important to me than beating the standards drum.

    10. Re:css!! by CowboyBob500 · · Score: 4, Interesting

      Personally I design to standards and then detail the charges for the time it takes me to fix it on IE in the final invoice. Then the client knows exactly how much the use of IE is costing them as a percentage of the total cost of the project.

      It doesn't cost them anymore than before, but it really opens their eyes.

      Bob

    11. Re:css!! by mrchaotica · · Score: 3, Insightful

      No, you should design for standards, and then sit back and relax. Let it look suboptimal in non-compliant browsers; it'll give them incentive to upgrade.

      This, of course, assumes that the bugs in the non-compliant browsers result in only cosmetic defects; however, I would say that if something is so broken in IE that it's genuinely unusable, then you should try approaching the problem in a completely different way.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    12. Re:css!! by Watts+Martin · · Score: 4, Insightful

      The way I design web pages -- and I'm pretty sure I'm not alone, doing something very radical here! -- is to design for Gecko-based browsers and Safari first, because they very rarely show major deviances from one another or standards. Then I take the design to Windows IE and tweak the style sheets to account for anything that broke there, which is usually pretty minimal--frustrating, but its quirks are known and well documented. And I make sure the page is readable and usable in Lynx. At the end of the day, I have fine standards-compliant XHTML and CSS that works everywhere from Firefox to the Sidekick.

      In almost all cases you can make IE happy without having to seriously compromise. There are broken browsers I'm perfectly happy to ignore: pre-Mozilla Netscape, pre-5.0 IE, NetPositive for BeOS, HotJava. These are ones that you simply can't tweak for; generating web pages that renders perfectly on all of those platforms can be done, as OS News proves -- and can only be done by creating hideously bloated web pages where 70-80% of what's being sent to the browsers is markup, as, uh, OS News proves. (The term "pathologically compliant" comes to mind.)

    13. Re:css!! by Corbie · · Score: 3, Insightful

      To a certain extent I aggree with you - especially in regards to certain cosmetic things looking suboptimal in non-compliant browsers. However, this design perrogative is only available when you, the designer, are directly making the calls for what goes and what doesnt. In the case of working for paying clients, or poorly-informed employers with phobias for non-microsoft platforms, this is in many cases not an option. I heartlily beleive that it is our duty as designers and programmers to educate those we work with and for about the reasons for writing standards compliant code, but there will always be times when the end product is simply out of our control (client need intranet site, only uses old Windows boxes for for office machines, won't switch browsers -or- client is extremely picky and the bosses demand his every demand be made, naturally when he pulls his lovely full XHTML/CSS site up in IE on his home machine he is pissed and cannot be reasoned with). This is why I suggest a happy median - structure content with standards-compliant XHTML, and use as much CSS as humanly possible that will work in both browsers. Then, you can always add on some of the lovely options that is available with a browser that supports the full extent of CSS2, and begin making suggestions. That way, even if they don't buy it, you still have a site that conforms to the standard, even if you had to make a few sacrifices to do it (not that there's anything against coming up with a new solution that no one has ever thought of that makes your particular design display perfectly cross-browser). The web is about accessability, and if you loose that, then what's the point?

    14. Re:css!! by CowboyBob500 · · Score: 2, Interesting

      I don't just target IE. I give a complete breakdown of costs for all things on the invoice. But unlike most people instead of just detailing "web pages" or something, I break down what the cost of development was for each browser.

      Again, it doesn't cost the client anything more than normal, and I have plenty of clients who come back for more business.

      Bob

    15. Re:css!! by Ubergrendle · · Score: 2, Funny

      Nah, we're all still on Mosaic. Slashdot is the only site we can still visit coincidentally, and the lack of flash support means we don't have to read MS adverts ontop of Linux articles.

      --
      John Maynard Keynes: "When the facts change, I change my mind. What do you do?"
    16. Re:css!! by jonadab · · Score: 2, Insightful

      > No, you should design for standards, and then sit back and relax. Let it
      > look suboptimal in non-compliant browsers; it'll give them incentive to
      > upgrade.

      I take an approach that's sort of a compromise between these positions. First, I design the site using documentation that's based on standards (e.g., the XHTML and CSS documentation at w3schools.com is mostly pretty decent). Then I validate it at validator.w3.org. Then I test it in several web browsers and make sure it adheres to the following:

      First, the site should look basically the way I intended it to look in recent versions of Gecko at resolutions from 640x480 through 1600x1200, at 24 bits per pixel. This generally is not a problem.

      Second, the site should look reasonable (not necessarily exactly as intended) in the latest version of every major browser that I have at my disposal, at resolutions from 320x200 through 2560x2048, at 16 bits per pixel and higher. (I try to keep a copy of the latest at my disposal for this testing, even though it's usually the hardest one to please, because it's so widely deployed.) The definition of "reasonable" fluxes a little depending on how important aesthetics are to the site and how important the site is to me. Images are allowed to be ugly at 16bpp.

      The site must be legible and navigable (i.e., the text can be read and the links can be followed) in all browsers, including really old and crufty and horrible ones, even at very low resolutions, and in 16-color mode (4bpp), and in 256-shade greyscale. It's allowed to look suboptimal, even very suboptimal, but it should be usable. This usually is not a problem with well-designed sites.

      I do not attempt to support 1-bit color. Sorry, not going there.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  3. Will the beta bring the site down? by geomon · · Score: 4, Interesting

    Just about every site remodel has problems. I have just gone over the list of things I have issues with on our local public school's new website. Most of my comments have to do with broken capabilites. I'm sure that the folks at /. have tested this system in a non-production environment, but things are bound to go wrong at first. The unfortunate thing about my local school district's website has been access. How much of the /. staff resources are going to be committed to the rollout and how soon are problems going to be addressed?

    Considering the fact that it took nearly two minutes for the form to arrive makes me think we are in for a bumpy ride!

    --
    "Rocky Rococo, at your cervix!"
    1. Re:Will the beta bring the site down? by mspohr · · Score: 2, Funny

      It looks like /. has been slashdotted (slashdotti?).

      --
      I don't read your sig. Why are you reading mine?
    2. Re:Will the beta bring the site down? by liam193 · · Score: 4, Funny

      Slashcode has been slashdotted!

      For all those wishing to read the original article, the contents have been replicated in a modified format here.

  4. Oh My God, It's Actually Happening! by AKAImBatman · · Score: 5, Interesting

    CmdrTaco? I have exactly two words for you.

    This. Rocks.

    Kudos on finally bringing Slashcode into the 21st century! The Slashdot style over on Slashcode looks absolutely wonderful, with none of the chunky layout problems that plague Slashdot itself! What I'd love to know is, how much bandwidth are you saving by using CSS? Many of the experiments done to date suggest that you could cut your bandwith usage by 30-50%! Will this update usher in a new era of faster page loading? Inquiring minds want to know! :-)

    1. Re:Oh My God, It's Actually Happening! by fshalor · · Score: 2, Funny

      It's also slashdoted...

      LOL!!!

      I love this site. hehe...

      --
      -=fshalor ::this post not spellchecked. move along::
    2. Re:Oh My God, It's Actually Happening! by Crazy+Man+on+Fire · · Score: 3, Funny

      Considering the fact that the Slashcode servers are now a pile of smoldering ash, I'm guessing they haven't saved much bandwidth

    3. Re:Oh My God, It's Actually Happening! by jpostel · · Score: 4, Funny

      CmdrTaco - "Do you smell something?"

      CowboyNeal - "Oh Sh*t! The slashcode server's on fire!"

      ROFL

      --
      Ummm, Jon, aren't you supposed to be dead...? - Otter(3800)
    4. Re:Oh My God, It's Actually Happening! by Malc · · Score: 2, Funny

      You would think Cmdr Taco would know enough about the /. effect that he wouldn't inflict it upon his own servers. He must be some kind of masochist!

    5. Re:Oh My God, It's Actually Happening! by JasonUCF · · Score: 5, Insightful

      So I'm going to be modded as flamebait here but um, honestly, "This Rocks"? My first reaction is, ABOUT GODAMNED TIME?

      I mean, couldn't they have found any time in the past 8 years of triple posting the same article, not performing any due diligence regarding fact checking, etc... to fucking fix their html???

      Thanks Rob Malda et all, welcome to the 21st century!

      Mod me down, but you know it's true.

    6. Re:Oh My God, It's Actually Happening! by sootman · · Score: 5, Funny

      No WML. Less styles than CSS Zen Garden. Lame.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    7. Re:Oh My God, It's Actually Happening! by XO · · Score: 2, Informative

      apparently slashcode is so incredibly bad spaghetti that it has taken this long to actually work with it. blargh.

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    8. Re:Oh My God, It's Actually Happening! by Seanasy · · Score: 2

      Don't get too excited.

      HTML just wants to be valid. Is that so wrong?

      And why not go for XHTML Strict, or even Transitional?

    9. Re:Oh My God, It's Actually Happening! by tgd · · Score: 5, Funny

      *one day passes*

      Zonk - "Oh Sh*t! The slashcode server's on fire!"

  5. Maybe adding a little JS ... by TeXMaster · · Score: 5, Interesting

    for things like collapsing articles to header only and expanding them to full article? (And user options for the initial view)

    --
    "I'm never quite so stupid as when I'm being smart" (Linus van Pelt)
  6. No logon by liam193 · · Score: 2, Informative

    Is there a separate user database for slashcode? Logon doesn't seem to work and even a "send my password" doesn't recognize the login id. Perhaps this is just a Beta/Test issue, but it would be nice to test with real-world configurations and customizations.

    1. Re:No logon by WalksOnDirt · · Score: 2, Funny

      Sounds like the Slashdot main page got hacked, adding this artcle with a link to harvest Slashdot logins. B-)

      --
      a,e,i,o,u and sometimes w and y (at be if of up cwm by)
  7. The apocalypse draws nigh. by funny-jack · · Score: 2, Funny

    from the oh-my-god-it's-actually-happening dept.

    You can say that again.

    --
    You probably shouldn't click this.
    1. Re:The apocalypse draws nigh. by aug24 · · Score: 2, Funny

      Oh my god it's actually happening!

      --
      You're only jealous cos the little penguins are talking to me.
  8. OMFG by Anonymous Coward · · Score: 2, Funny

    Slashdot going to CSS? Has hell frozen over!? Windows gone GPL!? What's next?

    1. Re:OMFG by schon · · Score: 5, Funny

      Slashdot going to CSS? Has hell frozen over!? Windows gone GPL!? What's next?

      I'd answer, but I'm too busy trying to catch these damn flying pigs!

  9. XHTML by Anonymous Coward · · Score: 5, Interesting

    Just curious -- not attacking or anything -- but why HTML 4 as opposed to XHTML 1 Strict? Is it because of the content type issues with a certain browser, strict XML compliance was too difficult, or simply that only purists ever seem to care? ;-)

    1. Re:XHTML by schon · · Score: 3, Informative

      but why HTML 4 as opposed to XHTML 1 Strict?

      Here is a good list of reasons why HTML4 is preferable to XHTML.

    2. Re:XHTML by spongman · · Score: 4, Insightful

      that has to be the lamest excuse for a list of reasons why not to use something.

    3. Re:XHTML by nateziarek · · Score: 2, Interesting

      I am sure Spartanicus is a web god that I don't know about and as such I will soon be eating my words (and in only like my 4th post here, no less!), but that wasn't really a list of reasons not to use xHTML. It was a rant against using xHTML just to use xHTML. I personally use xHTML because I never coded HTML4 "properly" and having my xHTML fail has taught me how to do things right. Yes, I could have created a custom DTD to validate my poor HTML4. That or use xHTML. Which is easier again?

    4. Re:XHTML by mstyne · · Score: 4, Funny

      Hey that guy has a website on the Internet he must be right

      --
      mstyne: real name, no gimmicks
    5. Re:XHTML by slcdb · · Score: 4, Interesting

      That is one of the most ridiculous articles on web authoring that I've ever read. The author's logic seems to mainly stem from the fact that IE has extremely poor standards compliance. Of course it has poor support for XHTML: when IE was last released (6.0) XHTML was still brand-new.

      This guy is seriously arguing that people should not adopt a now mature standard, because one aging piece of software hasn't been updated in four years? He just needs to get over his love affair with IE and realize that the rest of the world is still progressing.

      Addmitedly, I don't know when the article was written, but that's only because the author didn't date it. To argue that XHTML is bad because old UAs poorly support it is truly a case of the tail wagging the dog. I can hardly believe that the author doesn't understand that.

      --
      Despite what EULAs say, most software is sold, not licensed.
    6. Re:XHTML by ZeroExistenZ · · Score: 2, Informative

      # Lot's of other sites use it, so it must be good.

      Lot's of Lemmings are jumping off cliffs, do you want to be a Lemming?


      Lemming suicide is fiction

      --
      I think we can keep recursing like this until someone returns 1
    7. Re:XHTML by slcdb · · Score: 2, Insightful
      So are you saying we should ignore them and focus on developing standards-compliant sites that aren't accessible to 80% of your user base?
      No. I'm only saying that it's not wise to implore people to avoid using XHTML, which renders just fine in IE by the way, and instead use an older standard which has no future.

      Extra tags needed to embed scripts? Well, if that's just too much work for you, then stick with HTML. See how much work it is for you in "8-10 years" to convert all of your HTML content to XHTML (and I'm sure it will be sooner than you think). Or, you could just start using XHTML now.

      The meat of the original author's argument, that XHTML has no benefits over HTML when served as text/html, doesn't withstand even just a little scrutiny. It has the inherent benefit that it is the only path forward from HTML. There are other lesser benefits as well.
      --
      Despite what EULAs say, most software is sold, not licensed.
  10. The Big Move by qw(name) · · Score: 2, Informative

    It's good to see that you're moving on to something more modern. HTML 3.2 is very antiquated and isn't CSS friendly. It would more work to move to XHTML 1.0 Transitional but I would think that it would pay off big dividends in the future.

    1. Re:The Big Move by Sentry21 · · Score: 2, Informative

      I'm curious as to what you mean when you say 'HTML 3.2 ... isn't CSS friendly'. the CSS1 recommendation is actually older than the HTML 3.2 recommendation by about a month. Sure, it's not as CSS-friendly as, say, HTML 4.01 or XHTML 1.x, but I don't think 3.2 is explicitly unfriendly.

  11. Slashdot.... testing??? by FortKnox · · Score: 2, Interesting

    After almost 8 years, Slashdot's HTML is finally getting an overhaul.

    I'm more surprised that after 8 years, slashdot is testing something on a machine that isn't the main server.

    Seriously, while you guys are changing things, how about changing it so ALL code changes go through regression testing along with some major user testing before you drop ut into the production servers. We all dislike 503s, and we have see a TON of bugs pop up (like last weeks 'unable to see comments' for several hours).

    --
    Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    1. Re:Slashdot.... testing??? by tgd · · Score: 2, Insightful

      This is a site that hires, or at least otherwise uses the services of, Zonk.

      And you're surprised they don't test anything?

  12. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  13. Who is Making the Changes? by eno2001 · · Score: 2, Insightful

    Is this in response to that big story last year where someone actually redid Slashdot's main page in CSS to show just how easy it would be to do? Kind of funny in a way because people who usually want to prove how easy something is to accomplish have no idea of just how much glue sits behind the scenes. That's usually what makes these kinds of changes so difficult and fraught with rendering errors, coding slips and the like. Even moreso when you only have a handful of decent people working on the system and a ton of mediocre people making up the majority of the development team. When it comes to systems this big and complicated, it's a wonder they work at all. So who will be making these CSS changes?

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  14. Re:I groan saying this... by wbren · · Score: 2, Funny

    No, the new site design is just a blank gray window with a never-ending browser status animation culminating in a message box that says "Host unavailable". I bet that only took three lines of CSS code.

    --
    -William Brendel
  15. File not found by CubicleView · · Score: 4, Funny

    Hi, could everyone stop clicking on the link for a minute so I can open it, thanks.

  16. Dupe by Maxwell'sSilverLART · · Score: 3, Insightful

    This has already been done, about two years ago. See http://www.alistapart.com/articles/slashdot2/ and particularly http://www.uwplatt.edu/web/webstandards/slashdot.h tml

    --
    Moderate drunk! It's more fun that way!
    1. Re:Dupe by PhilHibbs · · Score: 2, Funny

      No, you're a sex bot.

    2. Re:Dupe by Phroggy · · Score: 2, Insightful

      Sorry, but you have no idea what the hell you're talking about.

      Taking a static tag-soup HTML page and rewriting it to use compliant code and CSS is a major chore, and that's what was done in those two examples. But to convert a completely dynamic site like Slashdot is a whole 'nother kettle of fish. CmdrTaco has been saying for YEARS that they'd like Slashdot to be redone with valid HTML and CSS, but it's just been too massive a task, and nobody else has stepped up to the plate for the same reason.

      So no, this hasn't been done before, and it really is a big deal.

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  17. Re:Why do this? by Pike · · Score: 5, Insightful

    Um, because:

    Though a few KB doesn't sound like a lot of bandwidth, let's add it up. Slashdot's FAQ, last updated 13 June 2000, states that they serve 50 million pages in a month. When you break down the figures, that's ~1,612,900 pages per day or ~18 pages per second. Bandwidth savings are as follows:

    * Savings per day without caching the CSS files: ~3.15 GB bandwidth
    * Savings per day with caching the CSS files: ~14 GB bandwidth

    Most Slashdot visitors would have the CSS file cached, so we could ballpark the daily savings at ~10 GB bandwidth. A high volume of bandwidth from an ISP could be anywhere from $1 - $5 cost per GB of transfer, but let's calculate it at $1 per GB for an entire year. For this example, the total yearly savings for Slashdot would be: $3,650 USD!

    Remember: this calculation is based on the number of pages served as of 13 June, 2000. I believe that Slashdot's traffic is much heavier now, but even using this three-year-old figure, the money saved is impressive.

  18. Sigh by suso · · Score: 4, Insightful

    Of course I know what HTML is. I was trying to be funny (appearently wasted effort). The joke is that HTML is old. For slashdot to only be using HTML makes it old. Something so old that people forgot about it.

    Oh nevermind.

    1. Re:Sigh by daniil · · Score: 4, Informative

      Ages ago. Go to Preferences -> Homepage (or just click here), and set Date/Time Format to something other than the default. And then forget to click Save.

      --
      Man is a slave because freedom is difficult, whereas slavery is easy.
  19. Hell froze over by paulius_g · · Score: 5, Funny

    Damn,

    It's getting cold down here.

          - Satan

  20. Re:Sorry for being a luddite but.. by Lardmonster · · Score: 2, Insightful

    "I just want to be able to read articles and comments. Period."

    Sure.

    But blind / partially sighted / physically disabled folks want to read articles and comments too. Period.

    And CSS helps make websites more accessible.

    --
    The more advanced the technology, the more open it is to primitive attack
  21. Re:I groan saying this... by T-Ranger · · Score: 2, Funny

    My bet is that they rewrote slash in Ruby on Rails, and as a result it actually takes negative storage space. slashcode isnt realy slashdotted, the extra hard drives that are popping out of that server have knocked out the ethernet line....

  22. Bug Report by johnkoer · · Score: 5, Funny

    I tried this and it seems to be kicking out quite a few duplicate stories. Is that normal?

  23. in other news by rayde · · Score: 2, Funny
    Duke Nuken Forever is being released! On the Phantom Gaming Console. Which will be running Longhorn!

    seriously though, this is a good thing, hopefully this will allow for user-chosen themes, etc. and way to get http://it.slashdot.org/ to not look like baby poo.

  24. huh? by bad_outlook · · Score: 3, Interesting

    finally, being as /. is such a tech site, it's about time to bring things into this century. Hell, I rework my site constantly, I still can't believe /. went so long with old/outdated/non-validated code. perhaps it could be a quarterly thing to update things in the future.

  25. Re:Sorry for being a luddite but.. by Proteus · · Score: 5, Insightful

    Who cares? Three main groups:

    People with disabilities prefer CSS because it allows them to trivally alter layout and visual presentation in a way that works for them. For example, some people have trouble seeing low-contrast presentations; they can insert their own CSS into a CSS-aware page to make any site readable.

    The folks who pay for the bandwidth tend to like CSS because it costs less to serve (properly implemented, that is). CSS separates style from content, so the style can be cached while smaller content pages are tranferred on request. This makes a better end-user experience and costs less to provide.

    Developers and designers like CSS because it follows the excellent practice of separating view from data. It's easier for a developer to make changes to the underlying code because they worry less about breaking the view; likewise, a designer can make layout tweaks without affecting other areas of code. Clean separation makes fewer bugs.

    --
    We may not imagine how our lives could be more frustrating and complex—but Congress can. – Cullen Hightower
  26. Re:finally... lol by joeljkp · · Score: 4, Informative

    Here's one explanation, from CmdrTaco's Journal:

    "Pudge has been working a lot on that problem. Specifically we've got scripts to fix HTML in all editor & user contributed content spaces. A lot of this is under way already. Old comments are being automatically fixed in the background. HTML in articles from 1998 is being corrected. Scripts are working very hard. And in some cases, tired editors have been re-reading stories from 1998 to correct HTML errors that boggle the mind. None of this is perfect, so don't be to surprised if you find something wonky. Feel free to mail me URLs if you see it. We've got almost 60,000 articles, 900,000 users, and like 13 million comments. There will be mistakes."

    --
    WeRelate.org - wiki-based genealogy
  27. Too many IE users to not work around IE bugs. by hellfire · · Score: 5, Insightful

    Allow me to list people who would be denied the goodness of slashdot if you didn't create something that allowed IE to be compatible:

    1) People who for some stupid reason or another can only use IE at work and don't have enough control of their PC to install something better.
    2) Geeks and nerds who do not fall into the category of computer nerd. There are science geeks, english geeks, political geeks, math geeks, but just because one is a geek about one thing doesn't mean they are geek about computers.

    I'm all for scolding IE for not complying to standards, but since MS's philosophy of embrace, extend and extinguish is still in use in IE, don't allow yourself to be extinguished by designing a page that doesn't work around I.E. bugs and cut off major portions of your audience.

    --

    "All great wisdom is contained in .signature files"

    1. Re:Too many IE users to not work around IE bugs. by Geshem · · Score: 2, Insightful

      3) Geeks and nerds who prefer IE although knowing what there is to know.

      Yes, I use IE even after reading most of what people has to say about the subject.
      I don't mind the security issues that much, since I don't surf to pr0n and crackerz sites. Also, it's not like Firefox is completely bugless. De-Facto, I'm using IE as my browser for several months now without any spyware/trojans on my comp.

      As for why not use Firefox? It takes too much time to load, and it's too heavy on the memory (I actually like to have other programs running along with my broswer, thank you)

      --
      || Geshem ||
  28. Re:Waiiiiiiiiiit... by egriebel · · Score: 2, Insightful
    You want /. to adapt to IE's ... standards? .... IE should be effectively killed.

    Y'know, that's a great idea, why target what is most prevalent on the Internet when one can target for some superior solution which NOBODY has completely implemented.

    I guess next articles for you are:

    • The OSI standard and you
    • Why I love Betamax
    • "Pragmatic," the new four-letter word
    • "The most elegant solution": how I've spent hours thinking rather than doing.
    • Don Quixote, a model for our times
    --
    ACHTUNG! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist nicht fuer gewerken bei das dumpkopfen.
  29. Re:Why do this? by farker+haiku · · Score: 5, Funny

    Remember: this calculation is based on the number of pages served as of 13 June, 2000. I believe that Slashdot's traffic is much heavier now, but even using this three-year-old figure, the money saved is impressive.


    Welcome to 2005.

    --
    Your sig(k) has been stolen. There is a puff of smoke!
  30. Re:Finally, Slashdot Slashdotted, Literally! by loconet · · Score: 4, Funny

    Add to that the fact that Slashdot is moving to css, Apple using Intel, Apple Shipping 2 Button Mice, Debian 3.1 was released and this year seems to be turning into be the pivotal point for hell to hold the winter olympics.

    --
    [alk]
  31. OMG! by Comatose51 · · Score: 2, Funny
    What have the editors done!? They posted a link back to Slashdot so now they're going to Slashdot Slashdot and create a Internet blackhole where the same articles get posted over and over again!

    I kid, I kid.

    --
    EvilCON - Made Famous by /.
  32. Re:MOD PARENT UP by VJ42 · · Score: 2, Informative

    An (almost) comrehnsive list of greasemonke\slashdot user scripts.:
    http://dunck.us/collab/GreaseMonkeyUserScriptsSpec ific#head-ec4846dd1f06f8efd2d256a59577b3faaebbbf12

    --
    If I have nothing to hide, you have no reason to search me
  33. Re:Fortunately by arkanes · · Score: 2, Informative
    Fortunately, in today's world it is possible to use standards AND design for all (modern) browsers at the same time!

    Well - no. Not unless what you actually mean is "use a small subset of CSS 1". And even then there are minor incosistencies and differences that can end up biting you (although they often won't). If you want your site to work in IE, and you do, then you either need to stick with minimal CSS support, or have forked or otherwise hacked up CSS. Period. Additionally, if you want to support IE 5 (not nearly as rare as Netscape 4), you have to be aware of the broken box model and work around it via hacks. IEs behavior prior to IE 6 (with the right doctype) is just plain wrong and CSS written for it will *not* work in other browsers.

  34. Re:Does the new version... by JHromadka · · Score: 4, Informative

    Yes, it's called Safari.

    --
    "The objective of securing the safety of Americans from crime and terror has been achieved." -- John Ashcroft
  35. Standards Problems by Oculus+Habent · · Score: 3, Insightful

    I discussed this with a friend some six years ago. The problem with standards like HTML and CSS can be summed up in one word:

    MAY

    By putting the word may into a standard, you make the standard non-standard. If you can't reliably depend upon CSS to render a dashed line on a border, why do you even provide it? Two completely compliant browsers can give you a different picture, depending on their choice to implement optional components.

    There are enough issues with non-compliant browsers that we don't need to build issues into the standards!

    --
    That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    1. Re:Standards Problems by Haeleth · · Score: 5, Insightful

      If you can't reliably depend upon CSS to render a dashed line on a border, why do you even provide it?

      Do share: just how do you propose to get a blind user's screen reader to render a dashed line on a border?

      Wait, wasn't that what you meant? Oh dear, it looks like you're going to have to concede that you don't actually want CSS to guarantee anything of the sort, doesn't it?

      Two completely compliant browsers can give you a different picture, depending on their choice to implement optional components.

      Oh lord, you're not another of these clueless people who think that the idea of CSS is to make sure sites look identical everywhere, are you?

      The fact that two completely compliant browsers can produce totally different results is a feature. You might want your website to have green text on a red background in letters five pixels high, but if I'm nearsighted and colourblind, I damn well don't want my browser to render it that way! As a less extreme example, you might want your site to be laid out in three vertical columns, but if I'm browsing it on a mobile phone, I sure won't object if my browser decides to render it as one column instead.

      Pixel-identical rendering? You can keep it. I want to use fonts I can read, colours I can stand, layouts I can navigate. CSS lets me do all that just by providing my own stylesheet. You know, I'm really not terribly unhappy with that.

  36. Re:Why do this? by Anonymous Coward · · Score: 2, Insightful

    The figures were three years old, when that article was written two years ago. 3 + 2 = 5, LOL!

    Welcome to reading the fucking article.

  37. Re:Finally, Slashdot Slashdotted, Literally! by iluvcapra · · Score: 3, Funny

    Here we are at the apocalypse, and we still never got to play Duke Nukem Forever.

    Yeah, I went there.

    --
    Don't blame me, I voted for Baltar.
  38. Re:Fortunately by NickFitz · · Score: 5, Insightful
    <rant>

    Absolute nonsense. I implement sites for major commercial organisations which use standards-based CSS 1 and 2.1, and they work just fine cross-modern-browser - IE-Win, IE-Mac, Opera, Firefox, Safari, you name it. And when I say "just fine", I mean "look identical to the pixel", as well as scaling seamlessly for visually impaired users, being fully accessible to assistive technologies, having semantically pure markup and degrading gracefully in ye olde browsers.

    On my current project I combine floating, absolute positioning and just about every other CSS technique in the book, and out of 1800+ lines of CSS across the entire site, just 13 are to cater for IE's brokenness.

    Everything one needs to know to make standards-compliant sites that work in today's browsers is out there (including avoiding the IE-5-Win box model problem), but many "web designers" are so lacking in an understanding of the technologies with which they work that they can't or won't improve. I see new sites produced using nested tables, for goodness sake; I used those techniques myself last century when there was no alternative, but these people really need to get with the programme.

    It's the same problem that leads to so many useless implementations in any field: the vast majority of people are unwilling to undertake a process of constantly improving and refining their skills, and the employers aren't sufficiently well-informed to make the distinction between those who work hard to make the best possible use of the available technologies, and those who read a book about HTML in 1997 and have been marking time ever since.

    Luckily things are now changing, and clueful organisations are demanding people who can work with standards. A lot of people who think they understand how to produce a web page are going to be looking for alternative employment over the next year or so unless they catch up on the advances made over the last few years.

    </rant>

    Thank you for listening; have a nice day :-)

    --
    Using HTML in email is like putting sound effects on your phone calls. Just say <strong>no</strong>.
  39. Re:Fortunately by spectre_240sx · · Score: 3, Interesting

    Taken from A List Apart:

    "Perhaps the biggest benefit of this particular example is the bandwidth savings:

            * Savings per page without caching the CSS file: ~2KB per request
            * Savings per page with caching the CSS file: ~9KB per request

    Though a few KB doesn't sound like a lot of bandwidth, let's add it up. Slashdot's FAQ, last updated 13 June 2000, states that they serve 50 million pages in a month. When you break down the figures, that's ~1,612,900 pages per day or ~18 pages per second. Bandwidth savings are as follows:

            * Savings per day without caching the CSS files: ~3.15 GB bandwidth
            * Savings per day with caching the CSS files: ~14 GB bandwidth

    Most Slashdot visitors would have the CSS file cached, so we could ballpark the daily savings at ~10 GB bandwidth. A high volume of bandwidth from an ISP could be anywhere from $1 - $5 cost per GB of transfer, but let's calculate it at $1 per GB for an entire year. For this example, the total yearly savings for Slashdot would be: $3,650 USD!

    Remember: this calculation is based on the number of pages served as of 13 June, 2000. I believe that Slashdot's traffic is much heavier now, but even using this three-year-old figure, the money saved is impressive."

  40. Let me use Sans fonts by Tester · · Score: 4, Interesting

    Using the layout as slashcode, it seems that the font is specified to be Serif everywhere... I much prefer to read on-screen stuff with a sans font, which is my default. Please dont specify the font and just use my browser's default... Please remove "font-family: serif;" from the body{}

    Thank you,

    Tester

    1. Re:Let me use Sans fonts by hackstraw · · Score: 2, Interesting

      Please dont specify the font and just use my browser's default... Please remove "font-family: serif;" from the body{}

      I guess that is a valid request, but you are in the minority, and slashdot actually does fonts "correctly".

      For most people, a proportionally spaced serif font is easier to read for the body of a document, and a proportionally spaced sans-serif font is better for thing like headlines or section titles. However, after just typing that I went to a number of popular news sites, and they use sans-serif fonts everywhere.

      Is my font data only applicable to printed text and not text displayed on a screen? Personally, I'm a fan of the way slashdot does their fonts (in the right browser :)

    2. Re:Let me use Sans fonts by SpamJunkie · · Score: 2, Insightful

      If this is actually important to you use a browser that can override specified fonts.

      Thank you,

      Everyone else

    3. Re:Let me use Sans fonts by Psiren · · Score: 2, Interesting

      For most people, a proportionally spaced serif font is easier to read for the body of a document, and a proportionally spaced sans-serif font is better for thing like headlines or section titles.

      That's generally true for print, I'm not so sure about on screen reproduction (anyone care to offer any case studies?). The theory is that the serifs are supposed to help guide your eye, so it's easier to see what the letter is. However, given the relatively low resolution of screens, it doesn't seem to work as well for me. I certainly prefer serif fonts, and have told my browser to always override the font to my own preference.

  41. Move content to top of output... by Orrin+Bloquy · · Score: 2, Interesting

    ...and use CSS to reposition the sidebar/navbar content below it. Half the point to using CSS for accessibility is to avoid going through navlinks at the beginning of every page. I hear these guys managed it across their site without compromising performance in IE 6 or spectacular hacks (and yes, it was tested in IE, Safari, Firefox, Opera and Konqueror).

    For the curious, the left and right navbars are absolutely positioned and the central content has left/right margins which mimic their width, to achieve the same liquid layout.

    The HTML4.0 thing is bullshit, plain and simple. Authoring tools like Dreamweaver work better when working within XHTML spec, just lose the XML prolog until The Brave New World of XML-parsing UAs is here and we can stop serving text/html. XHTML1.0 Transitional plays nice with every UA I've tested, from Netscape 4.7 up.

    --
    "Made up/misattributed quote that makes me look smart. I am on /. and I must look smart."
  42. But can it validate? by uodeltasig · · Score: 2, Informative

    Is it really too much to ask that you run your site through a validator?
    Really come on now, I'm sure you've duped the 'importance of validating' articles before. And what's up with HTML Strict, why not XHTML strict? Get your nerd programming skills together.

    --
    Hey look no pointless curley braces or semicolons... just like Python
  43. mod parent up by TheJorge · · Score: 5, Insightful
    Cheers. Save perfectly identical rendering is not the realm of HTML/CSS. There are plenty of technologies out there that allow full control over layout. A bitmap comes to mind.

    But I think there is a point somewhere in there to be made. Remember HTML 1.0? Simply the fact that tags like STRONG, H1-H6, and ADDRESS exists points pretty clearly to the intent to allow a site to describe what was being presented but allow the browser to determine how it was presented. Of course, there were a load of problems with this and people's ideas of how it should be used, and we like to think we've come a long way. But in truth, we're still doing the same things.

    Rather than trying to be the control-freak with everything exactly positioned, it's far more useful (and elegant to program) to have a site which can do without X, Y, or Z and still convey all the information it did before. A site that degrades gracefully may not impress the casual user, but the casual user will be able to use it.

    Look at the most successful commercial sites out there today. Google's front page and search results are viewable in every possible browser I can come up with. eBay is one of the ugliest sites in existence, but its content is available to nearly any browser. Hit amazon.com with Lynx and you can still buy things.

    Successful web sites are not pretty. They're functional. CSS is a tool to make more functional pages. Yes, you can also make them prettier, but if you set out with that as your goal, you'll fail the more important one.

  44. Full text by IainHere · · Score: 2, Funny

    Since the site is slashdotted, here's the article text (it's funny, laugh!)

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
                            "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="description" content="Slash + CSS -- article related to Slash.">
    <title>Slashcode | Slash + CSS</title>

    <link rel="stylesheet" type="text/css" media="screen, projection" href="//www.slashcode.com/base.css" >
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//www.slashcode.com/comments.css" >
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//www.slashcode.com/ostgnavbar.css" >
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//www.slashcode.com/slashcode.css" title="Slashcode" >
    <link rel="Alternate stylesheet" type="text/css" media="screen, projection" href="//www.slashcode.com/slashdot.css" title="Slashdot" >
    <link rel="stylesheet" type="text/css" media="print" href="//www.slashcode.com/print.css" >

    <!-- start template: ID 169, ssihead;misc;default -->

    Sorry - I'm not allowed to show you any more because it violats the posting filter. Stay tuned for the next exciting installment.

  45. Re:Fortunately by Nurf · · Score: 2, Informative

    I like the sound of what you say. I would love to be able to do CSS web sites that work on everything.

    I am a very technical guy who is usually designing and building hardware and software. However, I am in a small company, and am going to end up producing a web site for it whether I like it or not.

    Soo.. could you provide a few links or names of books that I read that would allow me to make web sites in the way you describe? Assume someone who is used to being given a pile of books in a new subject, and has a working prototype running in about three weeks. I normally sit down and just start implementing stuff, using the books as a continuous reference. Then I redo the stuff I did badly, once I know more about the subject. I suppose this means that little code snippets are of the most use to me, along with good explanations of what is actually going on.

    I realise you may have better things to do, but I am interested in what you consider to be "good" sources of information for this; you approach is one I appreciate.

    Thanks

    --
    ---
  46. html 4.01? are you serious? by portscan · · Score: 2, Interesting

    let's see:
    HTML 3.2 - 1997
    HTML 4.01 - 1999 (!)
    XHTML 1.0 - 2000, revised in 2002
    XHTML 1.1 - 2001

    Welcome to the year 1999. The future is now. While I appreciate the efforts of the Slashcode developers, I would like to point out that it is still possible to write spectacularly awful code in HTML 4.01. Yes, it is possible to do so in XHTML, but it is more difficult. My one request to the developers (and believe me, you will thank me when maintaining this code base) is to use <div> tags, lists, and CSS positioning for layout instead of tables. It makes your code so much cleaner and easier to edit. In fact, to me it is the main benefit of CSS.

    (If you remember this article, posted to /. a while back, it goes through some of the steps of converting a static image of a /. page to XHTML and CSS)

    1. Re:html 4.01? are you serious? by portscan · · Score: 2, Insightful
      You clearly have strong opinions on the matter, but allow me to address some of your questions.
      • The difference between "well-formed" (and by this I think they mean content separated from style) documents and messy table-filled documents where all the styling is in the text is huge. As a developer, it is frustrating at first, but lovely in the long run to have good style imposed on you. The restrictions are light and the benefits are immense
      • Case insensitivity in HTML is an unnecessary feature. All it does is make code slightly more confusing and difficult to read.
      • Terminating each element is highly desirable, so your document is broken up cleanly into distinct sections, which can be easily identified and consequently rendered. A paragraph break is an event, however, the paragraph itself is an element of the document structure. The <p> and </p> tags signify the beginning and end of each paragraph. Then you can use style sheets to describe how paragraphs should be rendered. If you just want line returns, use <br />.
      • Quoting attributes makes code more clear and less error-prone. When the whole value is in quotes, there is no ambiguity as to what the value should be and what might be a typo or extraneous information. Surely you can imagine a situation where the next bit of text after an attribute would be a valid part of that attribute. and there is ambiguity as a result
      • Removal of attribute minimization also just makes fore cleaner, more deliberate code which clears up ambiguity. Surely you cannot be decrying the omission of a feature that you call "brain-dead."
      As you can see, XHTML aims to make HTML more clean, standardized, and reusable. It aims to remove ambiguity and clutter from the code and separate the distinct realms of content and design (which is done using stylesheets). No, it is not perfect, but having switched from HTML to XHTML, I find it to be a much more pleasent environment to code in.
  47. Re:Finally, Slashdot Slashdotted, Literally! by TeknoHog · · Score: 2, Funny

    So will this be the year of Linux on the desktop?

    --
    Escher was the first MC and Giger invented the HR department.
  48. a quick css review by kavin · · Score: 2, Informative

    it does not validate[1] -- you've got 2 typos:

    line 242: "#adminfooter label , #adminfooter legend,{". remove the comma
    at the end of the selector, and then line 488: "#usermenu ul.menu
    a.end... padding: 5px 11px 0 0 2px;". you've got 5 values for the
    padding property. it only takes 4 (for top, right, bottom and left,
    respectively).

    other suggestions:

    - use descriptive names for classes. i'm seeing things like: #misc,
    #frame and it's hard to remember what you're styling when you've
    labelled it in a rush and just given it a placeholder for a name. other
    class names are bound to locations (like #topnav) which is meta-semantic
    rather than semantic and confusing since it's easy enough to decide to
    css position it elsewhere and then you're going to have to change the
    code again. (the point of css is to separate content from
    presentation, so take the presentation out of your class names/ids and
    leave it up to the css properties.) also, there are known quirk issues
    with underscores in class names, eg your: #index_qlinks-content. rather
    use hypens.

    - for screen media, use a default font of sans-serif (you're using
    serif). sans-serif is proven easier on the eye on low resolution devices
    (like your monitor).

    - when specifying a colour, you're encouraged to always provide both
    foreground and background colours in the same css rule, as it's often
    not obvious what the cascade will do and you can easily end up with
    illegible text. for example, at least replace your:

    a { color: #066; }

    with:

    a { color: #066; background-color: inherit; }

    - you're using a mixture of css unit measurements. if you want text to
    resize and print easier, try replacing the pixel (px) measurements with
    ems or percentages (aka fluid layout). or provide a print stylesheet.

    - i'm not sure on this[2], but apparently most elements do not have
    intrinsic width and when you float something you should give it a width
    even if it's just a width:auto.

    - p

    --
    1.
    W3C CSS Validator results for http://www.slashcode.com/slashdot.css
    http://jigsaw.w3.org/css-validator/validator?uri=h ttp%3A%2F%2Fwww.slashcode.com%2Fslashdot.css&userm edium=all

    2.
    Visual formatting model
    http://www.w3.org/TR/REC-CSS2/visuren.html#floats

  49. I like it. by ManuelKelly · · Score: 2, Informative

    It looks pretty good on: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) KHTML/3.2.3 (like Gecko)

    It even works well with the larger fonts I prefer to use.