Slashdot Mirror


CSS for the LDP?

Saqib Ali asks: "Over at The Linux Documentation Project there is a lengthy discussion going on about whether to use CSS (Cascading Style Sheets) to improve the presentation of the documents. I support the use of CSS to improve the image/formatting of the document, and improve readability. I understand that content is more important than the presentation, but it can't hurt to improve both. There are others who think we should not get involved the presentation layer, and mainly concentrate on the content. Since, most Slashdot readers are Linux users, and might have visited the LDP once or twice, I would like to poll them on what they think about implementing and using nice CSS for the documents on the Linux Document Project website. I've written a CSS for this purpose that is available here, and some sample documents available in this weblog. Any thoughts? Any pros and cons on using CSS to improve presentation?"

506 comments

  1. What about Slashdot? by Anonymous Coward · · Score: 5, Interesting

    How about some CSS for Slashdot? Seriously.

    1. Re:What about Slashdot? by Thing+1 · · Score: 5, Funny
      As long as we can use deCSS to remove it...

      Ow, stop hitting me!

      --
      I feel fantastic, and I'm still alive.
    2. Re:What about Slashdot? by Anonymous Coward · · Score: 5, Informative

      How about this and this?

    3. Re:What about Slashdot? by Suppafly · · Score: 4, Informative

      alistapart did complete transformation to css for slashdot a while back and I know there are some other efforts. noone bothers to send in patches to the slashcode people though. There needs to be a go between to coordinate between the webdesigners and the coders.

    4. Re:What about Slashdot? by Anonymous Coward · · Score: 1, Interesting

      Apparently it would be a massive recoding effort, not just a couple of patches.

      At that point, you'd probably just want to chuck slashcode and rewrite it in something scalable like Java or C#.

    5. Re:What about Slashdot? by orthogonal · · Score: 5, Interesting

      How about some CSS for Slashdot? Seriously.

      Let me second Mr. Coward, and remind Slashdot's readers that we saw an article posted here several months ago showing several CSS formats especially designed for Slashdot.

      I, in particular, would very much welcome CSS replacing nested tables on Slashdot, not least because I sometimes read Slashdot on my Zaurus. The default Zaurus browser, Opera, while it has a mode designed for display on smaller devices, spectacularly screwed up that mode for tables, as it doesn't line break at the end of table rows.

      Whether you're using a Zaurus or a Jumbotron to view Slashdot, odds are you can write a (possibly overriding) user style-sheet that conforms to your display better than the default Slashdot display does.

      Also, a properly written stylesheet likely means smaller pages, because the markup will be centralized in the stylesheet. For a site like Slashdot, with a lot of page hits, this might mean a significant bandwidth savings over time.

      Sounds like a win-win to me.

    6. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      Yes Slashdot NEEDS to revamp and sorry but if Opera cant handle tables or nested tables, then its isnt worthy.

    7. Re:What about Slashdot? by mattkime · · Score: 1

      not that you'd care on slashdot....

      but IE barfs all over CSS. the newest PC version might be okay, but IE Mac will destroy nearly any CSS given to it.

      its quite sad

      --
      Know what I like about atheists? I've yet to meet one that believes God is on their side.
    8. Re:What about Slashdot? by Anonymous Coward · · Score: 2, Interesting

      use slashdot.org/palm/

      its what I use with OpenZaurus + Konq

    9. Re:What about Slashdot? by rodgerd · · Score: 1

      So? IE's a dead product on the Mac, and has been since last year. What, we should worry because Grail doesn't have modern HTML/CSS support, as well?

    10. Re:What about Slashdot? by Koguma · · Score: 2, Funny

      I say make it all TEXT, with a nifty IDC/HTX backend.

    11. Re:What about Slashdot? by ashkar · · Score: 4, Informative

      As a logged in user, you can select a version of /. made specifically for cases such as yours. I use it even to keep the formatting issues from cropping up in firefox and, after a few days, you grow quite attached to the lighter format. Go to preferences -> homepage -> check 'Light' -> profit!

    12. Re:What about Slashdot? by LoveTheIRS · · Score: 3, Insightful

      As long as we can access the LDP from lynx I am happy

    13. Re:What about Slashdot? by mattkime · · Score: 1

      obviously you've never seen what it takes to get a clueless user to switch browsers

      --
      Know what I like about atheists? I've yet to meet one that believes God is on their side.
    14. Re:What about Slashdot? by Anonymous Coward · · Score: 1, Insightful

      Tables are for tabular data, not for layout.

    15. Re:What about Slashdot? by Danse · · Score: 1

      Impressive. Looks just like Slashdot :)

      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    16. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      Too bad for them. They shouldn't be reading /.

    17. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      Or not, just by changing the CSS, not the content. And that's the main point - along with reduced bandwidth, I guess.

    18. Re:What about Slashdot? by mattkime · · Score: 1

      you win!

      --
      Know what I like about atheists? I've yet to meet one that believes God is on their side.
    19. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      like Java or C#

      Slashcode has as much chance as being written in Java or C# as it does being written in whitespace, brainfuck, MATLAB, or Algol68.

    20. Re:What about Slashdot? by horigath · · Score: 2, Informative

      IE mac has problems with some specific elements of css, mainy positioning elements. However, these are not so hard to avoid, even when one wants to build a page formatted entirely with css - I know, because I like to make sure most of my designs work cross-browser.

      Really, it doesn't matter. Either that browser can be abandoned, or decent code can be written that works on it. If the rest of us want more complex formatting, we can change to a different stylesheet.

      In any case, it seems that the version of slashdot rebuild with CSS works fine for me in IE 5.2 for mac. So it's a bit of a moot point then, no?

    21. Re:What about Slashdot? by orthogonal · · Score: 1

      use slashdot.org/palm/

      Yeah, I have tried that, and thanks for the suggestion, but it only gives the top 10 comments for each post.

      I almost always read at "0" threshold (even though I haven't had mod points for four months -- despite "Excellent" Karma for two years -- maybe I shouldn't have called out Cmdr. Taco for using DirecTV despite DireTv's baseless suits against owners of SmartCard programing devices?), because Anonymous Cowards, despite the low signal-to-noise ratio, do come up with some insights and humor.

      Just seeing the top ten comments merely whets my appetite.

      And, after all, if somebody weren't browsing at "0", no one would have modded your suggestion up to a "+1, Interesting", right?

      By the way, you wouldn't happen to know where I can find a build of Konquerer for the Sharp ROM, would you? The one I was able to find was very old and never worked.

    22. Re:What about Slashdot? by BobPaul · · Score: 1

      Use AvantSlash. It's not a replacement for CSS on the /. page (which is seriosly overdue) but it will help make it readable on your Palm's and CellPhones. Just try and host it yourself if you're using AvantGo. Even Custom Channels can be expensive for providers.

    23. Re:What about Slashdot? by BlackHawk-666 · · Score: 1

      Why don't you just switch to using Mozilla or Safari then? You don't have to stay with that broken product.

      --
      All those moments will be lost in time, like tears in rain.
    24. Re:What about Slashdot? by Erik+Hensema · · Score: 2, Informative

      CSS makes pages more accessible from lynx. So, yes.

      --

      This is your sig. There are thousands more, but this one is yours.

    25. Re:What about Slashdot? by ManikSurtani · · Score: 1

      Definitely a good idea. What would be nice is to provide a couple of stylesheets for logged in users to set as their preferred 'theme'. And in the end, we can always specify a default custom stylesheet in Moz ...

      --
      -- Manik Surtani
    26. Re:What about Slashdot? by nfotxn · · Score: 1

      From the perspective of running a business adding themes to a commercial site is a bad idea. Even though it's kinda fugly Slashdot does indeed have a brand. When A List Apart retooled this site in CSS they understood that.

      --

      _nfotxn

    27. Re:What about Slashdot? by frisket · · Score: 0
      There is a big danger in using CSS to replace tables.

      If the data is not truly tabular (ie the use of tables is simply to align material that is more conveniently presented side-by-side than vertically), then using CSS instead does not damage the meaning.

      But where data consists of tightly-bound items whose presentation needs to be inherently tabular, using CSS instead of tables is a poor choice (use it as well as tables, by all means, but not as a replacement).

      If the file is going to be used as a point of reference, then much more attention needs to be paid to the markup, so XHTML with CSS decoration would be a better choice: the presence or location of a table can then be tested programmatically (eg with XPath), which is virtually impossible using the HTML+CSS route.

      The best cure for seasickness is to go and sit under a tree. -- Spike Milligan

    28. Re:What about Slashdot? by arodland · · Score: 2, Insightful

      Of course; the argument is that 99% of the things displayed in HTML tables aren't actually tabular.

    29. Re:What about Slashdot? by (eternal_software) · · Score: 1

      You have to keep in mind that Slashdot is a dynamic site, meaning there is probably tens of thousands of lines of script code containing the offending HTML fragments that would need to be changed. If this code wasn't properly designed from the start for upgradability (i.e. spaghetti code), large parts of it might need to be completely rewritten.

      It's not as simple as redesigning a static website to use CSS.

    30. Re:What about Slashdot? by jsebrech · · Score: 1

      The way I understand it the current slash code has the table code littered through out the codebase, and it would be quite a big effort to move to css. Given that the current code works (however badly) there's a large unwillingness to go through the effort for the very miniscule pay-off that comes from it. IIRC cmdrtaco said that he would welcome code donations to bring slash into the 21st century.

    31. Re:What about Slashdot? by yerfatma · · Score: 2, Informative

      IE5 Mac has some serious issues, but it's much more CSS-compliant than IE5 or 5.5 on a PC. It's close to IE6 in terms of support. It just has some real problems with inheritance and floats.

    32. Re:What about Slashdot? by xeaxes · · Score: 3, Informative

      go through the effort for the very miniscule pay-off that comes from it.

      The pay off is more than miniscule. Read the ESPN Redesign and see that they saved 50 KB per page and an estimated 730 Terabytes of bandwidth a year.

      That is a HUGE cost savings. /. would likely have a similar cost savings due to the high traffic and the sheer number of nested tables on the site. I don't know how much ESPN's bandwidth and hosting costs are per GB, but they save on space and bandwidth. Estimating $5 per GB would put it at $365,000 per year in savings, but I bet it is even higher than that.

      --

      "BEHOLD, CORN!!" - Dr. Weird, ATHF

    33. Re:What about Slashdot? by jsebrech · · Score: 1

      But are the people responsible for slashdot's content responsible for its bandwidth bill? I highly doubt that. So unless they get ordered to make it more frugal, I very much doubt they'd sink the effort into it.

    34. Re:What about Slashdot? by egriebel · · Score: 0, Troll

      I, for one, welcome our new CSS Overlords!

      --
      ACHTUNG! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist nicht fuer gewerken bei das dumpkopfen.
    35. Re:What about Slashdot? by xeaxes · · Score: 1

      But are the people responsible for slashdot's content responsible for its bandwidth bill?

      I believe they are, or were, at one point. OSDN may pay the bandwidth fees now. I remember reading an article about it in NY Times. It's in the archive now, though.

      Still, keeping costs low for their owners is a good thing for them to do.

      --

      "BEHOLD, CORN!!" - Dr. Weird, ATHF

    36. Re:What about Slashdot? by Saeed+al-Sahaf · · Score: 1
      Tables are for tabular data, not for layout.

      Bullshit. Tables are for whatever you want to use them for.

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    37. Re:What about Slashdot? by Saeed+al-Sahaf · · Score: 1
      If this code wasn't properly designed from the start for upgradability (i.e. spaghetti code), large parts of it might need to be completely rewritten.

      And if you've ever looked at Slashcode, you know that's exactly what it is. Slashcode is the best argument against Perl.

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    38. Re:What about Slashdot? by onemorehour · · Score: 1
      There needs to be a go between to coordinate between the webdesigners and the coders.
      Slashdot has web designers?

      *ducks*
    39. Re:What about Slashdot? by Etyenne · · Score: 1

      This is going to happen the day /. start using PNG instead of GIF, that is most probably never.

      This site design had been frozen in 1997.

      --
      :wq
    40. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      Lets assume that VA Linux has some MBAs working for it that have figured out how to use OpenOffice Calc -- and they've run the numbers based on the dev costs.

      If the payback is more than 2-3 years out, I wouldn't bother. The company is not going to be around that long.

      (And ESPN.com had much deeper problems that slashdot -- layers on layers of old browser hacks and tons of javascript and flash.)

    41. Re:What about Slashdot? by Drathos · · Score: 1

      Yeah.. Then they go and blow that savings by replacing a the plain text headlines with flash headlines. If you don't have the flash plugin, you can still see the headlines, but+they+look+like+this. I'm sorry, but what idiot came up with that idea??

      Some of the added flash content isn't that bad (the scorboard on a sport's main page is nice), but the headline deal is just dumb..

      --
      End of line..
    42. Re:What about Slashdot? by Anonymous Coward · · Score: 0

      Stop spreading your bullshit dipshit

      "Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables."

      http://www.w3.org/TR/html401/struct/tables.html# id x-table-19

    43. Re:What about Slashdot? by aardwolf204 · · Score: 1

      No! Keep the tables or at least leave it as an option. I use a screen reader to listen to slashdot comments by holding ctrl and clicking on a comment (in Moz it selects the table) then doing a copy. if that functionality were taken from me I would stop reading (listening to) slashdot

      --
      Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
    44. Re:What about Slashdot? by WNight · · Score: 1

      Only to the simple-minded. A screwdriver may function as a prybar but you'd be an imbecile if you bought one instead of a prybar, given the choice. Prybars are cheaper, sturdier, and usually designed to best apply leverage.

      If you did not choose the screwdrivers for the job a prybar you are merely short-sighted and foolish if you do not make a not of it being inappropriate and at least note that when it fails, a proper replacement should be bought.

      All things have varying levels of fitness and you might be able (or required) to jury-rig something together but that doesn't mean it is as fit a solution as it could be.

      Tables have a lot of cruft that Slashdot doesn't need, if nothing else, it's simply slower to display tons of data in nested tables because the browser needs to use a generic code-path that could allow for any of these table to potentially not be just a fancy block indent.

    45. Re:What about Slashdot? by WNight · · Score: 1

      And mixing your content and your code and your markup wouldn't create just as scrambled python, despite mandatory whitespaceing? It wouldn't make your java serverlets just as crufty, even if the code was strewn through object-oriented code?

      Breaking basic design principles, like seperating your markup (be it HTML, or 3d-rendering) from the content generation (physics, input routines, whatever) from your code (bot AI, shaders, etc) is stupid. You can ruin a program in any language and you can write solid modular code in any language. Blaming the tool for a programmer problem just makes it clear you don't know the difference.

    46. Re:What about Slashdot? by Domo-Sun · · Score: 1

      They could leave the tables and still benefit from CSS. Even if they just add the style sheet to the light option and encourage users to enable the light option or make light the default. The light option also uses tables, but little formatting.

      And Can you tell me what screen reader you use, and if this is on Linux?

    47. Re:What about Slashdot? by rodgerd · · Score: 1

      I have. One of those things is hitting them over the head with the fact that their browser is broken until it sinks in. The fact that Apple are now supplying a more standards compliant browser with every Mac and iteration of MacOS X only makes the task easier.

    48. Re:What about Slashdot? by aardwolf204 · · Score: 1

      Speakonia. Windows. Sorry.

      --
      Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
  2. why not? by untermensch · · Score: 5, Interesting

    Obviously content is the most important thing, but what possible reason could there be for not improving the presentation as well? Unless it somehow cuts into the time needed to prepare content (which is certainly shouldn't), it only makes sense to make things pretty.

    1. Re:why not? by NeoThermic · · Score: 4, Insightful

      Presentation, readablilty and understanding is what makes documentation usable.

      This includes formatting, and visual output.

      If content is controled by CSS, then in theory, the content can be ammended as needed, with those in charge of presenting it not interfering with the actual documentation. This could lead to less time to prepare content as you stated.

      Remember, what makes the Microsoft KB almost un-usable is its presentation. What makes php.net's documentation usable is its presentation.

      Guess who has got it right, and who hasn't.
      Guess also who uses proper presentation and who doesn't. Compare.

      NeoThermic

      --
      Use my link above, or to view my server, NeoThermic.com
    2. Re:why not? by thegrassyknowl · · Score: 1

      I support prettying up the docs. They are accessible and functional as they are, but a little prettying up can't hurt. CSS is pretty well supported in the major browsers now.

      I know a great-many people that focus on aesthetics over functionality. They spend all day theming their Windows desktop only to find out that their new animated icons and desktop wallpapers make their machine run like a dog.

      It may be especially useful to keep noobs interested while they're learning how to do things.

      --
      I drink to make other people interesting!
    3. Re:why not? by squidinkcalligraphy · · Score: 1

      It goes further than that. Seperating the content from the presentation is as woeful a folly as seperating the mind and the body. You cannot have a mind without a body, you cannot have content (information) without a medium of presentation. That medium is the interface through which we access the information, and that interface determines the efficiency of how we use the information

      Even that is stretching it a bit; one could argue that the information and form are in fact inseperable, one-and-the-same, etc, but one won't.

      That said, time taken to design the interface cutting into time taken to make content is time well spent, although in a project like this, would not really be spent by the author of content. Except for making that author think more about structural elements of their document. Which is why CSS is such a bloody brilliant thing - more than just making things pretty.

      --
      "I think it would be a good idea" Gandhi, on Western Civilisation
    4. Re:why not? by Pieroxy · · Score: 2, Informative

      Obviously content is the most important thing

      Well, I will tend to disagree here. I'd say that the content is necessary. And for this project to succeed, it will need to have a lot more than just raw, uncut content.

      Some content are so ugly that no one would read them. And it is not a new tendency to overlook the presentation, as if it was secondary. That's probably one aspect where Microsoft widely dominates everything else, OSS included.

      My .02

    5. Re:why not? by Anonymous Coward · · Score: 0

      I'll 2nd that. I had a wiki project at work I was trying to get our developers to use, they shot the whole thing down simply because of the poor presentation. I cleaned up the presentation (al la CSS) and they pissed in their pants and thought it was the coolest thing. And these are tech-heads -- and yes, they were Windows developers, our Mac/Unix heads thought it was fine to begin with.

      That being said, I'd defiantly say a good clean presentation is important.

    6. Re:why not? by hereticmessiah · · Score: 1

      Dude, the docs are marked up in DocBook. DocBook doesn't contain any/much presentational markup. What we're talking about here is HTML. If anything, using CSS in this context is *restoring* information.

      The CSS is being used with some HTML, not DocBook. I really don't see the sense if this kind of argument...?

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    7. Re:why not? by zett · · Score: 1

      In this case of time brackets, debating over will not be help to achieve either of it :-).

  3. Oh yes by Anonymous Coward · · Score: 0

    Please do. It maybe will blow some new life into some documents (albeit artificial at first).

    But man, that CSS is _really_ _really_ ugly :-)

    1. Re:Oh yes by Anonymous Coward · · Score: 0

      luckily for you, css would mean you can choose a look that you like!

  4. Scrabmled content? by Ececheira · · Score: 2, Funny

    So how many people read the headline as Content Scrabling System?

    1. Re:Scrabmled content? by MighMoS · · Score: 1

      I'm the other way with most articles for a split second. I guess I'm defective. *goes off to his rabbit hole*

    2. Re:Scrabmled content? by thegrassyknowl · · Score: 1

      Well the way some browsers have handled CSS lately, you could be mistaken for thinking it was Content Scrambling System. The situation has improved though, hasn't it?

      --
      I drink to make other people interesting!
    3. Re:Scrabmled content? by Anonymous Coward · · Score: 0

      only the ones with something to hide.

    4. Re:Scrabmled content? by hereticmessiah · · Score: 1

      The output from the DocBook sources wouldn't need to use terribly complex CSS. In fact, the fact that it's seperated makes many of these problems moot.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    5. Re:Scrabmled content? by Freshie · · Score: 1

      LOL I did.

      --
      'I don't want more choices. I just want better things.' - Edina Monsoon
  5. I only read man pages by Anonymous Coward · · Score: 0, Offtopic

    If it's not in a man page, then I don't want it!

    1. Re:I only read man pages by Anonymous Coward · · Score: 0

      well aren't you the man.

  6. Good way to go by gandalf_grey · · Score: 0

    Seperating content from presentation is a good way to go. I see few disadvantages to the approach of using CSS to present content, on this, or any site.

    --
    Mmmmmmm. Floor pie!
  7. What? by 93+Escort+Wagon · · Score: 5, Insightful

    I know this is a bit of a tangent, but...

    "Most Slashdot readers are Linux users" - seriously? I know there's a strong anti-MS contingent, but this can't be true. Is there data to back that up or are you just talking out of your, er, hat?

    --
    #DeleteChrome
    1. Re:What? by Cyno01 · · Score: 2, Informative

      I dont know about most, but i'd say definitly a high percentage. If your going by access statistics, most browsers masquerade as IE to trick broken IE only sites. I'm using Opera Right now (on windows however) but its set to identifie as MSIE 6. I'm sure the linux and mac versions do the same thing. I think Moz can do that to, although it may require an extension.

      --
      "Sic Semper Tyrannosaurus Rex."
    2. Re:What? by Anonymous Coward · · Score: 0

      You must be new here. There is much more than a "strong anti-MS contingent" among slashdot readers. In short, most slashdot readers are geeks in academia or IT departments. Both of them have their reasons for not liking micro$oft. If I have to spell them out to you, you are probably in the wrong place.

    3. Re:What? by Anonymous Coward · · Score: 0

      I am a slashdot reader and I am neither in academia nor an IT department you insensitive clod! But I still don't like microsoft.

    4. Re:What? by Rick+the+Red · · Score: 2, Informative
      Really.

      I tried Linux (Coyote, Red Hat 4, Red Hat 5, Gentoo, Mandrake 7, Red Hat 7, Mandrake 8) but it just never grabbed me. I switched my firewall from Coyote to OpenBSD and liked it so much I now use it for my server, too. I still use Windows on my workstation because I need it for games and it's just easier to stick with it for everyday things than to multi-boot. If I ever get the money I may try VMWare, but it won't be to run Linux on my Windows PCs, it will be to run BSD. I really agree with the statementn "Linux is for people who hate Microsoft; BSD is for people who love UNIX."

      Yeah, I know BSD is dead, but I'm a zombie so I don't care :-P

      --
      If all this should have a reason, we would be the last to know.
    5. Re:What? by Anonymous Coward · · Score: 2, Insightful

      "Most Slashdot readers are Linux users" - seriously? I know there's a strong anti-MS contingent, but this can't be true. Is there data to back that up or are you just talking out of your, er, hat?

      Umm, depends what you mean by "linux users". I recall an analysis of the browsers used by slashdot readers to browse slashdot, and most of them use windows to read slashdot.

      Is browsing a website that runs on linux enough to be a "linux user"? I don't think so.

      Do you get your email from an IMAP or POP server running linux? I don't think that makes you a linux user.

      I'd say you're a linux user if you use a shell account or X11 windows/KDE/Gnome/whatever on linux some of the time. I think a majority of slashdot readers are linux users by that criteria.

    6. Re:What? by Anonymous Coward · · Score: 0
      I'm using Opera Right now (on windows however)

      HE didn't say fuck all about browsers. He was talking about OSs. And you've just proved his point beautifully.

    7. Re:What? by Anonymous Coward · · Score: 0

      > I'm using Opera Right now (on windows however) but its set to identifie as MSIE 6

      Even if you do this, Opera still identifies itself, and stat engines pick it up. There is not some vast secret group of Opera users out there -- Opera really does have a sub 1% marketshare.

    8. Re:What? by tverbeek · · Score: 3, Insightful
      Well, in the sense that we're all Sendmail users and Apache users and BIND users (i.e. we interact with them on a day-to-day basis, even if we don't run them on our own systems), /.ers are (by definition) all Linux users (and Perl users). Of course that makes most of us Windows users as well, since it's hard to get through the day without hitting some site running IIS or Exchange.

      Personally, I think it's silly that people try to pigeonhole me as a [insert OS here] user since I use (i.e acting as a local or authenticated remote operator or user of) anywhere from 4-8 different OSes over the course of a typical week.

      --
      http://alternatives.rzero.com/
    9. Re:What? by Anonymous Coward · · Score: 0

      I'm running a linux dist with a windows VM on top for my web design needs. Does this make me a linux user? Ya, I think it does. It also makes slashdot record me as using a windows browser. *Shrug*

    10. Re:What? by bcrowell · · Score: 2, Insightful
      Considering that Linux systems account for somewhere on the order of 0.5% of all desktop machines, it's not realistic to expect the majority Slashdot users to be running Linux on the machine they're slashdotting with. If even 20% of Slashdot users are slashdotting using Linux, that's an amazing triumph.

      An even more amazing triumph would be if Linux's share of desktop systems could grow by an order of magnitude, to some incredibly large figure like 5%. But I'm not holding my breath, because 5% is a lot more than the fraction of the population who are interested enough in computers to take the trouble to use Linux.

      Oh, and just so you know where I'm coming from, I'm posting this from a FreeBSD box :-)

    11. Re:What? by Endive4Ever · · Score: 1

      I really agree with the statementn "Linux is for people who hate Microsoft; BSD is for people who love UNIX."


      So you've tried a few Linux distros, given up on them, gone back to Windows, you're thinking about maybe trying one of the freenix BSD's, and you dare rattle off bromides that lord over other people about what OS they've chosen?

      Gee.

      --
      ---
    12. Re:What? by Lulu+of+the+Lotus-Ea · · Score: 1

      It seems almost SURELY true that most /. readers are Linux users. Not necessarily exclusively, but at least sometimes.

      For example, I'm a Linux user: I have one home Linux box (that I maintain mostly for my SO, and occasional testing). I maintain two Linux-hosted sites. I even have access to Sourceforge as an admin of on project, which runs Linux.

      I'm also a MacOSX user, probably the most time nowadays. And I'm an OS/2 user, probably now slightly less than OSX, but still 2nd most. And I'm a FreeBSD user on another box at home. I have a couple machines with rarely used BeOS partitions--still, enough to be a "user." I'm kinda-sorta a MacOS9 user (the machine with that isn't actually hooked up), and likewise an Irix user. And shame of shames, I'm even a Win98r2 user once a year, at tax time (but I sure wish TaxCut Business was available for some other OS).

      How many slashdot readers really don't use Linux AT ALL?!

    13. Re:What? by Rick+the+Red · · Score: 0, Troll
      Uh, no. I said I agreed with it, I didn't say it orginally. And I'm not thinking about maybe trying one of the BSDs, I said I'm actually using OpenBSD -- on my firewall and on all my servers. But until it plays my Windows-only games, I'll stick with Windows on my laptop, thank you very much.

      The point, which you missed, is that I'm a Slashdot reader who uses a Unix flavor (OpenBSD) AND Windows and NOT Linux. The assumption in the story was "most Slashdot readers are Linux users," and I disagree.

      --
      If all this should have a reason, we would be the last to know.
    14. Re:What? by Anonymous Coward · · Score: 0

      Considering that Linux systems account for somewhere on the order of 0.5% of all desktop machines, it's not realistic to expect the majority Slashdot users to be running Linux on the machine they're slashdotting with.


      Something tells me that the Slashdot community is not a representative random sample of the population at large ;-)
    15. Re:What? by Anonymous Coward · · Score: 0

      Linux is for people who want UNIX with least hassle; BSD is for twits who want to run obscure operating systems for boasting.

    16. Re:What? by Arctic+Dragon · · Score: 1

      True. Spoofed Opera UA strings use this format:

      Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50

      A good UA string sniffer should correctly identify Opera, despite the spoofing.

    17. Re:What? by Anonymous Coward · · Score: 0

      or perhaps BSD is for people who like consistancy and stability but don't care about new wiz-bang features? Could be, I dunno.

    18. Re:What? by nickco3 · · Score: 1

      I recall an analysis of the browsers used by slashdot readers to browse slashdot, and most of them use windows to read slashdot.

      I'm not sure you should place too much confidence in those satistics. I'm definately an anti-Microsoft Linux user, there's not a sniff of Windows on any of the machines I own, I spit on the floor everytime Bill Gates' name gets mentioned, I cheer through all the anti-MS stories. But ... most of my Slashdot time is done in work where they make me use Win XP. So how accurately am I represented in those stats?
      --
      -- Nick "Hallo this is Beel Gates, und I pronounce weendows as ... WEENdows"
    19. Re:What? by Anonymous Coward · · Score: 0

      Well, if you spell it "micro$oft", I don't want advice from you.

    20. Re:What? by The+Grassy+Knoll · · Score: 1

      Perhaps "most Linux users are Slashdot readers" would be closer

      .

      --
      They will never know the simple pleasure of a monkey knife fight
    21. Re:What? by aulendil · · Score: 2, Insightful
      But ... most of my Slashdot time is done in work where they make me use Win XP. So how accurately am I represented in those stats?

      Since you yourself say that you mostly read Slashdot in Win XP, I would say your quiet accurately represented in those stats.

    22. Re:What? by ameoba · · Score: 1

      If "Linux User" means "uses Linux as one's primary OS", you're probably right. Take "linux user" to mean "has at some time used linux", "dualboots Linux and Windows" or "has a spare/toy/server machine running Linux" and the numbers are going to shoot up dramatically.

      And, if you consider the types of things covered in the LDP's HOWTOs, a majority of them cover initial setup of a machine rather than day-to-day usage, so they're relevant to people who are doing fresh installs moreso than they are to the person who's got it on their desktop and has had a running machine for ages.

      --
      my sig's at the bottom of the page.
    23. Re:What? by elemental23 · · Score: 1

      most browsers masquerade as IE

      Most browsers do not do this, and good thing too. Opera is, as far as I know, the only common browser that uses an IE user-agent string by default.

      Other browsers, including Mozilla, allow you to change it, but you'd have to take extra steps to do so, it's not spoofed by default, and I doubt most people bother.

      This is a good thing, btw. User-agent spoofing does more harm than good in the long run.

      --
      I like my women like my coffee... pale and bitter.
    24. Re:What? by Anonymous Coward · · Score: 0

      Well, consistency makes sense for server but anyone using *nix for desktop usually cares at least somewhat about the new wiz-bang features.

      Stability on desktop use is not a concern on any *nix, and even WinNT is starting to get there.

  8. Excellent idea. by Anonymous Coward · · Score: 5, Interesting

    I fully support the idea. It's not a matter of "getting involved in the presentation layer," as opposed to the content. That's, after all, the whole point of CSS... To separate these concepts, and make them independently manageable.

    It would be simple for a team to develop CSS files in concert with those who are already doing a great job developing consistent, predictable content. This project lends itself easily to improvements with CSS.

    I'd only recommend that multiple CSS files be created, and people be allowed to choose one that suits them, or none at all.

    1. Re:Excellent idea. by bbsguru · · Score: 5, Insightful
      The idea is the thing, right? It's all about the content after all..

      No, it isn't. It's also about communication, and to the extent that better presentation helps communicate more clearly, CSS should be used. The best ideas that are never heard matter not.

      Don't let the presentation get in the way of the content? Exactly. But don't let the lack of presentation take away from it either.

    2. Re:Excellent idea. by Anonymous Coward · · Score: 0, Insightful

      It's not a matter of "getting involved in the presentation layer,"

      Sure it is -- CSS allows the webdesigner to force you to read his site using an 8 pt Comic Sans font.

      I have no idea why that is necessary for things like simple Linux HowTos. Just set the font you want in your browser. This is not a complex site.

    3. Re:Excellent idea. by notsoclever · · Score: 2, Informative
      CSS also allows the user to undo the bogosity which hack webdesigners instill on their users (good browsers let you set your own CSS):
      * { font-face: arial !important; font-size: 12pt !important; }
      h1 { font-size: 130% !important; }
      h2 { font-size: 120% !important; }
      h3 { font-size: 110% !important; }
      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    4. Re:Excellent idea. by Anonymous Coward · · Score: 0

      I think you misunderstood -- I have no problem with complex sites being laid out with CSS -- it's just a waste of time when you are dealing with content that's 100% text. More often than not, the stylesheet is more annoying that just configuring your browser to display the font and size you like.

      And even IE lets you set your own default styles.

    5. Re:Excellent idea. by Anonymous Coward · · Score: 0

      I read all my sites in Verdana. It's set in my browser preferences, as you suggest. Having this option is obvious, and goes without saying.

      I've never come across a site whose CSS "forced" me to read their site in Comic Sans.

      I do, however, support people making stylesheets, as long as they leave the old way available for those who choose it. This, of course, is easily done with very un-fancy script work. See alistapart.com for several examples.

      I'm sure many will agree with me that colorized code or documentation is easier to follow. CSS has been given a bad name by web designers who misuse it, and misunderstand its purpose. If the content is not already structured, then a move to CSS will force it to become so, which is never a bad thing, no matter what browser you use.

    6. Re:Excellent idea. by Anonymous Coward · · Score: 0

      I had meant that it's not a matter of getting involved with the presentation layer As Opposed to the content. The two are not mutually exclusive. What I mean, is adding CSS doesn't degrade your content, or vice versa. It's not an either-or proposal. Two independent teams can easily work on both issues, and the end result can still work very well. The content is not degraded. To those who don't like CSS, I would bet LDP leaves an option for a non-stylesheet rendering.

    7. Re:Excellent idea. by Anonymous Coward · · Score: 0

      > If the content is not already structured, then a move to CSS will force it to become so

      Let's not go overboard here. There's lots of stylesheets with classnames like "BlueBackground" and stuff like that.

      Furthermore, trying to manage content on the browser-end is largely a waste of time. It makes much more sense to use structured content on the backend (as the LDP is doing) and only let the browser worry about layout issues. In otherwords, nobody's parsing your HTML.

    8. Re:Excellent idea. by darnok · · Score: 0, Troll

      > The idea is the thing, right? It's all about the
      > content after all..

      > No, it isn't. It's also about communication, and
      > to the extent that better presentation helps
      > communicate more clearly, CSS should be used.
      > The best ideas that are never heard matter not.

      > Don't let the presentation get in the way of the
      > content? Exactly. But don't let the lack of
      > presentation take away from it either

      No offence, but you sound like a guy trying to justify his belief that Britney Spears isn't just a mindless bimbo...

    9. Re:Excellent idea. by hereticmessiah · · Score: 1

      Well, you do know that the docs are marked up in DocBook and *then* transformed into HTML. What stylesheet or templates it uses shouldn't be a worry to those writing the documents. It's all moot.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  9. as long as it's not annoying... by zoloto · · Score: 1

    i've seen people use css to increase their font size 1 to 4 inches from normal with just a few keystrokes with no side effects. this is just irritating... I hope they don't make it flashy or with obnoxious colors.

    damn, i've been reading too much spam!

  10. How about Microsoft Word .doc format? by NotQuiteReal · · Score: 1, Interesting
    Think About it...

    This would be a little Linux predation a la MSFT to force more users into using Open Office, right?

    lol

    --
    This issue is a bit more complicated than you think.
    1. Re:How about Microsoft Word .doc format? by robfoo · · Score: 1

      Hello, mods? Put down the crack pipes!

      The post suggests using Word Docs for The Linux Documentation Project.
      On Slashdot.
      A Microsoft, proprietary format.
      For documenting linux.

      I'm thinking he's probably not serious.

      Dude even ends his message with 'lol' and still gets modded interesting!!

      One can only conclude that, once again, the moderators are on crack.
      I guess it would explain all the "Frist post! j00 i5 teh suxx0rs" posts that have been getting +5, insightful...

    2. Re:How about Microsoft Word .doc format? by Anonymous Coward · · Score: 0
      One can only conclude that, once again, the moderators are on crack.


      Wouldn't that imply that they've actually been off crack at some point?
  11. Presentation Problem to be solved? by Thanatopsis · · Score: 3, Insightful

    Exactly what presentation problem are you trying to solve? Make it look prettier? The UI is pretty solid. Just wanting to change the presentation layer without understanding what you are trying to achieve for the user is silly.

    1. Re:Presentation Problem to be solved? by dustball23 · · Score: 1

      Exactly what presentation problem are you trying to solve? Make it look prettier?

      Yes.

    2. Re:Presentation Problem to be solved? by Reteo+Varala · · Score: 2, Interesting

      Well, I have one friend who spent time learning all he could about CSS to "handicap-enable" his web browser.

      You see, he has difficulty seeing, so he needs the web browser to default to larger fonts, so here comes CSS, which modifies websites to be easily visible to him.

      This is an example of a useful purpose to CSS that has nothing to do with "beautifying" a site.

  12. Re:sp? by Anonymous Coward · · Score: 0

    you fail it

  13. Why should it be opposed? by metalhed77 · · Score: 3, Insightful

    It would be trivial to write a CGI script that would simply include, or not include the link to the CSS for each document. Assuming of course that all these documents are in XML (docbook?) format to begin with.

    --
    Photos.
    1. Re:Why should it be opposed? by Anonymous Coward · · Score: 0

      If the documents are stored in XML then with XSL, the documents could be rendered to HTML(with CSS), HTML(w/o CSS), even PDF, based on a a user's preference. The content of the original XML document is more completely abstracted from presentation than might be possible with HTML/CSS.

  14. Uhoh.... by c0dedude · · Score: 3, Informative

    Error: Acronym overload! Danger, Will Robinson! Danger! Jesus christ.

    Translations:
    Cascading Style Sheets-Uniform visual format for web pages.
    LDP-Linux Documentation Project: Produce documentation for linux. Quite helpful.

    --
    Since when has this country used intellectual elite as a pejorative term?
    1. Re:Uhoh.... by Anonymous Coward · · Score: 0
      Jesus christ.

      yes my son?

    2. Re:Uhoh.... by Anonymous Coward · · Score: 1, Funny
      Error: Acronym overload! Danger, Will Robinson! Danger! Jesus christ.

      Are you referring to the AO error? Often invoking the DWR and JFC conditions.

  15. xml by mastergoon · · Score: 3, Insightful

    If you are going to go through all that work to reformat the documents, it seems more reasonable to go to an XML/XSLT system. For documentation projects XML is the way to go, so it can be viewed great in many applications.

    Before you start whining that "it wont work in my browser," remember, there are several solution where the stylesheet is applied server side, and the page can be servered as plain old html.

    1. Re:xml by Suppafly · · Score: 1

      Before you start whining that "it wont work in my browser," remember, there are several solution where the stylesheet is applied server side, and the page can be servered as plain old html.

      That's what they'd be doing with .css anyway. Sending the browser a plain old .css file and converting the doc book format they use to html and sending that to the browser.

    2. Re:xml by Vaevictis666 · · Score: 1

      Except that it doesn't work quite as well for local copies :(

    3. Re:xml by [ella] · · Score: 0
      Yup,

      Finally somebody who makes sense: if everything is already in correct XML, XSLT is the way to go!

      The major browsers support XSLT client-side, and it would indeed be quite easy to have a server where the xslt stylesheet is applied !

      I know, I should avoid duplicating what has already been said...

      But when finally somebody makes sense between all those comments about CSS, I feel like supporting them a little... even though it is early in the morning ;-)

      --
      Mike
    4. Re:xml by ameoba · · Score: 1

      Most LDP docs are already in Docbook. Docbook is SGML. SGML is XML.

      --
      my sig's at the bottom of the page.
    5. Re:xml by Anonymous Coward · · Score: 0

      But when finally somebody makes sense between all those comments about CSS, I feel like supporting them a little

      Sorry, but the LDP already author in DocBook and transform it into HTML - you are supporting somebody who is suggesting they do exactly what the LDP are already doing. That's why hardly anyone else is suggesting it.

    6. Re:xml by am+2k · · Score: 1

      no, XML is a subset of SGML.

    7. Re:xml by hereticmessiah · · Score: 1

      That, and everything's in DocBook anyway, so the presentation of the documents isn't really up to the people writing them in the first place.

      For the transformation from DocBook to HTML, it's Jade and DSSSL that's used, not XSL (it's SGML we're talking about here). This whole discussion is moot.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  16. Of course! But it may not help a ton by Deraj+DeZine · · Score: 5, Informative

    Of course they should use CSS to make the pages look better.

    Unfortunately, CSS won't solve the root of the problem: non-semantic HTML. I've re-done several sites to make use of the so-called semantic HTML tags (em, strong, etc.) and to get rid of nasty table-abusing layout tags. CSS is necessary to make this transition, but readability on non-desktop browsers (phones, terminals) can only really be improved by switching to layouts using semantic HTML tags and divs for layout.

    One last point I'd like to get out there is that there are many console browsers (links, w3m, but NOT lynx) that do a fine job displaying abused table layouts. Unfortunately, the console usually has so few columns that everything just ends up looking squished, while as my div-layout pages are easy to read.

    --
    True story.
    1. Re:Of course! But it may not help a ton by FattMattP · · Score: 1
      Unfortunately, CSS won't solve the root of the problem: non-semantic HTML.
      That's already solved. Everything at the Linux Documentation Project is using Docbook which is an XML DTD. This article is about using CSS on the HTML output from those XML files.
      --
      Prevent email address forgery. Publish SPF records for y
    2. Re:Of course! But it may not help a ton by Anonymous Coward · · Score: 0

      Heh, guess I needed to RTFA. Sorry. Feel free to take my +3 or +4 or whatever it is.

    3. Re:Of course! But it may not help a ton by rossz · · Score: 1

      I'm in the process of rewritting an eCommerce site. Not only did the original author use table layouts, he did it extremely poorly. The thing is so full of errors it's a miracle it renders at all. You can see it here (only looks correct in IE). My preliminary rewrite is here. Unfortunately, I'm having a few problems getting the menu to display correctly in Konqueror and probably Safari (don't have a mac to check things).

      I'm running into serious difficulty figuring out how to migrate stuff a little at a time because of the eCommerce software (Miva).

      --
      -- Will program for bandwidth
    4. Re:Of course! But it may not help a ton by hereticmessiah · · Score: 1

      Why don't comments like this get higher moderation? This one actually explains the problem (though there isn't really one) properly.

      I'd swear the kiddies here don't know how the LDP even works.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    5. Re:Of course! But it may not help a ton by Anonymous Coward · · Score: 0

      Unfortunately, CSS won't solve the root of the problem: non-semantic HTML.

      How about looking at the actual HOWTOs before writing them off as crap? The HTML they use is quite decent, proper use of headings etc.

      I've re-done several sites to make use of the so-called semantic HTML tags (em, strong, etc.)

      You are talking about element types, not tags. Tags are merely element delimiters.

  17. Done right, CSS can help multi-platform use. by ron_ivi · · Score: 5, Interesting
    Done right, CSS is a great way to separate presentation from display.

    The best examples online are still probably this and this and even and slashdot style

    Note that all those pages had the exact same html. Only the css changed. In their site (read the page) they have styles for all sorts of displays including wireless friendly ones.

    1. Re:Done right, CSS can help multi-platform use. by Anonymous Coward · · Score: 1, Interesting

      Well, kind of, those pages are good visually but they're not very good for inaccessible (the image-hide technique hampers screenreaders).

    2. Re:Done right, CSS can help multi-platform use. by xenocyst · · Score: 2, Informative

      even a stylesheet that's half as good as some of that stuff would make the ldp a whole lot nicer...
      personally i think css is the best and easiest way to do a really good job on web site design...
      tables are the devil, as are frames.. remember that and you're set
      www.psychiatry.com is a nice basic layout done by my brother, and it mostly comes down to easy to see, easy to read, easy to change to your taste

      --
      And, no, I should not have used the goddamn Preview mode first.
    3. Re:Done right, CSS can help multi-platform use. by T-Ranger · · Score: 4, Insightful
      One would wonder why I cant just click on my Firefox stylesheet button and make the change from there.

      Hard coding a paticular style sheet into HTML - even if that HTML happens to be generated - kind defeats the purpose, no?

    4. Re:Done right, CSS can help multi-platform use. by mybecq · · Score: 1

      It would be awesome if Slashdot did something like this and allowed users to set their own CSS (in the user preferences or something).

      That could even be worth paying for! (j/k)

    5. Re:Done right, CSS can help multi-platform use. by qualico · · Score: 0

      Thanks for those links.
      Fantastic example of the power of CSS.

      Problems I have encountered with CSS:
      Fonts or lack thereof can change the layout.
      Some tags work differently in different browsers.

      Solution:
      Use the most common fonts.
      Dumb down your tags and use the lowest common denominator.

    6. Re:Done right, CSS can help multi-platform use. by Rufus211 · · Score: 4, Informative

      Because firefox preloads all of the styles referenced. I'm not sure if this is a bug or intended but it causes massive bandwidth, especially with sites like this that have complex graphics for each style.

    7. Re:Done right, CSS can help multi-platform use. by jdowland · · Score: 1

      The second example doesn't work properly in mozilla 1.6.

    8. Re:Done right, CSS can help multi-platform use. by slayer111 · · Score: 1

      On my work machine, these sites look great, and show how impressively CSS can alter a site's appearance.

      On my smartphone, these sites are all very readable black-and-white plain text pages.

      If the CSS on Slashdot and LDP can be done so as to enhance presentation on CSS-compatible browsers, but without rendering it unreadable on none-CSS browsers, it should be advisable. From the looks of things, that should be very possible.

    9. Re:Done right, CSS can help multi-platform use. by Uggy · · Score: 2, Insightful

      CSS can also help people think more about the actual structure of their documents. If we apply CSS to LDP, then someobody's got to standardize the structure across all the documents. Take a look at Gentoo. From day one, they have presented their documentation with data structure being the number one concern.

      CSS are like writing a business plan. It gets you thinking about the nitty gritty details of your document and just like a business plan gets you thinking about details in your business.

      --
      Toddlers are the stormtroopers of the Lord of Entropy.
    10. Re:Done right, CSS can help multi-platform use. by gnu-generation-one · · Score: 1

      "One would wonder why I cant just click on my Firefox stylesheet button and make the change from there."

      You can specify alternate stylesheets that people can select from the "view","use-style" menu on all good web-browsers. Problem is, it only seems to change the page you're looking at -- go to another page on the site and you get the default again.

      You can send a cookie containing the stylesheet required, and modify the styles.php (CSS document-type) depending on what that cookie is. It would be nice if you could make the choice of alternate stylesheets somewhat permanent, but it sounds like a complex piece of code, when anyone who wants a lot of styles can do the cookie trick anyway.

    11. Re:Done right, CSS can help multi-platform use. by hereticmessiah · · Score: 1

      I agree that hardcoding would be bad, but it wouldn't be hardcoded, only linked. Completely different things.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    12. Re:Done right, CSS can help multi-platform use. by Anonymous Coward · · Score: 0

      IIRC, the CSS 2 specification requires all referenced stylesheets to be downloaded upon page load. This is for cases such as viewing a page, disconnecting from the Internet, and then trying to print ("what, you want the print stylesheet now? Better reconnect...").

    13. Re:Done right, CSS can help multi-platform use. by Woody77 · · Score: 1

      That stylesheet is just amazingly good. My first thought upon seeing this question was to use Gentoo's CSS for their documentation. It's so much more readable than just about anything else out there. (Although Samba's stuff is pretty good, too, but I don't know if that's CSS or not).

    14. Re:Done right, CSS can help multi-platform use. by T-Ranger · · Score: 1

      On the site in question, the two options I have are "basic theme" (which is no css at all), or "currentStyle"... That is, I don't have any options at all.

    15. Re:Done right, CSS can help multi-platform use. by astroboscope · · Score: 1

      Surely downloading all referenced stylesheets on page load vs. as needed should be an option in the browser preferences.

      --
      If we were ants living on a Rubik's cube, differential geometry would be a little more confusing.
    16. Re:Done right, CSS can help multi-platform use. by ttfkam · · Score: 1

      Here's something that could work for you perhaps. It watches which stylesheet is active and uses it on subsequent pages.

      It presupposes that you have consistent styling/naming on all of your pages though.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
  18. Silly by sethadam1 · · Score: 4, Insightful

    Isn't this kind of silly? Why would we the Linux community actively choose to NOT use stylesheets? They're not complex and they're widely supported now. Only this community of emacs users at GUI-less workstations users would think it better to not use CSS. I see refusing their introduction as actively alienating users by refusing to implement anything that could possibly be considereed "eye candy."

    I'm sure someone will mod this down as flamebait, but it's not meant to be. Truly, this is one of those times I find myself not so surprised that Microsoft retains so many customers - because you gotta sell the sizzle with the steak.

    1. Re:Silly by MrDelSarto · · Score: 5, Interesting
      Only this community of emacs users at GUI-less workstations users would think it better to not use CSS.
      No, this is exactly who wants people to use CSS. If people separated content from layout, imagine how much of a better place the world would be. Personally, this is why I have gravitated to DocBook so much recently. On the extreme end, you have Microsoft Word, where layout and presentation is completely embeded with your actual information. LaTeX is better, but you still end up with \parskips and things around. DocBook may be verbose, but you have all your content separate and then mark it up the way you like for presentation in a completely separate style sheet.
    2. Re:Silly by Anonymous Coward · · Score: 0

      Why would we the Linux community actively choose to NOT use stylesheets?

      Have you ever seen the LDP?

      They currently use no style information whatsoever. So it's not CSS versus FONT tags -- its CSS versus plain text informatinon that doesn't "need" much styling.

    3. Re:Silly by Nailer · · Score: 4, Insightful
      Why would we the Linux community actively choose to NOT use stylesheets?

      We wouldn't. Chances are:
      • The poster is on a mailing list with soemone who doesn't like CSS for no reason other than they don't understand it
      • The poster has submitted the concept to Slashdot so that the project can see that this person is a tool

    4. Re:Silly by sethadam1 · · Score: 1

      Man, if I hadn't posted already, I'd mod you up as funny.

  19. Why even ask? by chuyskywalker · · Score: 4, Insightful

    Of course they should!

    CSS doesnt touch the content of a document at all - that's the whole point of it. You can "pretty up" a document without needing to redo all the content's code. In addition, no one doing to the documenting needs to worry about anything new - they just continue as always. The "extra" download can be turned off in cool browsers so that its formatted normally - heck, even a fancy JavaScript button can be set up to use different (or no!) style sheets.

    So - Better appearance, negligable performance hit, backwards compatable, no change in article (html) formatting, and zero drawbacks. Why would they not put CSS into action? Even basic CSS can do wonders.

    1. Re:Why even ask? by arkanes · · Score: 1

      This is actually untrue, because the HTML requires markup to distinguish elements that you apply styles to. If you decide you want to emphasise a word in a run of text, for example, you need to put that word into a span or some other element. So while you can divorce presentation to a degree, presentation changes can require semantic changes to the content itself.

    2. Re:Why even ask? by xeaxes · · Score: 2, Informative

      This is actually untrue, because the HTML requires markup to distinguish elements that you apply styles to. If you decide you want to emphasise a word in a run of text, for example, you need to put that word into a span or some other element. So while you can divorce presentation to a degree, presentation changes can require semantic changes to the content itself.

      Actually, this is true. Tags such as EM (emphasis), and STRONG (strong emphasis) are used to emphasize important points. These are considered content, not style. Span's are not needed when the correct tags are used.

      --

      "BEHOLD, CORN!!" - Dr. Weird, ATHF

    3. Re:Why even ask? by jpkunst · · Score: 1

      Span's are not needed when the correct tags are used.

      This assumes that there are correct tags for everything in HTML, but I don't think that's true. For example: a typographical convention that is used sometimes is to use italic for pieces of text in a foreign language. Which HTML tag should that be? Not <em>. <span class="foreign_language"> or something like that seems the only way, if you don't want to use <i>.

      JP

    4. Re:Why even ask? by chuyskywalker · · Score: 1
      This assumes that there are correct tags for everything in HTML, but I don't think that's true.

      You are right. There aren't correct tags for everything in HTML - that is of course because HTML is not designed to host the limitless ways that a document could be marked up...it is a subset of XML (it is now anyways.)

      If you really wanted power, you could define your own language with a DTD in XML and then style that use CSS. This would allow for *any* tag you could ever need.

    5. Re:Why even ask? by eggz128 · · Score: 2, Informative

      For example: a typographical convention that is used sometimes is to use italic for pieces of text in a foreign language. Which HTML tag should that be?


      The paragraph should be marked up with the lang attribute.

      The paragraph(s) with forign languages could then be styled with CSS by selecting paragraphs with the lang attribute (and even based on the value of that attribute, different styles could be applied to different languages).

      See here.
    6. Re:Why even ask? by ron_ivi · · Score: 1
      "Tags such as EM (emphasis), and STRONG (strong emphasis) are used to emphasize important points. ...Span's are not needed when the correct tags are used."

      So what's the right tag to use for text that represents an author? a director? an actor? a price-per-unit? a shipping-method field? a shipping cost field?

      Surely you don't mean to use EM for actors, STRONG for directors, and what for the rest of them???

      div's and span's do well here.

    7. Re:Why even ask? by jpkunst · · Score: 1

      FAQ: Styling using the lang attribute

      Very interesting! Thanks for the link.

      JP

    8. Re:Why even ask? by hereticmessiah · · Score: 1

      Yes, but LDP doesn't use HTML, it uses DocBook and produces HTML (or PDFs, or some other jiggery-pokery) output from that. The presentation is already divorced.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    9. Re:Why even ask? by arkanes · · Score: 1

      You're missing the point. The point is that if you want to apply different styling to a part of the document that the author didn't consider semantically seperate, you have to modify the document. Or, for a more likely example, say the author DID mark them up correctly, but you want to style some of them differently than others. Now you need to modify them so that they're part of the correct classes or have seperate IDs (or maybe you can play accessor games, but then if the content is reformatted you lose your styling...). It's possible to largely divorce the content and the presentation, but not (usually) to achieve a 100% seperation because presentation IS content in many cases. CSS Zen garden is an awesome site, but most of the CSS sheets available would break if you restructured the content in any real way. How "divorced" is that supposed to be? It's not tied to the content per se, but it's certainly tied to the structure of the content.

  20. Good idea by Feztaa · · Score: 4, Interesting

    There's nothing wrong with making the pages more visually appealing, just don't overdo it.

    I suppose if you provided a standard stylesheet that every document used, and each document author only had to worry about content and didn't have to bother with how it would look (since that's all handled with one good stylesheet forced on everybody), then it could work. Just don't, for the love of god, force each author to come up with their own stylesheet for everything. There should just be one standard one, and that should do it for everybody.

    1. Re:Good idea by nautical9 · · Score: 1
      I'd go a step further - have multiple "standard" stylesheets that authors should use, and leave the choice up to the browsing public. Modern web browsers support multiple alternate stylesheets (eg. Firefox, lower-left hand corner for pages with multiple stylesheets). And even if the unfortunate user is stuck with IE, the choice can still be availabe using some clever DHTML code.

      For a decent example, see BluesNews.com (Under the "customize" header, left-hand side).

      This way you can default to the fancy bells-and-whistles layout, but offer an alternate, plain-jane for those who prefer it (or really, as many different styles as you feel like maintaining).

    2. Re:Good idea by Brandybuck · · Score: 1

      For a decent example, see BluesNews.com

      Not using a "modern" browser, I don't see this in the lower left corner. But I do see an icon of a bug in the lower right corner, with tooltip that says "this webpage contains coding errors".

      --
      Don't blame me, I didn't vote for either of them!
    3. Re:Good idea by Feztaa · · Score: 1

      Sure, but just as long as the document authors are not the ones stuck maintaining the CSS :)

    4. Re:Good idea by Anonymous Coward · · Score: 0

      I suppose if you provided a standard stylesheet that every document used, and each document author only had to worry about content and didn't have to bother with how it would look (since that's all handled with one good stylesheet forced on everybody), then it could work.

      That's the current workflow. HOWTOs are authored in DocBook without worrying about the final presentation. Then the DocBook sources are converted to plaintext, HTML, PDF, etc automatically.

  21. Article title by spood · · Score: 1

    This article title reminds me of this poll. How many here actually deduced the content of the article correctly from the title?

    --
    ---- Just another spud server.
    1. Re:Article title by black+mariah · · Score: 1

      Ummm... me? And anyone else that's ever been to the LDP, I would assume.

      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
  22. Consistency, please by Rick+the+Red · · Score: 4, Insightful
    If LDP goes with CSS, it should be one CSS for all the documents. I'd hate to see each document author do their own (different) style sheet.

    Also, the full text should remain available in plain ASCII. Just my $0.02 worth. Thanks for asking!

    --
    If all this should have a reason, we would be the last to know.
    1. Re:Consistency, please by kisielk · · Score: 4, Interesting

      Why one CSS? Allow user to pick which stylesheet they want to view all documents with (as in CSS Zen Garden). As long as each document has the proper tags, it would be easy to make them all appear consistent under a stylesheet. This would also make it easy for distros to distribute their own custom distro-themed stylesheets for the documentation.

      It should be trivial to generate proper classes of tags from the source documents because LDP uses something similar to Docbook (or maybe they actually use Docbook now? They didn't quite last time I checked) so all the context information is already there.

    2. Re:Consistency, please by Rick+the+Red · · Score: 1

      I meant I want to see each document look the same; I don't want a different look (different CSS) for each document.

      --
      If all this should have a reason, we would be the last to know.
    3. Re:Consistency, please by notsoclever · · Score: 1
      Generating a plain text file from CSS-enriched HTML is easy.
      lynx -dump myfile.html
      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    4. Re:Consistency, please by Tin+Foil+Hat · · Score: 3, Insightful

      I think he meant not having the documentation authors be able to specify CSS files for their own documents. That's totally different than what you are suggesting, which is user-selectable alternate style sheets.

      Both are exellent ideas. However, in order to do this properly, the LDP would have to also create a style guide for their documentation authors so that they can check their HTMl against it.

      Perhaps having a group available to edit mark-up for the authors would also be a good idea. These people would be volunteers, and would not necessarily be among the same group as the authors. The downside to this is that it creates added overhead to the document submission process, which results in longer delays to publishing. That is not to say, however, that it should not be considered. Sufficient planning could overcome such obstacles rather easily.

      --
      No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
    5. Re:Consistency, please by Endive4Ever · · Score: 1

      Have you boxed up all your books and sent them to the bookbinder to be bound in a common binding of your choice, because 'you want each book to look the same'??

      Why should anything else be that way?

      --
      ---
    6. Re:Consistency, please by Grey+Ninja · · Score: 1

      That's the real beauty of CSS. I know that in Mozilla at least, if a coder takes the time to declare the style sheet properly, you can turn it completely off. In a completely CSS driven website, all you will see is the raw text.

    7. Re:Consistency, please by Rick+the+Red · · Score: 1

      My the books in any Encyclopedia all look the same (excepting the binders which, when all together on the shelf say "Worldbook"; but the content inside all has the same look and feel). All my books from O'Reilly pretty much look the same. As it is now, the documents at LDP all pretty much look the same, and I'd like it to stay that way, thank you very much.

      --
      If all this should have a reason, we would be the last to know.
    8. Re:Consistency, please by Tin+Foil+Hat · · Score: 4, Informative

      Perhaps I should have read the LDP website first. It appears that they insist that all documentation be submitted in XML or SGML DocBook formats. They even have a group of volunteers to help with that if the author is not able to provide DocBook.

      A quick perusal of CPAN revealed eight modules specifically for dealing with DocBook. No doubt other languages have similar libraries.

      Looks to me like more than half the work is already done. It shouldn't be a difficult matter to create a script to run the DocBook -> HTML+CSS conversions with predictable results.

      --
      No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
    9. Re:Consistency, please by ashkar · · Score: 1

      The key point here is keeping an ASCII version of each document available. The CSS versions might be nice, but would not replace the ability to dl and store documents for offline perusal. Keep this in mind.

    10. Re:Consistency, please by drinkypoo · · Score: 1

      Why stop there? Let the user write their own style sheet. They can easily be copied and pasted from a webpage, or (if you wanted) loaded from a URL - but allowing people to cause you to initiate an outgoing TCP connection seems like a Very Bad Idea(tm) to me, unless it's a pay service.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    11. Re:Consistency, please by hyperactive · · Score: 0

      One simple CSS for all documents would be good.

      This stylesheet:

      BODY{margin-left:8em; margin-right:8em}
      H1{text-align:center}

      does for most of my websites!

      These are mainly about metal-bashing plus some landscape pix - see, if you want,
      http://homepage.ntlworld.com/richard.smith.met/
      about which I have been complimented that the information is there and the site is uncluttered.

      With a simple stylesheet, in the case of it not being operative such as because the browser doesn't support them, the LDP's would look like they do now.

      I thoroughly agree with stylesheets because "content" and "its presentation" are rightly kept separate (the HTML doc. is the content and the CSS is its presentational instructions)

    12. Re:Consistency, please by drauh · · Score: 1

      Besides the esthetics of a variety of stylesheets, they can also add accessibility, say for the blind, easily. And the semantic tags will aid someone unsighted in deciphering part of the content.

      --
      This is a tautology.
    13. Re:Consistency, please by arthurs_sidekick · · Score: 1

      If the documentation's canonical form is XML or SGML, then it's really no big deal to specify a CSS stylesheet. The LDP could use one, and if it's properly done, there would be virtually no issue about customizing it for your needs.

      --
      "Oh, I hope he doesn't give us halyatchkies," said Heinrich.
    14. Re:Consistency, please by Anonymous Coward · · Score: 0

      This was going to be my point too ...
      OK, go ahead with CSS, just provide it in
      plain-vanilla ASCII too.

    15. Re:Consistency, please by Anonymous Coward · · Score: 0

      Though I'm sure you can make css-enriched HTML that is totally unreadable once the css is stripped.

    16. Re:Consistency, please by Anonymous Coward · · Score: 0

      Why can't you download, store and peruse offline the html+css versions?

  23. overriding pretty shows by slothman32 · · Score: 1

    Well the problem is the CSS author, you, might make a CSS scheme that doesn't work well for a particular user. Many web authors forget that the user should come first and force certain colors. Whatever you do allow the user to override anything you do even if they wan't to turn back underline links or something like that. I would say though that content is better. A pretty show with bad acting is worse than a non-effect show with terrific acting, IMHO of course.

    --
    Why don't you guys have friends or journals?
    1. Re:overriding pretty shows by notsoclever · · Score: 1
      And they can! In any decent browser which allows user CSS, just put in this simple rule:
      a[href] {text-decoration: underline !important;}
      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
  24. Uh? by wasabii · · Score: 1

    LDP should host Docbook documents.

    Style should not come into this, except as presentation on the web site. Making individual CSS files for each document is retarded. Making ONE style sheet, targetting the output of Docbook->HTML is what I would do.

  25. Ease of conversion. by sbaker · · Score: 1

    It seems to me that one should keep the actual documents as simple as possible in order to facilitate future conversions to other file formats or print media. If fancier presentation of that raw data is needed then that ought to be something that's automatically created.

    --
    www.sjbaker.org
  26. Ability to choose! by eingram · · Score: 2, Interesting

    I think you should create several different style sheets and give users the ability to choose which style they like the best or turn it off altogether.

  27. After reviewing the samples. by Morologous · · Score: 2, Insightful


    I'd have to say that I'm all for the CSS update. I was a little ambivalent at first, as I've never really payed any attention to the presentation of the documents before. But the simple, content oriented style in use in the examples makes the documentation all the more readable. And if the style makes it easier and more accessible for people, then I say go for it. The more people who read your documentation the better, in any case.

  28. Lack of CSS standardization by inphinity · · Score: 1, Insightful
    As I see it, there is a huge roadblock standing in the way of any organization using CSS at all, and that's a lack of standards.

    Although there exists a defined template for the behaviour and appearance of each CSS element in the specification, there does not exist a browser that is fully CSS compliant. In fact, of all of them, Microsoft is the worst.

    Now, the biggest argument here is that anybody using Linux will be using anything BUT MS products, but you're still not out of the woods yet. For, even between two browsers that are fairly good with CSS standardization, i.e. Apple's Safari and Mozilla's Firefox, you have not just suble behaviour differences, but also large gaps in the way each broswer handles such elements as left, right and relative positioning constants.

    If all browsers had at least (somewhat) decent CSS compatibility, then I'd say yes, absolutely use it, because CSS has the potential to really imporove the layout of any site with minimal effort.

    1. Re:Lack of CSS standardization by aftk2 · · Score: 1

      There is a difference between using CSS for text styling, kerning, background images, and styling lists, and using it for every facet of layout. While I've created a couple table-less websites that still display quite nicely in NS4 (albeit without styles), this is much harder than applying a few line-height, background, font and color attributes.

      You don't need floats or clears for this project. You don't even need to worry about the difference between IE's interpretation of width (width = box width, + padding, margin and border attributes) and the W3C definition (width = box width, and any padding, margin and border attributes are applied separately and in addition). All you need CSS for is to make it so that reading the documentation isn't such a godawful experience. Just choose a subtle background that's easy on the eyes, add some height between each line of text, use a font other than Times New Roman, and you're done (and I'm only half kidding.)

      --
      concrete5: a cms made for marketing, but strong enough for geeks.
    2. Re:Lack of CSS standardization by black+mariah · · Score: 0

      We're not talking about pixel-accurate scientific data here. It's headers and paragraphs with maybe some layout tables. It's not complex, and what rendering errors there are (if any) would be ENTIRELY ignorable. It's just a friggin' help file.

      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
    3. Re:Lack of CSS standardization by manual_overide · · Score: 4, Informative

      Lack of standards??? Have you ever heard of the W3C?! There is a standard. Learn it. Use it. Prof it. *chortle*

      Seriously. If CSS1 is used exclusivly, and linked to the pages using @import, there should be no problems at all

      --
      If bad puns were like deli meat, this would be the wurst
    4. Re:Lack of CSS standardization by inphinity · · Score: 1
      Whoa whoa whoa now....

      Let's not confuse 'lack of standards' with 'lack of standardization'. My entire argument was that, although there does exist a very well-defined standard, it's not fully implemented in any browser that I know of.

      The W3C is fine and dandy, and I appluad their efforts.

      As to you're last comment, I agree. Tha's exactly what's needed to make CSS a contender in the market for dynamic page markup. But, until that happens, along with an industry-wide implementation of true W3C standards, thorough adoption will never happen.

    5. Re:Lack of CSS standardization by Anonymous Coward · · Score: 0

      Let's not confuse 'lack of standards' with 'lack of standardization'.

      Yes, let's not. Your exact words were "a lack of standards".

      My entire argument was that, although there does exist a very well-defined standard, it's not fully implemented in any browser that I know of.

      So? The basic stuff, which is all the LDP needs, is supported quite nicely, there are virtually no problem areas in CSS 1 implementations these days - even Internet Explorer gets it almost all right, and the trouble areas are obscure parts of the spec that nobody uses anyway.

      Tha's exactly what's needed to make CSS a contender in the market for dynamic page markup. But, until that happens, along with an industry-wide implementation of true W3C standards, thorough adoption will never happen.

      WTF? We are talking about a single open-source project using a bit of CSS to present their pages a little better. What has "industry-wide implementation" and "thorough adoption" got to do with it, apart from giving you something to argue?

    6. Re:Lack of CSS standardization by Anonymous Coward · · Score: 0

      Although there exists a defined template for the behaviour and appearance of each CSS element in the specification

      There's no such thing as a CSS element. From context, I can't even work out what you are referring to, and I've been authoring CSS for years. Are you talking about properties? Rule sets? HTML elements? Those are my best guesses, but none of them make total sense in the context you use "CSS elements".

      For, even between two browsers that are fairly good with CSS standardization, i.e. Apple's Safari and Mozilla's Firefox, you have not just suble behaviour differences, but also large gaps in the way each broswer handles such elements as left, right and relative positioning constants.

      CSS has no notion of "constants". Please use normal terminology because I'm having a hard time figuring out what you are talking about. Or point to a bug report on Bugzilla, or provide an example website that has problems in this way.

      In any case, positioning isn't something that the LDP needs, and the basic stuff they do need is supported very well and very consistently amongst browsers.

    7. Re:Lack of CSS standardization by Anonymous Coward · · Score: 1, Informative

      Do not use @import for something like this. It diminishes the End User's ability to override the default stylesheet with their own. This is necessary for those of us with poor eye sight and colorblindness. Linked stylesheets can be switched, but @import styles are only removed when all CSS are removed.

  29. Non-devolper input needed by 1000101 · · Score: 1

    In my experience the only way to improve the presentation of a web site, document, etc. is to have a designer come up with a layout without the input from developers. After that, take what each group likes best and incorporate it into the project. Most developers I know aren't very good designers and when a bunch of them get together to improve the look and feel, what they usually get out of it is something different but not any more useful. Designers aren't always the best developers, but they tend to be very insightful on how things should "look and feel".

  30. Use XML by smiff · · Score: 1
    LDP should write documents in XML. Headings should be tagged as headings. Example command line instructions should be tagged as example command line instructions. A table of contents should be tagged as such.

    Then, to present the documents, LDP can automatically convert the documents into any beutified HTML format they want.

    Furthermore, XML could be used to help users jump over the explanations and get straight to the directions. XML could also come in handy when analyzing documents and looking for ways to improve LDP.

    1. Re:Use XML by Anonymous Coward · · Score: 0

      The FreeBSD project uses docbook. So it's easy to get the documentation into ps, pdf, text and html. A guide to create your own output formats would be useful too...

      AC

    2. Re:Use XML by Anonymous Coward · · Score: 0

      pssst... they do!

    3. Re:Use XML by Brandybuck · · Score: 1

      Already done! They're using DocBook XML. Of course, many of their docs are so out of date, that some are still in DocBook SGML, and I fear a few might still be LinuxDoc SGML!

      --
      Don't blame me, I didn't vote for either of them!
  31. CSS by Monkeyman334 · · Score: 1

    CSS is great. You don't need to have the people writing documentation to write CSS. You can store your documentation in XML, transform it to XHTML, and have someone, anyone, write a stylesheet for it. Something along these lines would be my favorite solution.

  32. Just for the sake of something new? by Fiz+Ocelot · · Score: 3, Interesting
    The site looks fine to me, it's very usable and I see no real problem with it. Sounds to me that some people may be bored and want to make it look different just for the sake of changing it.

    Unless they can make even easier to use, it seems like a waste of time to me. I could change the look of things on my end if I really needed to.

    1. Re:Just for the sake of something new? by black+mariah · · Score: 1

      It looks like ass, the layout is confusing, and the individual pages are horribly formatted. Who cares if they want it to be different just to be different? What's the point in staying the same all the time simply because that's the way it's always been?

      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
    2. Re:Just for the sake of something new? by Anonymous Coward · · Score: 0

      The individual pages are NOT horribly formatted, they are NOT formatted at all. That's what raw HTML looks like, in case you haven't seen it before.

    3. Re:Just for the sake of something new? by RaisinBread · · Score: 1

      CSS is more than just prettying things up:

      1) It separates presentation from business logic and document structure
      2) It allows your non l337 graphic designer friend to update your site without screwing things up
      3) It allows you to present your content a million and a half ways without having to write it up a million and a half ways.
      4) Centralizing your presentational information makes facelifts exponentially quicker than changing every freaking td bgcolor in every cell of every page.

      Besides, cutting the lard from your HTML gives your document a bit of a speed boost.

    4. Re:Just for the sake of something new? by black+mariah · · Score: 1

      The individual pages are NOT horribly formatted, they are NOT formatted at all

      Which is kind of the point. Plain HTML is ass ugly, end of story.

      --
      'Standards' in computing only impress those who are impressed by things like 'standards'.
  33. I vote yes by ChiralSoftware · · Score: 3, Informative
    If you're going to do any formatting at all, especially for the LDP, it should be in CSS. This is why:
    • All the main Linux browsers today support CSS.
    • CSS looks better than the old style of using nested tables and spacer graphics.
    • CSS is accessible. A CSS page looks ok on Lynx, whereas any other formatting system doesn't work on Lynx.
    • Users who don't like formatting or CSS can turn it off and still access the sites.
    • CSS formatted pages can be viewed on some wireless devices and can be transformed for all wireless devices. Ever need to look something up so you could get the computer on the net?
    • It's easy to do. Just create the CSS sheets and then put in the link at the beginning of the documents and it should mostly work.
    1. Re:I vote yes by Endive4Ever · · Score: 1

      All the main Linux browsers today support CSS.

      Some of us use different tools for different purposes. Sometimes it's nice to pull open a plain xterm and use Lynx to view HTML documents.

      Why should I be forced to open a big angry resource-pig-monster of a browser to read the documentation I might need to fix a machine that's at the moment incapable of opening a big angry browser.

      I'm afraid we've come to a point where people feel like they have a compelling need to make things more complex and resource-sapping than they need to be. Is it because we need to justify spending more money on more RAM or something??

      --
      ---
    2. Re:I vote yes by Anonymous Coward · · Score: 0

      That's the beauty of CSS. If you are using Lynx, you won't notice that it's there. A page with a CSS include is just a few bytes longer, so there is no resource issue at all. CSS is designed exactly the address the valid concerns which you raise. A CSS page looks great on a CSS browser, and it looks great on Lynx and there is no performance impact. The same cannot be said for pages which are laid out using the wonderful "nested tables" paradigm.

  34. Definitely by ripbruger · · Score: 2, Interesting

    I definitely think this CSS should be used as a formatting technique for the Linux documentation project. Since you can also apply to CSS to XML documents, why not just do that instead. Use the CSS to make it look pretty, and create separate style sheets for a GUI browser, and a text based, or allow a user to use their own (I have never seen this though).

    I guess the real advantage is that you can easily parse the XML and "port" the documentation to something else as well be it PostScript, PDF, or some other format that toggles your switch. In essence you're really solving 2 problems (if you consider for a moment there are 2 problems):
    1) you make it look nicely formatted and pretty :).
    2) the content is separated from the presentation, so if you want to switch formats later, it should be easy to parse it through with XML, and then set it up for some other document format programmatically.

    Just my two cents at least.

    --
    I can't spell ripburger
    1. Re:Definitely by JimDabell · · Score: 1

      Since you can also apply to CSS to XML documents, why not just do that instead.

      Because arbitrary XML documents don't have defined semantics that are understood by WWW software. XHTML does. How is Google supposed to know that you are talking about headings when you use <my-special-heading> elements instead of <h1> elements?

      Furthermore, it doesn't degrade gracefully - if the XML styling doesn't get applied, users are stuck with a very unfriendly tree view of the elements in the document, rather than an unstyled HTML document. You can get around this with server-side negotiation, but that would up the requirements for LDP mirrors substantially.

      I guess the real advantage is that you can easily parse the XML and "port" the documentation to something else as well be it PostScript, PDF, or some other format that toggles your switch.

      The LDP already do this. They author in DocBook and transform it into multiple formats right now.

  35. Perception is more important than reality. by steve+buttgereit · · Score: 5, Insightful

    I can't remember who said that long ago, but it is an important axiom.

    Many readers will tune out or find it even daunting to jump into a document that doesn't make an effort to present itself well. Even when the content is top notch, weak presentation will leave a poor first impressions placing the author on the defensive from the get-go. That's not to say good presentation will save a bad document... but every little bit helps!

    If using CSS makes the documentation look more professional, more organized, easier on the eyes, and more consistient in presentation I say go for it. Just don't fall into the mistake of overdoing it and continuously changing the presentation... then effort will be wasted.

    One final point: corporations (including Microsoft :-) ) pay lots of money to be sure documentation is clear and attractive. Without commenting on success, they do spend those dollars and make the effort for a reason.

    Cheers!

  36. HTML Sucks for Semantics by Anonymous Coward · · Score: 0

    HTML doesn't tell you anything more than this is a Paragraph, this is a List, this is a heading. Ironically, it's practically worthless for semantic purposes and much more useful as a very simple layout markup

    Presumably, the LDP is using some form of SGML or XML markup, which is where the real semantic information is.

  37. I vote no by Anonymous Coward · · Score: 1, Interesting

    Well, I went to that link for the poll, and all I saw was what I presume to be CSS source code. Mozilla didn't render it at all.

    This is why I'd vote against it. I need docs when things aren't working right, and when things aren't working right, I need something I can read with cat, less, and or vi.

  38. Linux documentation should be ugly by Anonymous Coward · · Score: 3, Funny

    Like the users. This user at least.

  39. Clear presentation and layout... by +SummitWolf · · Score: 1

    ...enhances communication. As does correct spelling, accurate proof-reading and grammar checking. All these have been noticeably lacking in some on-line documentation, open-source works not excepted. I favour the use of stylesheets as an aid to clear and consistent presentation of online documents.

  40. Not evreyone can contribute in the same way by Nikker · · Score: 1

    How about all the people out there that read Docs, have no intention to contribute because of diffrent reasons (poor grammar ;), just don't want to) but they are good and excell in taking existing content and making it look better.
    I think that anyone who would want to take on the job all the best to you!!

    It might even make more people intrested if it didn't look so intimidating (endless links, etc)
    Just a guess .......

    --
    A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
  41. What's more important? by Ridgelift · · Score: 1

    I understand that content is more important than the presentation, but it can't hurt to improve both.

    Techs are notoriously for slamming style over substance. To me it's like asking what's more important, breathing or eating? The answer is both.

    Yes, beautifully displayed text with bad content is junk, but a lot of people are more prone to believe pretty junk than ugly genius.

    First, make it right. Then make it look good. Then go back and make it more right. I used to be of the addage "if it ain't broke, don't fix it", but now I think "if it ain't broke, fix it again!" There's always room for improvement.

  42. Not like you have to "budget the money" by mi · · Score: 1

    I'm sure, there are people, who will only work on one of the aspects, because the other is not fun for them. So, just don't reject the cosmetic modifications and make sure, the "content providers" are not yelled at for breaking the form on occasion.

    Unlike a commercial project, which has to think on how to split the money, you can "afford" to have both.

    --
    In Soviet Washington the swamp drains you.
  43. Sandwich by mrnick · · Score: 2, Interesting

    Assuming they are using Apache then they could just use Apache::Sandwich to include the CSS tags.

    Nick Powers

    --

    Encryption: I may not agree with what you say, but I will defend your right to encrypt it...
  44. Presentation is Content! by hsmyers · · Score: 2, Interesting

    Only a geek would think these two are seperable.

    --hsm

    1. Re:Presentation is Content! by John+Starks · · Score: 2, Funny

      Only someone from marketing would think they're not.

    2. Re:Presentation is Content! by JimDabell · · Score: 1

      The instructions on how to write a CDRW are the same whether they are written in red text, blue text, on a slight slant, have a background image, or whatever. The instructions are the content. In cases like art projects, the line can get blurry, but when talking about things like HOWTOs, it's very clear cut.

      I'm not sure what "geeks" have to do with it. Any reasonably intelligent person can see that how content is presented to a user is a separate concept to the content itself.

    3. Re:Presentation is Content! by hsmyers · · Score: 1

      If that were true then of course dark gray on black would be just as effective as say black on white. Just because you trivialize presentation doesn't change the experience of last 500 or so years of typography and design.

      --hsm

    4. Re:Presentation is Content! by JimDabell · · Score: 1

      Read what you wrote. Read what I wrote. You have veered off on a tangent. You said that presentation is content. I disagreed.

      If that were true then of course dark gray on black would be just as effective as say black on white.

      At no point did I say that all forms of presentation are equally effective. I do not believe that they are. How did you arrive at that conclusion from me stating that presentation isn't content?

      Just because you trivialize presentation

      I did not trivialize presentation. I'm merely pointing out that it isn't content.

      Your English comprehension skills leave a lot to be desired.

  45. Isn't CSS broken? by Futurepower(R) · · Score: 1


    Last time I looked, which wasn't recently, CSS did not provide all the parameters necessary for page markup. For example, there was no way to change the spacing (leading) before paragraphs or after paragraphs.

    The people who designed CSS were not typesetting professionals.

    The result is that, if you use CSS, you must also use a proprietary scheme, also, to finish the job. But, implementing a proprietary scheme defeats the intended purpose of CSS.

    If CSS were designed well, it would be possible to use the same kind of markup system for both the web and print.

    1. Re:Isn't CSS broken? by Anonymous Coward · · Score: 0

      CSS can be used for the web and print, but certain browsers, like IE, are bad at it.

    2. Re:Isn't CSS broken? by Anonymous Coward · · Score: 0

      I don't know what spec you were reading (or smoking) but it's trivial to add a "margin-top: 1em;" to your P tags. Or the bottom. Or any other spacing you wish, in any combination by simply saying P.toomuchspace { margin-top; 2000em; }

    3. Re:Isn't CSS broken? by Pento · · Score: 2, Informative
      Last time I looked, which wasn't recently, CSS did not provide all the parameters necessary for page markup. For example, there was no way to change the spacing (leading) before paragraphs or after paragraphs.
      That has been supported since CSS1, (released in 1996), in the form of padding or margin properties of an paragraph element. Leading of individual lines within a paragraph is also supported, in the form of the line-height property, also in CSS1.
    4. Re:Isn't CSS broken? by Anonymous Coward · · Score: 0

      Nobody uses CSS for print. It lacks even basic page-oriented features like header/footer support.

    5. Re:Isn't CSS broken? by notsoclever · · Score: 1
      You must have not looked in a long time, because CSS has supported text-indent and margin since 1.0.
      P { text-indent: 3em; margin: 0ex; }
      This provides paragraphs with 3-emspace indents and no block formatting. For example.

      Also, CSS has always used typesetting units (pt, em, ex, etc.) for font-relative positioning and sizing (which is the best for layout control on the widest range of display devices), and CSS2 adds a bit of typesetting stuff as well (e.g. pagebreak control). CSS3 adds columns, though IMO columns don't work well on vertically-scrolling displays such as webbrowsers (though it'd be great for the printed version, obviously).

      IMO, CSS is designed very well for typesetting it's screen display which it's missing a lot of. (Like, there's basically no useful vertical sizing control, and its float mechanism leaves quite a bit to be desired.)

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    6. Re:Isn't CSS broken? by Anonymous Coward · · Score: 0

      You can define content like header and footers that'll only be shown when printing with CSS. Don't blame me if IE doesn't like it.

  46. Re:Here is what needs to be done by aftk2 · · Score: 5, Funny
    Best post ever. Let's check the scoreboard.
    • "professional" anything. +10 points
    • Advocates using "Lynx/Links", "Dillo", "Netpositive" and, my favorite, "Geckos" to test websites. +15 points
    • "CCS'ed" documents. +5 points
    • "also include the FONT SIZE, bgcolor and Bold or Italics tags." + 50 points. (apparently Slashdot subscribes to this ideology)
    • "use HTML markup for heavy layout stuff, because most of the browsers above won't be able to handle it." +1,000 points
    • As of my previewing, being scored at +3 insightful, +1,000,000 points
    I am very impressed.
    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  47. Any good CSS by Anonymous Coward · · Score: 0

    Also I forgot to mention this: If anyone is willing to write a good CSS for DocBook XML content and GNU Public License it, please feel free to post at @ Linux Document Project Blog . Thanks.

    http://validate.sf.net

  48. Concentrate on pretty PDF's. by Anonymous Coward · · Score: 0

    Keep text/html documents formatted for text and concentrate on better layout for the PDF versions... do more than just copy-n-paste the text in to a PDF editor and save, use PDF's strengths and reformat the documents for better presentation and printing.

    Another problem with CSS is that you can easily get carried away and format in such a way that it becomes impossible to read (in order) in text based browsers.

    'nuff said.

    1. Re:Concentrate on pretty PDF's. by notsoclever · · Score: 1

      In text-based browsers, CSS-formatted pages will usually display in the exact order which the elements were put into the page.

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    2. Re:Concentrate on pretty PDF's. by Anonymous Coward · · Score: 0

      Usually being the key word.

  49. misses the point. by Anonymous Coward · · Score: 4, Informative

    The question shows a profound mis-understanding of CSS.

    If anything, CSS reduces the effort on style in LDP, not increases.

    CSS would be just one line,

    <link href="ldpstyle.css" rel="stylesheet" type="text/css"/>

    Thats it. And that could be put in by php elsewhere. Heck, you could even exclude it alltogether and let people set their own style.

    the pages could then concentrate purely on content. Don't say font/i/b if its not needed, use pre/tt/em/strong tags. e.g content, not style (pre formatted, typewriter, emphasized, strong text).

    Don't use tables, if it isn't a table you are describing. use div's (and class=..., ok one more css usage, but not required).

    I can't tell you the number of times I have been annoyed when someone writing a webpage assumed style tags like font (+size, -size) should be used, it makes a blind assumption about the viewer of the page, their resolution, fonts available etc. Far better to use CSS, and avoid any style at all in your content, just use a separate, includable css page for the style.

    Far too many pages on the web use content related tags to do style (table) and style related tags to do content (b, i, font=courier). I for one would be thrilled to see CSS used in LDP to reduce this horror.

  50. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    What is this kind of trolling? Have you never seen a non-english speaking person in your life? (I am not british FYI)

  51. Re:Here is what needs to be done by black+mariah · · Score: 1

    This sounds very stupid until you have a problem that precludes X from running. A botched graphics card driver installation, for example. The CSS would definitely need to be done in a way that doesn't fuck up text mode browsing.

    --
    'Standards' in computing only impress those who are impressed by things like 'standards'.
  52. Sure but... by buddha42 · · Score: 1
    A consistant stylesheet in conjunction with consistant organization and markup is always the best way to present information on the web.

    However when it comes to the LDP i'm reminded of the phrase "You can't polish a turd." The LDP has glaring issues and faults it needs to address or at least figure out how it plans to address. Part of that can be a new format with CSS, but I don't care how well coded a 3 year old howto with downright sketchy advice is.

  53. Gentoo docs are a good example by urbieta · · Score: 5, Informative

    You can see in gentoo's website that they have a very nice consistency in their documentation, it really helps the human eye find what's needed among all data, so Im all for it

    you go ldp!

    1. Re:Gentoo docs are a good example by Publicus · · Score: 4, Interesting

      I agree. Gentoo's docs are good.

      As a webmaster, I'd love to see more major sites embrace CSS sitewide. Getting browsers up to date on the standard is long overdue. If people start visiting CNN, for example, and having problems, they'll be more likely to update their browsers.

      I'm still doing transitional, but the next iteration of my site will probably be in XHTML 1.0 strict -- if I can convince management to go that route.

      Non compliant browsers be damned!

      --

      My Karma was at 49, then they switched to words. All that work for nothing!

    2. Re:Gentoo docs are a good example by Anonymous Coward · · Score: 0

      Gentoo are a good example of using CSS to promote consistency, but a bad example for actual CSS use. Things like reducing the font size and using Verdana at the same time are big mistakes that harm readability.

    3. Re:Gentoo docs are a good example by Anonymous Coward · · Score: 0

      Isn't there a possibility to automagically convert XHTML+CSS files to plain HTML (for non-compliant browsers)?

    4. Re:Gentoo docs are a good example by JimDabell · · Score: 1

      CSS is designed to be backwards-compatible, so browsers that don't understand CSS still read the HTML. Of course, this assumes you have decent HTML to begin with.

      The only real trouble you have in this respect is with Netscape 4.x and similarly broken browsers that attempt to use CSS, but fail miserably. The usual method of dealing with them is to "hide" the CSS from them using @import (which they don't understand). Google for "CSS filters" or "CSS hiding" for more details. Having said that, the sort of styling likely to be used for HOWTOs is that simple that even Netscape 4.x could probably deal with it.

      XHTML is theoretically slightly incompatible with HTML, however practically-speaking, if you follow Appendix C of the XHTML 1.0 specification, you will not have any problems.

  54. Missing the point slightly... by Pento · · Score: 1

    There shouldn't actually be any formatting in the HTML. HTML (and XHTML, for that matter) are Markup Languages, not formatting languages. If you want to determine how the page looks, then yes, you should use CSS. This also makes it easier to transform the LDP into other formats, as it's simply a matter of changing the CSS file.

    Admittedly, this is something of a hardline view. I don't think it's a particularly unreasonable one, though. I'm currently re-writing Slashdot's old HTML to be XHTML/CSS. It's by no means an easy job, but I would argue that the potential gains (less bandwidth, easier to change styles, seperating formatting from content) are worth it.

    1. Re:Missing the point slightly... by jjohnson · · Score: 1

      Didn't someone already do this? And didn't the editors adopt it? As I recall, it was a nearly perfect updating.

      --
      Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
    2. Re:Missing the point slightly... by Pento · · Score: 1

      Do you mean the articles on A List Apart that did the front page? It wasn't particularly useful as more than a proof of concept, as it didn't take into account a) all the other areas of Slash, and b) that Slash is based on templates, so it's not just a matter removing the formatting from the HTML, and sticking it in a CSS file.

  55. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    Er, if you're going to use the HTML equivalents for everything, why bother with CSS to begin with? Isn't the whole point of using stylesheets to separate style/formatting from content? Doing it your way, they'd have to not only update the CSS, but also go through the HTML and change all of the bgcolor attributes of table cells to make it look consistent.

  56. Most linux users won't be using IE by Anonymous Coward · · Score: 1, Insightful

    They'll be using something with a pretty good CSS implementation like Mozilla.

  57. Printing: Another Advantage of CSS by TheViewFromTheGround · · Score: 5, Insightful

    I think it goes without saying that Linux folks should embrace CSS. It's sort of a no-brainer. That being said, another advantage is style-sheets for different media. In particular, LDP pages are likely to be printed (I printed one the other night for a Linux install where I didn't have a live Internet connection), and even with all the problems, a smart designer can make very nice print stylesheets that use serif fonts (not so good on screen, very good on paper from a readability standpoint), add banners that print on each page, etc. This assumes a well-structured document that the CSS is styling, but that's a big advantage.

    --
    Online citizen journalism from the inner city: The View From The Ground
  58. Adding Style and Orginization never hurts! by Anonymous Coward · · Score: 1

    Adding Style and Orginization never hurts!, I mean, why do you think that so many people believe that Linux is just for hackers and such. If we make our documentation a little more apealing and organized It can only help our image more. It sure can't hurt anyway! CSS is so simple to impliment and provides huge results!

  59. That was one of the most brutal Slashdottings by morelife · · Score: 1

    That was one of the most brutal Slashdottings I've yet seen. Web developer type too

  60. Docs should be semantically marked up anyways by count0 · · Score: 5, Insightful

    I think any CSS detractors are missing the point - docs should be marked up consistently, with H1, H2, etc. Particular semantic types (like author) could be added as styles for particular tags e.g. Adding CSS would be relatively simple on top of semantically structured docs.

    1. Re:Docs should be semantically marked up anyways by wheany · · Score: 5, Insightful

      I knew there had to be someone who had some sense left. This was the real point from the start. Assuming the documentation is already in html, if you can't just "drop in" some CSS to make it prettier, there is something wrong with the markup.

      And if that's the case, you need to fix the html first.

    2. Re:Docs should be semantically marked up anyways by ameoba · · Score: 1

      LDP docs are already written in DocBook (which is either SGML or XML), a format that has has considerably more information about the text than simple HTML. There are already a number of converters that translate Docbook to other formats, modifying the HTML converter to use CSS would be a fairly trivial undertaking.

      --
      my sig's at the bottom of the page.
    3. Re:Docs should be semantically marked up anyways by hereticmessiah · · Score: 1

      That, and the markup is done in DocBook, so why people would worry about the HTML produced, I don't know.

      --
      I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
    4. Re:Docs should be semantically marked up anyways by poot_rootbeer · · Score: 1

      Particular semantic types (like author) could be added as styles for particular tags e.g. <h2 class='author'>

      Or better yet, use the <address> tag which has existed from the early days of the web through to XHTML 1.0 Strict, specifically for the purpose of encapsulation information on a document's author.

  61. Re:Here is what needs to be done by xeaxes · · Score: 5, Informative
    The important thing to remember here is that the new CCS'ed documents should render well on older browsers. For example, if you use CSS to give a background color to the document or to a table cell, ALSO include the equivelant HTML tag. If you use CSS to give weight to text, also use the equivelant HTML tags (CSS always have precedence over tags). So for example, also include the FONT SIZE, bgcolor and Bold or Italics tags. Also, make sure you don't make make tables on CSS, use HTML markup for heavy layout stuff, because most of the browsers above won't be able to handle it.

    No, this is an incorrect view. CSS is about separating CONTENT and PRESENTATION. That means no font, bold, or italic tags. This is all done in the style sheet. Additionally, font tags, etc always take precidence over style sheets.

    By using proper XHTML (or HTML 4.0) and sticking to valid tags (heading tags, emphasis, lists) the page will automatically degrade nicely and be viewable in ALL BROWSERS. This includes lynx and other text only browsers.

    The browsers that support CSS will use it, and it will look prettier for them, and browsers that do not support it will still display the content perfectly even though fonts, etc could be wrong.

    Also note that by using CSS, the site will be easier to maintain. The removal of font, bold, italic, and underline tags will also make the site lighter and faster. Note that CSS is cached by the browser, so that file only has to be downloaded once.

    Please look at The CSS Vault and CSS Zen Garden as great examples and references. CSS Vault has page after page that justify the use of CSS and valid XHTML. Also notice that if the browser cannot use CSS, the site still renders all the content properly.

    An important additonal note: By using proper XHTML and CSS, the disabled will have access to the site in a much easier fashion due to the lack of tables being used for markup (tables only for data!), and the simpler code. This is for special screen reading browsers.

    --

    "BEHOLD, CORN!!" - Dr. Weird, ATHF

  62. Priorities ? by Prop · · Score: 2, Insightful

    There's nothing wrong with CSS in and of itself, but the because issue facing the LDP is NOT how they should handle presentation. It's the seriously outdated content in many HOWTOs and FAQs. If I had a say, that's where I'd "vote".

  63. IMHO... by ioexcptn · · Score: 3, Insightful

    CSS & LDP, PDQ!

    No, but really, it is always a good idea to make docs user-friendly, especially when the Linux community as a whole is trying to recruit the troves of Windows users out there. Anything to make user experience more friendly shouldnt be overlooked.

    Who among us here doesnt remember that first RFC that we gasped in confusion at? And the fact that it was entirely in Courier 10 didnt help ;)

    --

    Intelligence is like four wheel drive, having it just means you'll get stuck in more remote places.
  64. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    I know a mucho browsers that don't support XHTML in its whole. For example
    is not understood by many of these browsers or when you close some tags at the end as />.

  65. What's more important: by sailracer6 · · Score: 1

    I was looking around the LDP and noticed that a lot of the more major, less specific HOWTOs are getting fairly out of date, with some not having been updated since Kernel 2.2. They need contributors who know their stuff.

    Also, CSS is fine, so long as you can still get the docs in .txt format as well. And that is most important.

  66. Re:Great examples as to why they SHOULD NOT use CS by agurkan · · Score: 4, Informative

    this is flamebait, but i'll reply just for the record. MS IE is not CSS compliant despite what MS says. the designs in those pages look beautiful in my galeon window, and i lose no content.

    --
    ato
  67. That's the problem by hayden · · Score: 1
    If they start adding shit to support old browsers that don't understand CSS then you end up mixing presentation and content which is exactly what they're worried about.

    What they need to do is firstly draw a line in the sand. If it doesn't support CSS then it will look boring (or crap if the browser doesn't properly ignore the CSS). Catering for every release of every browser is why new standards take sooo long to become popular. Secondly define a set of styles that are then applied to the bits of the document (like they have).

    --
    Nerd: Derogatory term typically directed at anybody with a lower Slashdot ID than you.
  68. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    That was "br /" (slashdot rendered it instead of showing it as text, even if I used "Plain Old Text" when submitting the comment).

  69. Re:Great examples as to why they SHOULD NOT use CS by manual_overide · · Score: 1, Flamebait

    Please explain to me why in God's name you are using IE 5 on OS9, and then trying to give a convincing argument for CSS being bad when you are using a browser that has shit CSS support?

    Upgrade to atleast IE 5.5 for MacOS or get a real browser! I hear mozilla.org has a fine product available. FOR FREE EVEN!!! I know NOT paying for simple things like web browsers is hard for a hardcore Mac zealot like yourself to understand, but trust me, using a standards compliant browser which supports the new standard you are evaluating is a Good Thing (tm)

    --
    If bad puns were like deli meat, this would be the wurst
  70. Re:Great examples as to why they SHOULD NOT use CS by aftk2 · · Score: 3, Informative

    In all fairness, when it debuted, Internet Explorer for OS 9 was the most standards compliant browser on the web. It still does a pretty decent job. The trouble is that it's a dead browser, and will do an increasingly poor job at rendering the web, as web developers start using more advanced CSS techniques.

    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  71. ITS NOT APRIL FOOLS YET by Anonymous Coward · · Score: 1, Interesting
    Since, most Slashdot readers are Linux users
    most slashdotters read /. with IE.
    1. Re:ITS NOT APRIL FOOLS YET by OpenBoot+Troll · · Score: 0
      I'm so busy I only have time to read /. while I'm at work, where IExplore (Mac in my case, I'm the OpenBoot Troll after all) is all I've got.

      While I won't generalise further, surely many slashdotters do the same? no?

      --
      OpenBoot is a trademark of Sun Microsystems, Inc.
  72. Readability!!!! by moosesocks · · Score: 4, Insightful

    When I first used gentoo linux, I was most impressed by the quality of the documentation provided.

    And then I realized. It wasn't necessarily high qualty nor at the time did it contain better content than the guides for Debian and Red Hat. It was presented in a much cleaner format using CSS and a nice clean layout. Since then, the quality of the gentoo documentation has only improved.

    Compare this gentoo page with this TLDP page.

    See the difference? They both contain useful information. The TLDP documentation makes me feel like i'm reading a legal document. Blegh! The gentoo document is much less harsh on the user.

    This is scary, considering that gentoo is widely considered one of the most difficult of the linuxes to use, as it contains absolutely no installer. Thanks to the clear documentation, I actually perfer the gentoo installation process over fedora's, as it's easy (thanks to the documentation), and gives me a tremendous amount of control. I think this fact can only be capitalized by the fact that I use a mac 95% of the time as my desktop machine.

    Please... add some color. It helps. Lots of people are visual learners. It just so happens that most linux users aren't (Reading a monotonous 26-page manpage on ls of all things makes me want to gouge my eyes out)

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
    1. Re:Readability!!!! by Anonymous Coward · · Score: 1, Insightful

      I strongly agree with parent. Gentoo's docs make extensive use of colour, highlighting blocks, etc in order to improve readability and make important parts obvious. Reading and following them is very easy (just try having a browse through one of their guides, for example the ALSA one, to see what I mean). The importance of colour should never be underestimated in documentation, particularly documentation that can be considered dull and monotonous, as most of the linux howtos can. Sure, they arn't meant to be exciting reading but it is important to have easy readability rather than a huge chunk of plain black text when you're looking for important info.

      I also agree on prefering the gentoo installation process. :) I found it much easier than any other I've tried (redhat, mandrake and debian).

    2. Re:Readability!!!! by Endive4Ever · · Score: 1

      Well, to start with, the Gentoo page seems to have hard page width formatting so it spills off my screen, forcing the browser into scroller mode. And I have a big Mozilla window open on a 1280 width display.

      The LDP page cleanly wrapped the text and everything is there comfortably for me to read. I can even size down the browser window, in case, for example, I am actually trying to do something that the doc pertains to.

      No, the Gentoo page looks like crap compared to the TLDP page. And it has awkward brokenness that reduces it's usability. Your example fails pitifully.

      --
      ---
    3. Re:Readability!!!! by Grey+Haired+Luser · · Score: 1

      Interesting example, given that the TLDP project
      at least didn't force my browser window into
      horizontal scrolling!

      I'd say that Gentoo page
      is an example of how NOT to do CSS.

      I think CSS is like medicine; the first rule
      should be: "Above all else, do no harm".

    4. Re:Readability!!!! by omicronish · · Score: 1

      Gentoo also provides command-line tools that make use of colors. While this may seem like simple eye candy and nothing more, it is extremely helpful for Linux n00bs like me. Colors help point out important information such as error messages, and also separates sections of information. It also removes the intimidation of massive amounts of white text.

      However, this can be improved even further. What I would like to see is perhaps a standard library for Linux command-line programs that provides an interface for displaying common messages in a specific format. For example, error messages would have a format defined by the user, and instead of programs providing the error message formatting, the formatting library would take care of such details in addition to providing customization abilities.

    5. Re:Readability!!!! by BigFootApe · · Score: 1

      Table layout, dude. Bad mojo.

    6. Re:Readability!!!! by drinkypoo · · Score: 1

      This will also let you have one program that runs both in text and graphic mode. Instead of designing a window, you specify elements and some basic formatting, by which I mean an order. The system can change the order anyway, it's only a request after all - the same is true today. Your program asks for a file dialog, it has no idea what it's going to look like unless it's embedded in the program itself, which it usually isn't. So you can specify a list, and the user is supposed to be able to pick any number of them. A user on a dumb term (no cursor positioning) gets prompted like they ran xf86config, here are all the options and their numbers, enter as many as you like. A user using a glass terminal and with an ncurses library might get a list with a checkbox next to each option, like linux's menuconfig option. A user using a GUI will get a window drawn with their choice of widget set, and a list of options they can control-click (or whatever) to multi-select.

      Obviously gentoo has the right idea there too, take the init scripts (please) for example, they use "eerror" to send a message. This lives in the function library, which you could feel free to replace or augment if you wanted to cook up some fruity GUI boot screen for gentoo besides the fb console with the pretty background. Modular is the way to go. Hell maybe they have this now, my gentoo system has no display, and a serial console.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re:Readability!!!! by zsau · · Score: 1

      Pity someone never bothered to consider us poor people without 1280x1024 screens when designing that. I much rather much narrower runs of text. I like the LDP pages, because it means I can have my browser window as narrow as I want---and I want it narrower! Even if I make my window 800 pixels wide, I still have to horizontally scroll; maximised at 1024x768 still gives me a horizontal scrollbar, but at least I can read no problems.

      I think before you enhance readability, you should try making it readable. There is no excuse for horizontal scrollbars.

      --
      Look out!
    8. Re:Readability!!!! by MajroMax · · Score: 1
      Well, to start with, the Gentoo page seems to have hard page width formatting so it spills off my screen, forcing the browser into scroller mode. And I have a big Mozilla window open on a 1280 width display.

      The LDP page cleanly wrapped the text and everything is there comfortably for me to read. I can even size down the browser window, in case, for example, I am actually trying to do something that the doc pertains to.

      Not strictly true. The Gentoo page and LDP page have hard widths in exactly the same way.

      The Gentoo page will not shrink beyond the size of the longest code listing (on that page, 36), nor will the LDP page shrink beyond its longest blockquote (the ping). In both cases, this is to prevent wrapping on quoted text that, more often than not, needs linebreaks preserved.

      You notice the Gentoo width because that particular example comes from a fdisk session, and the Gentoo people included a couple long lines of comments (the red text).

      --
      "Evil company X is threatening to restrict our rights! Let's all get together to stop--OOOH! SHINEY!!!" -- AC
    9. Re:Readability!!!! by omicronish · · Score: 1

      Ah, that sounds like a very interesting idea. Perhaps a standardized XML content language can be defined, similar to HTML, that is "rendered" by an engine for a specific format. Output can be rendered as plain text for consoles, for example, and more sophisticated GUIs created when using a GUI.

      This would probably replace GUI toolkits with a HTML-like system; a hybrid approach such as one provided by Longhorn and XAML would probably be best. That way applications can use an HTML-like language and/or a traditional library for UI.

    10. Re:Readability!!!! by trewornan · · Score: 1

      It was presented in a much cleaner format using CSS and a nice clean layout Yes it's clean and the layouts is pretty good, but they're still abusing the tags for layout purposes: < table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td valign="top" height="125" bgcolor="#45347b"><table cellspacing="0" cellpadding="0" border="0" width="193"><tr><td class="logobg" valign="top" align="center" height="88"><a href="/"><img border="0" src="/images/gtop-s.jpg" alt="Gentoo Logo"> Tut tut.

    11. Re:Readability!!!! by MFA.at.DK · · Score: 1

      Actually Gentoo's docs is written in XML and parsed through XSLT Example of one of the XML files: http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gentoo-d k/docs/handbook/finish/hb-install-medium.xml?rev=1 .13&content-type=text/vnd.viewcvs-markup (The text is in danish, but you'll get the formatting at least) So even making tables and other stuff comes quite easily... And yes, I know... I have translated some of the files... And the overlaying CSS formatting done the the XSLT parsed files just add the the simplicity by adding easy reconizable color-formating... Morten Fangel

  73. Re:Great examples as to why they SHOULD NOT use CS by Pig+Hogger · · Score: 1
    Browsers: IE5 on MacOS9.22, IE 5.2 on OSX.
    Use a REAL browser (I won't say "on a REAL computer" - with OS-X, the rest of them finally got a real computer).
  74. Re:Great examples as to why they SHOULD NOT use CS by Anonymous Coward · · Score: 0

    Two years ago, Mac IE 5 was considered to have the best CSS support.

    I'm not saying you should bend over backwards to support Macs, but it does demonstrate that "Degrades Gracefully" bit about CSS is farse. See also Netscape 4.x.

  75. Re:Here is what needs to be done by TheViewFromTheGround · · Score: 5, Informative
    You won't believe it how many Linux/Unix users use Lynx and Links. So please, think of them.

    Ahem. This is completely silly. Well structured documents--a prerequisite for good CSS--degrade *better* in browsers like Lynx because the underlying tag structure reflects the logical document structure.

    The important thing to remember here is that the new CCS'ed documents should render well on older browsers. For example, if you use CSS to give a background color to the document or to a table cell, ALSO include the equivelant HTML tag.

    Why would anybody do that? Modern browsers like Firefox are actually zippier, even on older hardware, than Netscape 4.xyz. A designer should think about how to make the page degrade because many of the browsers you mentioned choke on some CSS. But there are lots of tricks for hiding the CSS from those browsers, and if you do, then the user still gets a nice, logically structured document.

    Anyway, CSS isn't all that hard to do right. I just did a site that looks really nice and polished and works in every browser (IE, Moz, Firefox, Safari, Camino, Konq, Opera, Lynx) on tons of platforms (Windows 98/ME/2000/XP, Linux, OS X, OS 9)...and it worked on the first try -- I didn't have to change a single thing (rsvp.uchicago.edu). I tested it on all possible combinations of those I could think of and it looked nice (and in the way I expected) on all of them.

    Finally, I can't imagine a situation, except using minimal HTML 4, which would be silly, because it'd practically be XHTML at that point, where it would be heavier that the XHTML/CSS equivalent. Even if the stylesheet is relatively large, say 300-400 lines (I'm pushing 500 on a site I'm working on), it typically downloads once and then gets cached, at which point all subsequent pages that use that stylesheet will only download the nicely structured document.

    --
    Online citizen journalism from the inner city: The View From The Ground
  76. Answered your own question? by PCM2 · · Score: 2, Insightful
    There are others who think we should not get involved the presentation layer, and mainly concentrate on the content.
    Um, isn't that what CSS is for?

    Seriously, what could the cons possibly be?

    --
    Breakfast served all day!
  77. Re:Great examples as to why they SHOULD NOT use CS by sweetooth · · Score: 2, Interesting

    Wait, these are examples of how powerful CSS can be. That sorta implies you need to use a non broken browser to view them properly. I totally agree that going bleeding edge for something important like documentation goes against the kiss principle, but you are making it sound like CSS is a bad thing. Really, the reason you can't view those pages correctly is you are using a browser that is known to render CSS poorly.

  78. Re:Great examples as to why they SHOULD NOT use CS by aftk2 · · Score: 3, Funny

    Man...I looked everywhere for Mac IE 5.5, but the internet ran out before I could find it.

    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  79. What a bloody good idea. by Anonymous Coward · · Score: 0

    What I wanna know is, will the Linux Documentation Project endorse the use of Flash, VRML, Javascript, and animated gifs?

    BSD rocks.

  80. Re:Here is what needs to be done by manual_overide · · Score: 1

    You sir, are teh win.

    --
    If bad puns were like deli meat, this would be the wurst
  81. CSS and LDP? by tomstdenis · · Score: 0, Offtopic

    Will the VP tell the VIP to move the TC to the JTC?

    ok I fail it. Mod me -1 please.

    --
    Someday, I'll have a real sig.
  82. Re:Here is what needs to be done by manual_overide · · Score: 2, Interesting

    You won't believe it how many Linux/Unix users use Lynx and Links. So please, think of them.

    I guess I'll bite...

    CSS is designed to breakdown gracefully on browsers that don't support it. Also, the use of @import will keep 4.0 browsers that don't support CSS from trying to figure out wtf to do with all that CSS code. Really, you are a professional web developer and you don't know that CSS doesn't break/slow down browsers?

    --
    If bad puns were like deli meat, this would be the wurst
  83. You know by Prince+Vegeta+SSJ4 · · Score: 2, Funny

    the slashdot crowd would rather have a site in all FLASH

  84. Re:Great examples as to why they SHOULD NOT use CS by Cameroon · · Score: 5, Insightful

    Gee, that's funny, I could read it perfectly fine in IE 5.2 on Mac OS 10.3. Wonder why that might be. Oh, yes, I turned off CSS in the browser.

    Normally I wouldn't post a reply to something like this, but the whole shitty, breakable design that is so much of the web is in large part due to supporting pathetically old and broken browsers and proprietary extensions. NS 4 anyone?

    Mac IE 5.2 did way better than previous Mac browsers with CSS but it is by no means some sort of quality benchmark. ON TOP OF WHICH, you could easily write CSS that does something to make a site look better, but is still simple enough for Mac IE 5.2. It's rather ridiculous to take a broken browser and say "look, I know it's borked but look, it doesn't render this site correctly". What makes this even better, is that the site is entirely usable because thankfully MS did include the ability to disable style sheets (or use your own) in Mac IE 5.2.

    There's no reason not to use CSS unless it means that someone who would otherwise have been writing documentation is now writing CSS. I believe it more than likely, however, that there are people who would be willing to work on the CSS but who would otherwise not be involved in the project.

  85. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    You may be a 'professional' web developer but you cannot be a very good one if you are recommending the use of appearance tags in HTML. Actually, I didn't know there was such a thing as a 'professional' web developer. I guess everyone wants to be a professional these days.

  86. Linux users... by Barkmullz · · Score: 1
    Since, most Slashdot readers are Linux users... [sic]
    Erhm...maybe not
    --
    Ronald said nothing. He flung himself from the room, flung himself upon his horse, and rode madly off in all directions.
    1. Re:Linux users... by AvengerXP · · Score: 1

      Maybe they run IE on a windows emulator (snicker)

      --
      Trolls dont like to be Flamebait, because they burn so well. Protect our Troll heritage!
  87. Don't use CSS. Use DocBook! by blitzrage · · Score: 0, Offtopic

    I have been using DocBook in a project recently, and I think it is a much better alternative to using CSS. If you write the documentation in DB, then you can export it to a PDF, HTML, or a number of other formats. (I'll plug the http://www.asteriskdocs.org project)

    --

    I have no signature
  88. Re:Here is what needs to be done by Anonymous Coward · · Score: 0
    I am a professional web developer, I worked for years...


    Note the past tense worked. Hopefully all the Teach-Yourself-HTML-in-21-Days clods who think like this, fully failing to grok the classical content, structure, presentation divisions, are now out of work...

  89. OPP for the LBC? by DroopyStonx · · Score: 1

    Yeah you know me!

    --
    We have secretly replaced these Slashdot mods' sense of humor with a rusty nail. Let's see if they notice!!
  90. Re:Here is what needs to be done by Hard_Code · · Score: 1

    CSS makes text mode browsing even BETTER because it removes presentation from content (well, much better than without CSS at least).

    --

    It's 10 PM. Do you know if you're un-American?
  91. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    I am a professional web developer, I worked for years in UK as a web designer/developer

    More like you are an unemployed web developer who hasn't worked in 3 years. Netscape 4 is dead, and so is your HTML knowledge.

  92. Content dammit! by Brandybuck · · Score: 4, Insightful

    There's more than one person working on LDP, so do whatever you're best suited at. If that's CSS, then put in some CSS. On the other hand, if you were the only person working on it I would skip the CSS and put in some friggin content!

    I'm a FreeBSD user who has to dabble in Linux from time to time. So every time I need some Linux info I go to LDP. What I generally find are horribly out of date HOWTO's and incomplete manpages. Quality content is lacking. For example, the XFree86-HOWTO was last updated September 2001. Maybe not a lot has changed since then, but considering the sparsity of information in this document, someone could have at least expanded a bit on several areas. Another example is ALSA. This was recently added to the 2.6 kernel, but the HOWTO was last updated November 1999!

    So go ahead and work on your CSS. But find out who's in charge of content, and give them a swift kick in the butt!

    p.s. Don't go too wild on the CSS. Make it use the standard DocBook-XSL produced HTML. For a good example see FreeBSD's stylesheet. It's not going to win any NEA grants, but it gives a consistant professional feel to all of the FreeBSD HTML docs.

    --
    Don't blame me, I didn't vote for either of them!
  93. To be quite frank - give me .txt by arcade · · Score: 3, Insightful

    I used to love Linux howtos and faq's. They were great - a charm to read, just like RFCs.

    Then they began to htmlize them, and I couldn't just less then any more. Which, quite frankly sucked.

    Then they began to come in "chapters" instead of one giant file. Which, quite frankly, sucked even more.

    I'm sure there's an option to get all the howtos and documentation in good old ascii out there _somewhere_, by the gods the LDP has made those more difficult to find.

    And not, this is not an attempt to troll. It's an honest frustration. You cannot search a html document which contain 20 different html-files (one for each chapter) like youc an search a single .txt file.

    --
    "Rune Kristian Viken" - http://www.nwo.no - arca
    1. Re:To be quite frank - give me .txt by JimDabell · · Score: 2, Informative

      I'm sure there's an option to get all the howtos and documentation in good old ascii out there _somewhere_, by the gods the LDP has made those more difficult to find.

      Come on. I went to the LDP website, and clicked on HOWTOs. I scrolled down, and there was the link to the plain text versions.

      I wouldn't describe one click away from the homepage to be "difficult to find".

  94. Do What Thou Will! by SoupIsGood+Food · · Score: 1

    This is the triumph and glory of open source: no-one can say what you should be doing. If you're really interested in Linux documentation, and really interested in content design and display and really interested in CSS and engines to format stuff in CSS, then shine on, you crazy diamond. Fork that bitch and add CSS to your heart's content.

    If your project turns out super keen, they might roll it back into the main project, and if they don't, hey... you've got that CSS itch scratched and you better believe some people will like the look and use your doc project instead of the main one.

    Go for it. Don't bother asking anyone's permission, just grab the code and go. Such is the power of OSS.

    SoupIsGood Food

  95. reduce data trafic and improve SEO by yopie · · Score: 2, Informative

    I think you should use CSS to separate content and presentation.

    One of advantage of CSS is reduce your HTML code size, therefore it reduce your traffic network as well. This is possible because, the CSS file is only loaded once to client and store in the computer and the browser will use the same CSS file to present the other HTML file.

    Other is, improve readability or your code for the search engine spider.

  96. CSS helps structure, too by Doc+Ruby · · Score: 3, Insightful

    The best use of CSS, other than offering an easy way out of spending time on formatting (in favor of time spent informing) is any consistent presentation of the documents. I want to learn LDP documentation structure once, so I can quickly look for author attribution, platform (version, distro, HW, etc) details, publication (relevance) date, and "related links" to projects, docs, presentations, discussions, etc. Using CSS will not only make that structure easier to produce and comply with, it will make it easier for me to read, and to discard inappropriate docs more quickly. It will also make indexing the docs for searching much more straightforward. Get right on that!

    --

    --
    make install -not war

    1. Re:CSS helps structure, too by Trejkaz · · Score: 1

      Wouldn't the fact that the documents are in a well-structured XML format make indexing pretty easy already?

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    2. Re:CSS helps structure, too by Doc+Ruby · · Score: 1

      Yeah, two sides of the same coin: split the document blobs or DocBook data into XML + CSS. CSS helps the structure, because once CSS is standardized, style is ignored without repercussions, as long as there's XML (or XHTML) for structure.

      --

      --
      make install -not war

  97. Re:Here is what needs to be done by larry+bagina · · Score: 1
    css generally degrades more gracefully than using tables, fonts, etc.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  98. IE works just fine by KalvinB · · Score: 2, Insightful

    I have the latest version of IE and those pages work just like they're supposed to.

    Whining that IE 5.0 doesn't fully support CSS is just braindead. It's an old browser. MS has been working on compliance and updating their browsers. If you insist on using a broken version when fixed versions are available, that's your issue. Not Microsoft's.

    IE 5.0 has been fixed to support lots of new things. And now it's called IE 6.0. What did the guy bitching about IE 5.0 seriously expect? That MS would make changes but keep the same version number?

    "MS IE is not CSS compliant"

    Which version? Apparently Mr 5.0 hasn't figured out that when MS puts out an update for IE it usually changes the version number. MS was obviously aware that 5.0 wasn't up to spec. So they patched it. The latest patch brings you up to 6.0. So if you're not keeping up with patches then you really have no place to bitch. They did obviously fix the problems. You just refuse to apply the patch(es).

    Ben

    1. Re:IE works just fine by mondaypickle · · Score: 1

      IE 6 still does not support the dotted border

    2. Re:IE works just fine by Anonymous Coward · · Score: 0

      or

      position: fixed;
      min-width/min-height on the correct elements
      max-width/max-height on the correct elements

      the > selector
      the + selector
      the [attr] selector
      the [attr="blah"] selector

      etc. etc. etc.

    3. Re:IE works just fine by RedSteve · · Score: 3, Informative

      Um...in fairness, the grandparent post was talking about IE5 for Mac. Seeing as how MS has abandoned IE for the Mac at that version...there isn't really any Microsoft alternative he can upgrade TO.

      And yes, even the most recent version of IE for windows STILL does not handle CSS fully or appropriately in all cases. To wit -- if it were, why would this project exist?

    4. Re:IE works just fine by nhavar · · Score: 0

      Yes it does.

      --
      "Do not be swept up in the momentum of mediocrity." - anon
    5. Re:IE works just fine by drinkypoo · · Score: 1

      If I visit this example I see text with a border made up of circular dots surrounding it. I am using the latest IE, though.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    6. Re:IE works just fine by Simon+Brooke · · Score: 1
      Whining that IE 5.0 doesn't fully support CSS is just braindead. It's an old browser. MS has been working on compliance and updating their browsers. If you insist on using a broken version when fixed versions are available, that's your issue. Not Microsoft's.

      Where can you get these 'compliant' versions of IE? I can remember seeing an IE 6 beta about two years ago which rendered my home page correctly, but the version of IE (6.0.2800 - on XP Professional) which came on the new laptop I bought a fortnight ago still can't. So - brand new Windows machines shipping this month still have broken browsers. Where are the fixed ones?

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    7. Re:IE works just fine by -deviance- · · Score: 1

      The latest patch brings you up to 6.0. So if you're not keeping up with patches then you really have no place to bitch

      but IE6 does not correctly interpret the css box model, perhaps the most fundamental aspect of visual formatting in css, unless the DOCTYPE is declared XHTML. it defaults to the same broken rendering IE5 suffers from if not.

      this is certainly enough for me to keep bitching.

      --
      http://www.jesuslovesamerika.co.uk
    8. Re:IE works just fine by schon · · Score: 1

      "MS IE is not CSS compliant"

      Which version?


      Version 6.0 (The latest.)

      MS was obviously aware that 5.0 wasn't up to spec. So they patched it.

      Yes, and it's still not up to spec.

      They did obviously fix the problems

      No, they obviously did not.

    9. Re:IE works just fine by N1KO · · Score: 1

      Should i tell people to stop using USB devices because MSDOS doesn't support them since MS abandoned it?

      Or how movies shouldn't be released on DVD since they don't work with Betamax players.

      Seriously, move onto Safari or Camino or whatever Mac people use to load html pages.

  99. Choice by TonyTheTiger · · Score: 1

    You could always give the user the choice to use stylesheets or not. It's not difficult to do. Seems like a natural solution given the target audience's fondness for choice.

  100. Colour theory by leandrod · · Score: 1

    The poster, in the mailing list, asked for resources on colour theory... my (artist) wife usually likes Hand Print very much.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
  101. Doh! [Re:Here is what needs to be done] by akoni · · Score: 1

    Congratulations! You have single handedly just killed the entire idea of using CSS to separate content from design. Good job.

    Writing CSS that degrades well is quite easy...and addictive once you start down the road of standards-compliant code.

    Here is what needs to be done... read every CSS article at http://alistapart.com/topics/css/

  102. Re: alistapart article by asdren · · Score: 1
  103. "Here. I've written this... by Endive4Ever · · Score: 1

    ...meta-whatever that the whole of everything else should be torn apart and redone to incorporate."

    No, that's not going to sail. Why do people think they're so important that they should even attempt such a thing?

    If you want to help, contribute documentation. Don't mince around attempting to lord over the people who do contribute documentation.

    --
    ---
  104. I vote no css by MxReb0 · · Score: 1

    While I like css and think it makes the best looking pages with neat code, I think the existing pages are in a wonderfully simple format. These pages need to exist in such a pure form so that people can save the html and do as they like with it (like make a book).
    The documentation is all layed out in a logical manner and no navigation tree on each page is needed.

    --

    MAKE YOUR TIME
    1. Re:I vote no css by Trejkaz · · Score: 1

      The difference between having no stylesheet and having a stylesheet which the browser can't access, is zero.

      If they used CSS, you could still save the HTML, and it would still look exactly the same.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    2. Re:I vote no css by Anonymous Coward · · Score: 0

      The difference between having no stylesheet and having a stylesheet which the browser can't access, is zero.

      Slight nitpick - if Netscape Navigator 4.x came across a page that referred to a non-existent stylesheet, it would display a 404 for the whole page, even though the document was available.

      Of course, that browser is useless in all sorts of different ways, and no other browser behaves like this. I'm just a pedant :)

  105. "purists" by Saeed+al-Sahaf · · Score: 1
    I understand that content is more important than the presentation, but...

    Content is not mor important than content if the user experience is so bad that people flee from it. I don't use LDP because I can find the same information on the net by Googleing with out being insulted by "purists" who surf the net in Lynx.

    My vote is for CSS.

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  106. some of both by josepha48 · · Score: 2, Interesting

    What I have found to work well is the use of a little css. You can use css to set font size and font family, and href attributes, but I still use tables for layout. I find they scale easier when dealing with internationalization and forms where you want label / input in columns. I try to avoid nexted tables. Doing this makes the pages still viewable in old browsers, or limited browsers, but also makes it a nicer experience in newer browsers. People still use lynx, and links and neither has support for css. They both kinds just strip it all down.

    --

    Only 'flamers' flame!
    Does slashdot hate my posts?

    1. Re:some of both by handslikesnakes · · Score: 1

      How does a page done with a table look any better than a page done with CSS in lynx?

    2. Re:some of both by Anonymous Coward · · Score: 0

      You can use css to set font size and font family, and href attributes

      Huh? You can't use CSS to set href attributes. That's HTML's job.

      I still use tables for layout.

      The LDP doesn't need anything special in the way of layout, tables vs CSS are unimportant in this case.

      Doing this makes the pages still viewable in old browsers, or limited browsers, but also makes it a nicer experience in newer browsers.

      CSS also works in this way. If your CSS pages don't work in non-CSS browsers, they you have screwed up badly when writing your HTML.

      People still use lynx, and links and neither has support for css.

      Lynx doesn't have support for tables either. It's a concept known as "graceful degradation", look into it. Just because a particular feature doesn't work with a particular browser, it doesn't mean that anything is going wrong.

      PS: Lynx does support CSS to a limited degree.

    3. Re:some of both by -deviance- · · Score: 1
      Doing this makes the pages still viewable in old browsers, or limited browsers, but also makes it a nicer experience in newer browsers

      and also adds markup cruft which can both add to the size of the downloaded page and to the complexity of the markup.
      <table border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td>
      content
      <td>
      <tr>
      <table>
      vs
      <div id="box">
      content
      </div>
      html tables were designed to present tabular data, not for creating page layouts.
      --
      http://www.jesuslovesamerika.co.uk
  107. W3C Core Styles by driptray · · Score: 5, Interesting

    Sure, use CSS! But if you're short of time/expertise, don't reinvent the wheel! Use the W3C Core Styles.

    And if none of those style sheets quite tickles your fancy, you can use one as a base to modify.

    1. Re:W3C Core Styles by Anonymous Coward · · Score: 0

      Excellent advice. At least by using CSS you just have to make a change in 1 place to update the look for the whole site.

  108. They speak truth by Hecatonchires · · Score: 1

    I wasn't aware it was 'Tell it like it is friday', but I'm all for extending the day.

    --

    Yay me!

  109. Re:Here is what needs to be done by Anonymous Coward · · Score: 0
    • Being modded down after that wicked burn: Priceless
    -- paper
  110. my honest opinion by Anonymous Coward · · Score: 2, Insightful

    This isn't intended as a flame or a troll, though it may be seen that way.

    First of all, the one language that's going to really move Linux documentation forward isn't CSS. It isn't docbook, and it isn't XML or XSLT or texinfo or anything like that. It's English. Let's face it: lots of Linux documentation is poorly written. It doesn't just break grammar and style rules; it's intelluctually muddy, unclear, imprecise, and just hard to understand.

    Honestly, if the Linux documentation people don't focus on promoting a good, clear expository writing style as their first priority -- which it obviously is not -- then I don't care if they hire a team of 1,000 super-talented typesetters and graphic artists to dress it up. Linux is a good operating system, and it has some good technology in it, but if I were writing a little summary of Linux, I'd put documentation under "minuses" and not "pluses".

    (Which is not to say all other operating systems are better. Windows documentation seems to have a consistent style, but part of that style is dumbing things down enough that most of the useful information is removed.)

    1. Re:my honest opinion by Anonymous Coward · · Score: 0

      if the Linux documentation people don't focus on promoting a good, clear expository writing style as their first priority -- which it obviously is not -- then I don't care if they hire a team of 1,000 super-talented typesetters and graphic artists to dress it up

      This is a single person volunteering to write a stylesheet, not a project-wide shift from writing documentation to playing with presentation. Your criticism is mere hyperbole.

    2. Re:my honest opinion by emmajane · · Score: 1
      Honestly, if the Linux documentation people don't focus on promoting a good, clear expository writing style as their first priority -- which it obviously is not -- then I don't care if they hire a team of 1,000 super-talented typesetters and graphic artists to dress it up. Linux is a good operating system, and it has some good technology in it, but if I were writing a little summary of Linux, I'd put documentation under "minuses" and not "pluses".
      I would encourage everyone who feels this way to take a look at the guidelines for submission. Although they haven't always been strictly enforced, they are definitely being enforced now.

      http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/index .html

      Although all new documents fall under this review process, we are still working on sorting our way "backwards" in time through the collection as well. There are hundreds of documents and this will take a while.

      If you find any documents that were submitted in the last 6 months-1 year that are not up to par, please forward the URL to the LDP discuss list, and the editing team. We know about the old documents, we're getting to them. (List subscription information available at: http://lists.tldp.org/)

      --
      Emma Hogbin, TLDP Technical Reviewer
  111. Re:Great examples as to why they SHOULD NOT use CS by jrexilius · · Score: 4, Informative

    I would say that that was the design of that site, not something fundamentally wrong with CSS.

    A light, simple, standards-compliant CSS sheet can render well in 98% of the browsers and add quite a bit to readability.

    I am surprised there is this much debate around such a simple thing. CSS can save bandwidth and development time and add quite a bit to user experience. Yes, use it.

  112. Other Deeper problems Re:Gentoo docs aregood by aaron_pet · · Score: 1

    Gentoo suffers from having too much documentation, that is not atomized.

    yes the style sheets work, but a framework to have broken down websites,

    something that I'm calling factodendrons
    (brokn and tree)
    stored into a database could allow reuse of data, and instant reformability of the web page..

    see the bug: http://bugs.gentoo.org/show_bug.cgi?id=42823

    42823 enh P2 All NEW Separate architecture-specific instructions dynamically

    --
    Please use [ informative / summarizing ] SUBJECT LINES
    Flame me here
  113. good content + good layout... by biounlogical · · Score: 2, Interesting

    equals all around goodness.
    Seriously though, good presentation is paramount to any communication. In the case of the web, using CSS is a good way to present your information.
    If you want your information to be read/seen/heard, present it well, target your audience. This being said, theres no point in making something look pretty if the content is non-existent. You have to have the substance or else you're wasting people's time
    The only thing better than something that works well is something that works well and looks good. With CSS, if users don't like the way you've presented things at least they have the option of changing it to some degree.

  114. Who uses IE for the mac anyway? by autopr0n · · Score: 1

    IEs CSS on PC works extreemly well.

    --
    autopr0n is like, down and stuff.
    1. Re:Who uses IE for the mac anyway? by Negatyfus · · Score: 1

      I don't know the numbers, but wasn't there a time when people said things like: "But who uses Mozilla, anyway?"

    2. Re:Who uses IE for the mac anyway? by Darren+Winsper · · Score: 1

      Actually, it doesn't. Hell, just check out www.winsper.org.uk. It renders fine in Opera, Mozilla, Konqueror (For the most part), yet IE screws it up something royal, even after trying to work around the bugs with an IE-specific stylesheet.

    3. Re:Who uses IE for the mac anyway? by I+confirm+I'm+not+a · · Score: 2, Insightful

      I'll second that, and add that in many cases CSS-based sites only work on IE because the developers jumped through hoops to make it so. There are numerous IE-specific hacks to stop IE from choking on CSS, even CSS1. Not that long ago /. looked at IE7, a style-sheet that brings IE6 upto an acceptable level of CSS compliancy. Hacks like this should not be necessary - it's not like MS are ignorant of standards that have, in some cases, been around since 1997.

      --
      This is where the serious fun begins.
    4. Re:Who uses IE for the mac anyway? by aminorex · · Score: 1

      Really? Try installing Win 98 SE.

      --
      -I like my women like I like my tea: green-
    5. Re:Who uses IE for the mac anyway? by Anonymous Coward · · Score: 0

      Win 98 doesn't work for shit anyway. Why on earth would anyone install it at this point?

  115. Re:Great examples as to why they SHOULD NOT use CS by Ralph+Spoilsport · · Score: 1
    Oh, I completely agree- IE is a roiling POS, but that doens't mean that it isn't a useful browser, and given the stranglehold the Redmond bastards have, it is also a DOMINATING browser (unfortunately).

    Therefore, even though it sucks, it has to be reckoned with and worked around.

    Safari is also a very good browser, but one of the pages came up all crap in that as well.

    My point remains: Never do something complicated, when something simple will do.

    Also, here's an example as to why this would matter:

    My G3 has IE5. Navigator SUCKS on this machine (I've tried - several times), so I use IE on it. I'm trying to coax Linux along on a *true* POS (A Compaq Presario - one of the Radio Shack specials from a few years ago - I'm not adverse to all challenges...) and frankly, the Linux install isn't going well. I must often resort to cruising the web on my G3 in IE.

    So, I go to a website to get info on Linux, and it blows up in my browser, preventing me from getting the Linux box working?

    We. Don't. Think. So.

    Yet another reason to Not Even Bother. (But yea - I shall trudge on, even as the cards are stacked agin' me.)

    So, no, I'm not flaming him at all, I'm simply using the most common browser on the most common non-Linux, non-MS OS.

    RS

    --
    Shoes for Industry. Shoes for the Dead.
  116. content content content by bcrowell · · Score: 1
    Great content with no special formatting would be great. Lousy content with great formatting would be lousy.

    LDP has some great content. However, a lot of LDP content is very out of date, and therefore not very useful.

    A couple of examples where great content overrides lack of fancy formatting: Google and Wikipedia.

    This is not to say LDP shouldn't use CSS. I just don't think it's as big an issue as content.

    1. Re:content content content by Trejkaz · · Score: 1

      Good example, Google and Wikipedia both use CSS, they just use it sparingly.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
  117. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    except for the broken CSS shit I've seen ...?

  118. Absolutely by mla_anderson · · Score: 3, Interesting

    CSS is the way to go. It makes it much easier to maintain pages, it means the document authors don't have to be the style managers, and it means less to download. With care CSS can be used to make pages that look very nice in a graphical browser and still function well in lynx.

    Another advantage is the ability to have styles based on media. Display ads (if necessary) on the viewed pages but hide them on the printed (saves paper and ink/toner).

    I use CSS so that I don't have a lot of formatting to get around when I want to update my web pages, or to make the programming easier.

    <p align="center"><font size="4">My big centered paragraph</font></p> is amuch messier than <p class="parcent">My big centered paragraph</p>

    --
    Sig is on vacation
    1. Re:Absolutely by poot_rootbeer · · Score: 1


      Poor example of semantic style markup. Your class "parcent" is little more than a slightly shorter and cleaner notation for "center aligned, font size 4".

      Ask yourself: WHY is this paragraph centered and in large text. Is it a chapter title? A drop quote? Use class names like "chaptertitle" or "dropquote" instead.

  119. Serious. by _Sprocket_ · · Score: 4, Funny


    "Most Slashdot readers are Linux users" - seriously?


    Damn. You've found us out. I suppose we might as well all come clean.

    The truth is - we're staunch Microsoft Windows fans. In fact, many of us work within various business units involved in Microsoft's marketing. We really don't dislike Microsoft. And we certainly don't use Linux.

    Except for one guy. See - there is, in fact, one Linux user in the world. We created this environment just to screw with his mind. I'd tell you who he is (we all know)... but that would ruin the fun. Part of the game is to sign up, discover the "true believer", and then become part of the conspiracy.

    Without giving it all away. But hey - its over now. Been fun while it lasted. My only regret is that there aren't really many other candidates to play with. I'm affraid we've been a little too efficient while "on the job." I suppose there's always those two BeOS guys.

    I know this sounds pretty far-fetched. Heck - just think of the man-hours and funds we've had to float to pull this off. All I've got to say is two things:

    1) Expense account.

    2) What's the use of millions in liquid assets if one can't have a bit of fun with it?
    1. Re:Serious. by Anonymous Coward · · Score: 0

      some of us slashdot readers are actually microsoft employees :-)

  120. Re:Here is what needs to be done by Endive4Ever · · Score: 1
    No, this is an incorrect view. CSS is about separating CONTENT and PRESENTATION. That means no font, bold, or italic tags.


    I am not at all a CSS expert, but it sounds to me like what's being proposed is the stripping out of any marking and formatting that can be and is useful when viewed with a browser, say lynx, that doesn't support CSS.

    So what you're proposing is sort of a No CSS support? Then NO SOUP FOR YOU! scenario.

    You can claim that it doesn't impact non-CSS browsers all you like. If it renders invisible all the special markup when viewed on said browser, it most assuredly does impact them.
    --
    ---
  121. Re:Here is what needs to be done by Endive4Ever · · Score: 1

    If an important word in a sentence is bolded with plain markup tags, it will appear bold, or underlined, in a non-CSS browser. If you consider it 'graceful breakdown' for the bolding to disappear entirely, I don't know what you'd consider 'un-graceful.'

    --
    ---
  122. Re:Here is what needs to be done by Anonymous Coward · · Score: 0

    Hrm. You're misunderstanding. Semantic markup means put your headers in h1 ... h5 tags and put your paragraphs in p and your lists in ol or ul or dl and your quotes in blockquote or q. Then the browser will render it boringly but readably if it has no CSS. If it has CSS then it can be rendered beautifully.

    Non-CSS browsers then end up missing out on pretty, but not content.

  123. Re:Great examples as to why they SHOULD NOT use CS by Short+Circuit · · Score: 2, Informative

    Of course, you could force IE to support CSS for your site...

  124. Open Office? by Tracer_Bullet82 · · Score: 1

    I dont know much about programming.
    But I'd love a CSS style implementation for open office.

    --


    Timang tinggi tinggi
    parang sudah asah
    alang alang mandi
    biar sampai basah
  125. We don't need no stinkin' CSS. by rice_burners_suck · · Score: 1
    Dude. I don't care what the formatting looks like. Others may disagree.

    In fact, I'd rather have everything laid out in the simplest possible format. It gives documents that "nostalgic" feel that newer, fancy, glossy presentations using CSS don't quite have anymore. You know, that 1990's feel that web pages) had. It also makes it possible to print things out and have them look reasonable, where formatting them in some fancy shmancy way might screw up that aspect of the formatting.

    Finally, the RTFMs aren't supposed to look fancy... Otherwise, they might be called RTMs, and that might be confused with RPMs. I can just see a whole slew of n00bie questions like: Linux is the suxx0rz because RTM isn't compatible with RPM!!!!!!!!11111

    Nooooo.... We have enough problems answering people's questions about how to get X working in ten terminals at the same time, and how to make something bold in vi. (Speaking of vi, emacs sucks.)

    1. Re:We don't need no stinkin' CSS. by Trejkaz · · Score: 1

      So you're saying no font prints better than Times New Roman? Because I've seen many fonts which do. And nobody ever said you had to put crap around the edge of the page for it to be CSS! You could have nothing but a single rule which specifies the font to be something more readable, and will get instant benefits.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    2. Re:We don't need no stinkin' CSS. by handslikesnakes · · Score: 1

      But that's the thing about CSS - it IS the simplest possible format.
      You can specify different styles for when you print something out so that it looks more reasonable.
      CSS presentation can be as glossy or as simple as you like, and you can switch between the two very simply - far more than with nasty <font> tags and such.

  126. Doesn't matter to me either way by X-Nc · · Score: 3, Insightful

    I have nothing against presentation so if a decent css (and the one the original author did isn't bad at all) is used I would not be against it. I am more concerned with the information/content/data than the presentation of same, though. Keep it simple. Keep it clean. As long as those two criteria are met then I don't really care.

    --
    --
    If I actually could spell I'd have spelled it right in the first place.
  127. Re:Great examples as to why they SHOULD NOT use CS by Trejkaz · · Score: 1

    Those all sound more like good examples as to why nobody should ever use IE5.

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  128. Re:Great examples as to why they SHOULD NOT use CS by Trejkaz · · Score: 1

    Just a thought, but maybe these browsers didn't follow the guidelines which tell you what to do when things aren't recognised? If that was the case the fault lies on Microsoft, not W3C.

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  129. Re:Here is what needs to be done by handslikesnakes · · Score: 1

    If an important word in a sentence is bolded properly with plain markup tags, the author will have used <strong> or <b> and browsers without stylesheets will see it bold regardless.

  130. readable printable LDP - how shocking by realkiwi · · Score: 2, Interesting

    This community should have been using CSS for years. Supporting W3C standards is very important.

    CSS will make LDP more readable, for the moment I have to modify my browser windo to get the columns of text to the correct width. I also have to modify font size.

    Two operations that would be made redundant by a good CSS.

    A print style sheet would make printed output easier to read too.

    --
    realkiwi
    1. Re:readable printable LDP - how shocking by JimDabell · · Score: 1

      CSS will make LDP more readable, for the moment I have to modify my browser windo to get the columns of text to the correct width. I also have to modify font size.

      The current HOWTOs don't modify the font size at all. They use what you have configured in your browser to be the default font size. If you don't like that size, change the settings in your browser and you will get what you want across all websites that use your default font size.

      Please don't suggest that the LDP should start messing with the font size for the normal text. Plenty of people are happy with the font size they have configured their browser to use, messing with it is just going to get on peoples nerves, and reducing it may make the documentation much less readable.

    2. Re:readable printable LDP - how shocking by realkiwi · · Score: 1

      Thats what CSS does... It sets font sizes so that I don't have to spend my time in the text size menu. It doesn't touch the browser setting at all. Maybe you could read up on CSS a little?

      I am sugesting that LDP use a style sheet, better yet several style sheets so that each user sees what he wants to see.

      --
      realkiwi
    3. Re:readable printable LDP - how shocking by JimDabell · · Score: 1

      Maybe you could read up on CSS a little?

      I can assure you that I am very familiar with CSS. You just seem to have missed my point.

      Right now, when you read a HOWTO in HTML format, it uses your font size. The font size you are in control of, that can be configured in your browser.

      When authors start messing with the font size with CSS, say trying to set it to 10pt Verdana, they screw around with what people have chosen as their ideal font size. When reducing font size or setting it to an absolute value, an author may make documents unreadable for many people unless those people know enough to specifically override the author's CSS.

      I am sugesting that LDP use a style sheet, better yet several style sheets so that each user sees what he wants to see.

      Great, so instead of actually using what the user wants automatically, the site uses font sizes that the author wants and the user has to mess around with site-specific controls to fix it. That's poor usability and a regression from the current behaviour.

    4. Re:readable printable LDP - how shocking by realkiwi · · Score: 1
      I get your point but in general I don't think that sizing down
      <h1>
      in the html version of howtos is going to hurt anyone...

      Most important, if you are into ergonomics, is getting decent text column width instead of full window width.

      Check the font size buttons on mezzoblue. Poor usablity?
      --
      realkiwi
    5. Re:readable printable LDP - how shocking by JimDabell · · Score: 1

      I agree that adjusting headings isn't an issue, I'm talking about the normal text/overall setting.

      As for Mezzoblue, yes, it's poor usability. When a website can use the right font size automatically and chooses to set it to something else with the option of setting it back manually, yes, that's poor usability.

      In terms of the actual mechanism used, the buttons are completely unintuitive - a capital 'A' does not indicate to me that it will increase the font size. Given the target audience, it's less of an issue, but if that mechanism was used on a mainstream site, it would go unused by virtually everyone, regardless of whether or not people would prefer a larger font size.

  131. Re:Don't use CSS. Use DocBook! by Trejkaz · · Score: 3, Informative

    They already write it in DocBook, dumb-dumb. ;-)

    The question which is being asked, is when you convert it to HTML, should it be plain old boring HTML, or should it use CSS? IMO it should use CSS since the stylesheet for converting DocBook to HTML would be simpler.

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  132. MOD THIS SUCKER UP!!!!!! by Mmm+coffee · · Score: 1

    Ever look at w3c's standards? They go through incredible lengths for visually disabled people. Not everyone can read the screen that you are looking at right this very second as well as you are.

    The internet is a great encyclopedia of knowledge? For only the seeing? I think not!

    The standards are there not only so that every (*program) can use it. They are also there for those that can not see/hear a computer program as well as you or I. If you are like me then spend a week using your computer *without your glasses*.

    This is the parent poster. This is why he/she deserves a +5. Just take off your glasses.

    Mod up, mothafugger! CSS makdes the web pretty for people who can see perfectly while retaining the friendlyness to us "blind as a bat without our glasses" types.

  133. Actually that would be good. by Trejkaz · · Score: 1

    And, you wouldn't even need Slashdot to initiate an outgoing connection to get the custom stylesheet. You would only need all the pages to output the appropriate href in the link element, which could easily be to a different site.

    In this fashion I could easily make a stylesheet which looks exactly like the company intranet, and those suckers who look at my screen would think I'm hard at work.

    Of course why do this all on the server? Firefox lets you select the stylesheet on the client side. If it just put in the ability to select stylesheets other than those choices specified in the page, it could do exactly what we are talking about, without Slashdot having to do anything but use CSS.

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  134. My main concern is... by fyngyrz · · Score: 3, Insightful
    The worst sites for me are sites where I can't change the text size, and also sites where the width of the page has been predefined, even if I can change the text size. I stretch the browser window wide, and the stupid page locks at 640 or 800 pixels wide - at that time, I'd like to smack the page designer right upside the head.

    Basic HTML pages don't seem to ever lock down text size (I'm not sure they even can - does anyone know?) and letting the page reach the width that the browser window is set to is a simple act of omission - just don't put a pixel width in any outer-level tables (assuming there are any tables), use percentages instead.

    The very worst offending pages I run into all seem to be CSS-based; so while it certainly flexible, it is also a means by which pages can be made almost unusable. One of the reasons I prefer Mozilla Firefox is the ability to size text even on "locked" CSS pages (though I wish it could natively size images as well.) MS IE isn't nearly as friendly about this, though you can kind of hack it to work with the "Accessibility" settings. No big deal, I formatted my last XP system into a Linux machine a few weeks ago. :) But I still have to use IE at work, sometimes. The Windows Firefox isn't quite as clean. But I digress.

    As you can probably tell, I'm a member of the crowd that thinks the user should always control the entire end presentation, and never, ever should the web site do so. The only thing that annoys me more than locked-format web pages are PDF pages, which are not only completely locked, they're overweight and massively sluggish compared to HTML - I have zero use for them.

    So, as long as the CSS isn't used to enforce text size and/or width rules, I'm all for it.

    But if either one of those capabilities goes away, for any reason, honestly, I'll probably stop visiting the site. My eyes are getting older a good deal faster than the rest of me is.

    My .02

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:My main concern is... by radja · · Score: 1

      >though I wish it could natively size images as well.

      if what you mean is resizing an image to fit the window... firefox does that :)

      if you mean something else.. well.. I don't know.

      --

      No one can understand the truth until he drinks of coffee's frothy goodness.
      --Sheikh Abd-Al-Kadir, 1587
    2. Re:My main concern is... by fyngyrz · · Score: 1
      I'll explain. Let's say I arrive at a web page, and there is an image on the left that takes up 50% of the page width. On the right is text. I'd like to drag the browser twice as wide, select "magnify x2" and have both the text, and the image, double in size so that the presentation is formatted the same, 50% for each element, same text wrapping and relative size to the image, but the page appears larger in all aspects.

      I think Opera does this, or used to. Something I used for a while did, at any rate. But whatever it was, it had some pretty severe warts in other areas that kept biting me, and I quit using it. I do think it was probably Opera, running under Win98se.

      It'd be even nicer if there was a magnify mode that let you drag the browser and let the magnify settings track your dragging. It'd need some kind of "pushpin" reference to let you say "I want this width to be the 1.0 reference width", and then you could drag. I really think that would be a comfortable viewing mechanism for me, and probably for anyone else with eyesight limitations.

      --
      I've fallen off your lawn, and I can't get up.
  135. Why should I use CSS? by webbuilder · · Score: 1
    You are so right, it does make sense and I can think of no good reason not to use it. CSS allows developers to:
    • Separate presentation from content
    • Maintain stylistic consistency throughout the site
    • Make the pages more lightweight and faster loading
    • Simplify future design modification
    • Meet accessibility guidelines
    • Follow current web standards while allowing for 'graceful degradation' in older browsers
    More information, as well as why of each of the above matters can be found here.

    Others have mentioned it, but I'd also highly recommend alistapart and Jeffrey Zeldman's Designing with Web Standards.
  136. my opinion by Anonymous Coward · · Score: 0

    leave the content as-is. if you've really got a hard-on for CSS, add it to future docs, but leave the existing ones alone.

  137. Re:Great examples as to why they SHOULD NOT use CS by Anonymous Coward · · Score: 0

    It doesn't matter who's fault it is -- Software is buggy, and CSS does not degrade. BTW, you see some of the same kinds of issues with old versions of Mozilla.

  138. CSS sucks by RKBA · · Score: 1
    CSS sucks because it makes it difficult to change the font size in my browser screen. In order to change the font size on a CSS formatted page, I have to change by browser preferences to override the web page settings - which is not something I necessarily want to do for all web sites. If you want to handle layout then use Postscript or PDF.

    1. Re:CSS sucks by elemental23 · · Score: 1

      It sounds like it's your browser that sucks then. Using Ctrl-(+|-), my browser can scale the font size up and down regardless of how the document sets the size.

      I suspect you're experiencing the IE bug where fonts styled with CSS to specific px or pt sizes cannot be resized. I recommend either switching to a more standards-compliant browser or sending a bug report to Microsoft.

      --
      I like my women like my coffee... pale and bitter.
    2. Re:CSS sucks by RKBA · · Score: 1

      By jove you're right! Mozilla Firebird resizes text on CSS styled pages just fine - I stand corrected. Thanks for the tip (I normally use Internet Explorer 6.0 BTW, which is the one that exhibits this bug). Yet another reason to switch browsers I guess.

  139. Of course! But it may not help a ton-Cocoon by Anonymous Coward · · Score: 0

    That's why I use cocoon to do the presentation. The backend can be however it wants to be, and the front can look nice. Cocoon also makes it easy to unify diverse sources, and deal with the large variety of browsers.

  140. Apache Cocoon by Alkonaut · · Score: 2, Interesting

    Using anything other than apache cocoon for this project is ridiculous.

    Of course all the documents are/should be stored as DocBook, then the presentation layer can be handled automatically by cocoon. You could have a zillion options for output, for example:

    • pure xml
    • html without css
    • html with css
    • xhtml
    • wml
    • pdf
    • ps
    • svg
    • flash

    It amazes me that people always assume that what is a "feature" for one person will always break something for another...

    1. Re:Apache Cocoon by JimDabell · · Score: 1

      Using anything other than apache cocoon for this project is ridiculous.

      Blanket statements like that are ridiculous. Did you ever consider, since the LDP documents are widely mirrored and included in Linux distributions, that relying on server-side smarts is not such a good idea?

      Their content is already written in DocBook and available in multiple formats. What benefit does Cocoon bring that isn't already achieved with the existing framework? Why should the documents be rendered dynamically rather than every time they are updated?

    2. Re:Apache Cocoon by Alkonaut · · Score: 1

      No I had no Idea that the documents were mirrored. Cocoon is of course suited for the *LDP website*.

      Why should the documents be rendered dynamically rather than every time they are updated?

      Thats the whole point of separation of content and presentation, that you shouldn't have to worry about "rebuilding" or otherwise updating a presentation layer because you change the data.

      That said, cocoon could also be used to rebuild static output using all of the desired formats, in one go, whenever the xml data is updated.

    3. Re:Apache Cocoon by JimDabell · · Score: 1

      Thats the whole point of separation of content and presentation, that you shouldn't have to worry about "rebuilding" or otherwise updating a presentation layer because you change the data.

      No, that's not the point. With Cocoon, the output documents are still "rebuilt", it just happens at a different point in the authoring->reading journey. Given that the formats have to be generated upon update anyway, the need for something like Cocoon is mitigated.

      That said, cocoon could also be used to rebuild static output using all of the desired formats, in one go, whenever the xml data is updated.

      Well they already have a mechanism in place to do that, although last time I checked, I think it was an overnight cron job that pulled the documents out of CVS and generated the output formats.

      It's been a while since I've checked it out, can Cocoon pull stuff out of CVS and build tarballs that contain all the HOWTOs at once?

    4. Re:Apache Cocoon by Alkonaut · · Score: 1
      These days it contains everything and the kitchen sink. If it doesn't contain exactly what you're looking for, it's pretty easy to write a new generator.

      Offline, you could use cocoon in a cron job to build presentation trees of various kinds, for exampe every night take the docbook tree, and build several output trees (e.g. ps, html, pdf). Making a tarball of these trees would just be the next step of the cronjob.

  141. Re:Great examples as to why they SHOULD NOT use CS by OpenBoot+Troll · · Score: 0
    Why bother installing Linux on some piece of shitintel when you've got a perfectly good Macintosh G3? You do know linux isn't limited just to shite platforms, but also run's on computers as well, right?

    You could dual-boot your lovely G3 into either MacOS or Linux, whatever you want, unless, of course, you need MacOS booted all the time. In which case you should just buy another Mac.

    --
    OpenBoot is a trademark of Sun Microsystems, Inc.
  142. You know-Flash fire. by Anonymous Coward · · Score: 0

    Don't make us hurt you.

  143. CSS isolating the formatting information... by mnemonic_ · · Score: 0, Redundant

    Allows for changing the look of thousands of pages accessing the same style sheet by editing a single file...

  144. Re:Great examples as to why they SHOULD NOT use CS by Anonymous Coward · · Score: 0

    What is your malfunction? Eventough IE doesn't support other than the few most common CSS selector types and its box model depends on doctype declaration, it still is able to render the majority of style properties correctly.

    SO, if the designer concentrates on creating the user interface instead of using all the different features of CSS for sake of the features themselves she might actually succeed on making usable, desirable and functional user interface.

    Just my 0.02e.

  145. Howto' s in Docbook can give you txt by Henk+Poley · · Score: 1

    Docbook has several conversion frontends, including plain text.

  146. Re:Great examples as to why they SHOULD NOT use CS by Redundant+offtopic+t · · Score: 1

    I think man_over mistyped. 5.2.3 is the most recent version for the Mac OS (X, anyway) I believe. 5.1.7 is the latest for OS9.

  147. Don't use DocBook! by Animats · · Score: 1

    Don't use DocBook. That's a dead end. It continues the pernicious tradition that UNIX documentation doesn't have pictures.

    1. Re:Don't use DocBook! by blitzrage · · Score: 1

      You can insert pictures doing the following:

      http://www.ibiblio.org/godoy/sgml/docbook/howto/ in serting-pictures.html

      --

      I have no signature
    2. Re:Don't use DocBook! by KevinDumpsCore · · Score: 1

      Here is a DocBook generated HTML page with a picture: http://kevindumpscore.com/docs/csound-manual/adsr. html.

  148. CSS does NOT always degrade gracefully with HTML by Skapare · · Score: 1

    CSS does NOT always degrade gracefully with HTML ... depending on how well the web developers handle it. If absolutely NO HTML presentation is specified at all, then the site does degrade. Whether that can be called graceful or not is a matter of opinion.

    But once a site starts using even the slightest bit of presentation specification in HTML, then things get bad very quickly. For example if a background color is specified in a table cell, it might be in conflict with the default color used for say hyperlinks by the browser. So if the background color is specified, so must every affected font color.

    Here is an example of a site, and how it looks in an older browser, where the developers claim they are using "web standards" to make a site, and it degrades horribly. Actually, I would call this site absolute crap. When I communicated with them about it, they simply claimed that it "meets federal accessibility standards". Technically, they are not actually doing web standards correctly. But the point is, there are too many webmasters who are idiots and can never get it right, so I have my doubts about promoting this concept.

    --
    now we need to go OSS in diesel cars
  149. good idea by Sivaram_Velauthapill · · Score: 1

    Can't see the samples on the website (it seems to be overloaded or something)...

    I support making it easier for users to access information. Using CSS will be a definite benefit to Linux help pages. Right now, the TLD docs are very basic (almost like a one big essay with no pictures, weak headings, etc.) If CSS can be used to make it easier to retrieve information, I would welcome it.

    Sivaram Velauthapillai

    --
    Sivaram Velauthapillai
    Seeking the meaning of life... @slashdot of all places ;)
  150. Use as alternate style sheet if necessary by zonix · · Score: 2, Insightful

    The markup used for the LDP files is quite straigtforward and luckily stripped of any bloat like font tags and like, and as such I'm sympathetic to the idea of not getting involved with the presentation layer.

    For most pages (ie. like /.) using CSS will greatly increase page load times when all the presentational deprecated markup is shed in favor of CSS. Much of the redundancy is gone after this treatment.

    However, this is not the case with the LDP files as they are already stripped of any presentational information (*). Though, this is also an advantage in this case, as the markup then lends itself quite nicely to being used with CSS. It would still for the most part be for the eye-candy purposes (which is okay), and therefore my recommendation would be to provide the style sheets as alternate style sheets. People can choose one of the different looks if more style sheets are available, or by default stick to the tried and true look.

    (*) However, when we already have this clear separation of content and presentation, it would still be possible for the doc writers to do their job like they're used to without worrying about presentation. And if I'm not mistaken, the documentation source is in docbook format - here they're not worrying about presentational stuff anyway. YMMV, of course.

    z
    --
    What would an EWOULDBLOCK block, if an EWOULDBLOCK could block would? -- me
    1. Re:Use as alternate style sheet if necessary by Anonymous Coward · · Score: 0

      For most pages (ie. like /.) using CSS will greatly increase page load times when all the presentational deprecated markup is shed in favor of CSS.

      You mean greatly decrease page load times, surely? CSS speeds things up, it doesn't slow things down.

    2. Re:Use as alternate style sheet if necessary by zonix · · Score: 1
      You mean greatly decrease page load times, surely?

      Ah, yes of course ... my bad! I guess I meant performance with regards to page load times in this context? Anyway, thanks for clearing this up. :-)

      z
      --
      What would an EWOULDBLOCK block, if an EWOULDBLOCK could block would? -- me
  151. Each page will have a different style sheet by Animats · · Score: 2, Insightful
    There are a number of good reasons not to use style sheets. First, they introduce a dependence on directory structure. If we start seeing links like "../../../x11/styles" in documentation, something has gone wrong.

    Second, getting different people to use the same style sheet on an open source project is tough. And if everybody has different style sheets, there's no point.

    Third, unless everybody edits HTML with the same WYSIWYG editor, nobody will be able to use a WYSIWYG editor on the HTML. (Has anyone written an open-source Dreamweaver replacement yet?)

    1. Re:Each page will have a different style sheet by Anonymous Coward · · Score: 0

      Getting different people to use the same style sheet on an open source project is tough. And if everybody has different style sheets, there's no point.

      They introduce a dependence on directory structure.

      Paw had made it smell again.

      It was putrid, a hot cloud of horrible sulphur diarrhea-smell, worse than you can imagine.

      Paw stood proudly, his thumbs latched under the straps of his overalls.

      "Paw," I said, after some time, "show me again how you gave Mama her babies." I pulled off my tubetop. "Let's go out behind the shitpile."

    2. Re:Each page will have a different style sheet by JimDabell · · Score: 1

      they introduce a dependence on directory structure.

      No they don't. You can refer to stylesheets using URIs that are relative to the root of the website and with absolute URIs just the same as with images, Javascript files, and any other type of link.

      Second, getting different people to use the same style sheet on an open source project is tough.

      Perhaps. At the moment they all agree on the current presentation. Nothing's stopping incremental changes, like moving to serif/sans-serif, etc.

      Third, unless everybody edits HTML with the same WYSIWYG editor, nobody will be able to use a WYSIWYG editor on the HTML.

      This is a non-issue. Nobody edits the HTML at all. The LDP uses DocBook as its source format. And "WYSIWYG" is stupid on the web, since renderings can differ, will differ, and should differ in many cases.

      (Has anyone written an open-source Dreamweaver replacement yet?)

      Quanta has a Visual Page Layout mode.

  152. Re:CSS does NOT always degrade gracefully with HTM by Anonymous Coward · · Score: 0

    CSS, properly used, can and will degrade gracefully. Just take a look at the Css Zen Garden for example. The fault is not the technology but the fact that there are way too many clueless people running around calling themselves "webdesigners", when all they can is creating a template in Frontpage and make it look pretty.

  153. Why do you remain anonymous? by skamp · · Score: 1

    We know who you are, Eugenia...

  154. Re:Here is what needs to be done by buckminster · · Score: 1

    Let me guess, you've given up professional web design and you're now teaching web design at Bizzarro U. where everything is exactly the opposite of the real world.

    Seriously, it sounds like you've been out of touch for a while. You might want to get in touch with the current state of the art. Start at CSSZenGarden.com (feel free to use Lynx if you like, it will only prove how wrong your assumptions are).

  155. Re:Here is what needs to be done by wfberg · · Score: 1
    I am not at all a CSS expert, but it sounds to me like what's being proposed is the stripping out of any marking and formatting that can be and is useful when viewed with a browser, say lynx, that doesn't support CSS.


    So, lynx supports bold and italic? Hmm, not on my terminal.. However, it will highlight (in my case, in purple) text between I or B tags.. As well as text between EM and STRONG tags. But EM (emphasis) and STRONG are semantic markups. Emphasized text doesn't have to be italic, and STRONG text doesn't have to be bold. It may as well be purple. Which is what my lynx does.

    Shunning I and B just serves as a reminder to that (though you could in theory also override the italics and bold font properties of those tags using CSS if you in fact DO want purple text to show on your gee-whizz graphical browser; it just doesn't make sense semantically anymore).

    Pray tell how lynx renders FONT FACE="Arial" though..
    --
    SCO employee? Check out the bounty
  156. Some of the Gentoo page is UNREADABLE by Skapare · · Score: 1

    Some of the Gentoo page is UNREADABLE. That is because it is attempting (well, succeeding) to change the background color in a table cell without changing the foreground color at the same time. The headings in the tables is where this problem is. Th background is dark blue and the foreground is black. What kind of silliness is that? This is NOT correct graceful degrading; it's screwed up. Of course the fix is easy ... put the necessary font color setting in there. So why are they not doing it? Or do they just not care about older browsers and the people that have damned good reasons to use them.

    So in the end, TLDP is more readable to many people.

    --
    now we need to go OSS in diesel cars
  157. No ... not same widths by Skapare · · Score: 1

    The gentoo page spills for me, too. The TLDP page does not. That can't possibly be the same. Just because it might render the same for you doesn't mean it has to for everyone. But if it renders differently even for just a few, then there is at least something different that TLDP did better than gentoo.

    --
    now we need to go OSS in diesel cars
  158. Yes and no by hardcode57 · · Score: 1

    It's important that the presentation layer be kept separate, and that the unformatted documents remain available, otherwise the tastes of the formatters will be imposed upon the reader. It would make sense if the LDP hosted at least one, but maybe more, formatting projects, but that these remain separated from the content production process.

  159. Well heres a real bike shed argument by Anonymous Coward · · Score: 0

    Subject says it all

  160. Errm, isn't the nature of CSS the answer to this? by Qbertino · · Score: 1

    Set up / define standard tag attributes and ask everybody involved to use them from now on. It should be more than 20 or 30 css classes. Keep the classes empty. Then let the designers lose on the styles.
    Don't, I repeat: DON'T waste a single second on CSS design. There are people who can to that better than any OSS admin. Trust me on that one.

    I personally think it would be cool to have a set of styles to switch. Imagine LDP docs fitting your desktop theme. Which would be no problem if I had a set of classes I knew I could trust to be applied allready.:-)

    Bottom line:
    If you use CSS as it is intended, this will be no problem whatsoever. I actually don't quite understand why you're asking the question anyway.

    --
    We suffer more in our imagination than in reality. - Seneca
  161. Why Not XML/XLST? by Anonymous Coward · · Score: 0

    After that, Paw made it smell again.

    It was putrid, a hot cloud of horrible sulphur diarrhea-smell, worse than you can imagine.

    Paw stood proudly, his thumbs latched under the straps of his overalls.

    "Paw," I said, after some time, "I think it's time you made me another baby." I pulled off my tubetop. "Let's go out behind the shitpile."

  162. Re:Here is what needs to be done by Shimbo · · Score: 1

    I am not at all a CSS expert, but it sounds to me like what's being proposed is the stripping out of any marking and formatting that can be and is useful when viewed with a browser, say lynx, that doesn't support CSS.

    No, you haven't got it. The idea is to make the formatting flow naturally from the structure. Take one simple example: suppose in your document you have no headings and instead you have just dropped in in a FONT tag to make them large and bold. If you have a text mode browser that, for example, underlines headings, it won't be able to do anything sensible with the FONT tag. If there were a proper heading there with the CSS saying large and bold, the text mode browser could just ignore it and do its underlining thing.

    Sure, you can write junk HTML by littering the document with <SPAN STYLE="whatever">. That's horrible, and not what CSS is supposed to be about.

  163. CSS for TLDP by ManikSurtani · · Score: 1

    I think applying CSS would be a good thing. Perhaps even have a number of different stylesheets available, that a user could pick - one for on screen reading, one for print, etc etc. Naturally, other transformations of the original docbook sources (to PDFs for example) should be made available on the TLDP site ...

    --
    -- Manik Surtani
  164. CSS Doesn't Make Your Site Look Better by bcilfone · · Score: 1

    Stylesheets don't make your site look better any more than buying an expensive camera makes you take better pictures.

    As much as the geek in me would like to think that appearance is something you just slap on after the fact, the truth is that creating a simple visually pleasant and easy to use interface is a very complicated thing. You wouldn't trust a designer to write C, but you trust a developer to build a user interface?

    The problem with the LDP site is not that it doesn't use stylesheets. The problems are that it uses a horrid color scheme, bad fonts, and cryptic navigation. Sure, with stylesheets I could reconfigure my browser or make my own user stylesheet, but why make me the user go through so much trouble just to have something that looks even mildly professional?

  165. If it ain't broke... by blaksaga · · Score: 0

    don't fix it. ;)

  166. Make it easier to contibute content first by iamacat · · Score: 1

    Although I only learned about it from other comments for this article, it seams LDP only takes documents in DocBook format, which is some kind of SGML/XML thingy that you have to specifically learn and that is not supported by commonly used word processors like OpenOffice and (gasp) Word.

    Let's say I develop a worthwhile Linux project and even write comprehensive, readable documentation - as a text file created in XEmacs. Would you a) ask me to learn some weird language with a lot of angular brackets and not include my stuff at all if I don't have time, motivation or ability, b) ask other people to convert my doc and re-convert every time I do a minor fix to it or c) develop tools that make the most of the format that I provided?

    I think the answer is obvious. Look at how many non-technical people are using google or search.msn.com and manage to find exactly what they are looking for. Develop similar tools for Linux documentation that try to select and present the information the user wants based on hieristics, language-aware semantic analysis and so on. Then, give developers a system of simple-to-use hints that work with text, OpenOffice, manpages, info pages, HTML - any format in wide use.

    Otherwise LDP will end up as a perfectly formatted, but incomplete or out-of-date set of documents. I think we all would rather read manpages.

    1. Re:Make it easier to contibute content first by emmajane · · Score: 1
      Although I only learned about it from other comments for this article, it seams LDP only takes documents in DocBook format, which is some kind of SGML/XML thingy that you have to specifically learn and that is not supported by commonly used word processors like OpenOffice and (gasp) Word.
      This is totally and utterly false! (Others have already said so, but I say it again.)

      Please read about the submission process. In particular, note #3 which says:
      You may choose whatever format you feel most comfortable in.
      http://www.tldp.org/LDP/LDP-Author-Guide/html/proc ess.html

      Also: DocBook *IS* supported in OpenOffice. More on this page about the different programs that support DocBook. http://www.tldp.org/LDP/LDP-Author-Guide/html/tool s-edit.html

      --
      Emma Jane Hogbin, TLDP Reviewer
  167. 508/WAI/DDA/SENDA by MrBandersnatch · · Score: 1

    While everyone here seems to be debating presentation vs content the reason *I* have been hassling my company to start making heavy use of CSS is to comply with legislation to make our sites more accessible!!

    Having had them switch to XHTML-1 transitional (heheh cant wait to drop strict on them) and attempting to ENFORCE validation, CSS is the ONLY way to retain a high level of presentational impact while still meeting our legal requirements.

    Basically if you do ANY web development work professionally and you dont use or plan on using CSS then expect to find yourself working less and less as your clients get sued because of how incompetently you ply your trade.

  168. "Content is more important than..." by greppling · · Score: 1
    This may sound like a flamebait, but I think the FSF pages are a prime example for this misguided principle. It's only recently that they added menus (and on www.gnu.org they still got it wrong by putting it on the right instead of the left where everyone expects it), and according to theGNU/FSF Web Site Guidelines they are still frowned upon.

    The general attitude of not caring about the layout, and just putting in the content, leads to pages which have far tooo long lines in typical browser windows (I thought that latex had spread the news that lines should not have more than 66-68 letters), have the ugly "ul" lists as the main structural ingredient, and makes the whole site (there's actually quite a lot of content there) pretty hard to navigate.

    But I am pretty sure that they support lynx well, yeah. Don't want to troll, but I think Linus Torvalds' quote recommending to print out the GNU coding standards just once (so that you can burn them) applies to their Web Site Guidelines equally well. It should be time that the 90s and the news that a well-layoutet presentation actually helps to communicate the content (instead of "just distracting from it") reaches every web site author out there, even if he only uses emacs on console for his daily work.

  169. Presentation vs. Content? by LS · · Score: 1

    Hmm, I think the line drawn between presentation and content is a fuzzy one, or at least drawn in the wrong place. If the "presentation" helps organize the "content" in a more understandable fashion, then perhaps the presentation actually contains content. I mean, are paragraphs, table of contents, indents and other things presentation or content? You could argue that they are presentation, but they're usually contained within the content.

    Anyway, disregarding the previous paragraph, any graphic designer you speak to would disagree on the implied lowliness everyone here is attaching to presentation. All you nerdlingers know is 0s and 1s, but the whole world is much more than that. It's actually mostly presentation... Next time you're in bed with a chick, instead of fucking her, why don't you just say "insertpenis()", "while (time 30 seconds) { move penis in and out }", "ejaculate". It is about the content, and not the whole experience, right?

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  170. CSS by tacocat · · Score: 1

    If someone can put together a CSS that provides a readable format without distractions (color schemes, backgrounds, images) then that might be OK.

    However, if anyone on LDP is trying to deliver content and starts getting caught up in some pissing match about visual delivery effectiveness and tying up resources to come up with the most effectively marketing targeted CSS format then they should be fucking killed with extreme prejudice.

    The one thing this world does not need is more eye-candy at the expense of content. We have enough of that in America already that we're a joke.

  171. CSS is good by ajs318 · · Score: 1
    When I first heard of CSS, I thought "That's way too complicated, I'll never use it." I was content with my tags, and using tables with one data cell just to get a border. I just couldn't see how horrible all these things were.

    Then, for some reason, I had to use CSS for something. And it was a revelation.

    When you use <FONT> tags, you have to choose a colour, a typeface and a size with each one -- not a big deal, you think. But eventually you've got a huge massive thing like
    <table>
    <tr><td><font color="#0000ff">2004-03-27</font></td><td>foo</td> </tr>
    <tr><td><font color="#0000ff">2004-03-28</font></td><td>bar</td> </tr>
    <tr><td><font color="#0000ff">2004-03-29</font></td><td>blah</td ></tr>
    </table>
    Then you decide that the dates would look better in green than blue ..... and it's going to be a ball-ache editing it, even with sed.

    Whereas if you'd written
    <table>
    <tr><td class="pastdate">2004-03-27</td><td>foo</td></tr&g t;
    <tr><td class="pastdate">2004-03-28</td><td>bar</td></tr&g t;
    <tr><td class="pastdate">2004-03-29</td><td>blah</td></tr>
    </table>
    than you wouldn't have that problem, because you can just edit the style definition for "pastdate" in one place. Just like using functions.

    The HTML and CSS standards are quite clear -- and if some manufacturer (*cough* Microsoft *cough) has their head so far up their arse that they can't follow them, it's SOFP.
    --
    Je fume. Tu fumes. Nous fûmes!
  172. insensitive clod joke :) by swapsn · · Score: 1

    I *am* a linux user so I don't read documentation, you insensitive clod...

  173. Font arrogance by coats · · Score: 0
    As soon as I see the page, I see the demand to present it in a font significantly smaller than I have told my browser I want to see ("...font-size : 90%;") to be both obnoxious and arrogant. This is made the worse by the tendency of some CSS hackers (not you, in this case) to make the font much smaller than my "never see" setting.

    Mozilla's "zoom" feature helps this somewhat, but it still makes pages made with this CSS more trouble to read than they would be otherwise. It is a pain in the ass to have to edit the CSS before you can read a page comfortably. [Thanks, Jesse, for the bookmarklets to do that, http://www.squarefree.com/bookmarklets/]

    --
    "My opinions are my own, and I've got *lots* of them!"
  174. Use XML and XSLT/XQuery by Archie+Binnie · · Score: 1

    Why not create an XML schema for documentation, then use something like XSLT or XQuery (implemented in Qexo, part of GNU Kawa) to create valid XHTML (or plain HTML, plain text and others...)? This future proofs against any new web paradigm and gives complete separation of design from content.

  175. Obviously CSS by trewornan · · Score: 1

    Using CSS is *so* obviously a good idea that I'm surprised it's even being questioned. Reasons for CSS:

    1. Simple - I could probably write an acceptable basic CSS layout in an hour or less.
    2. Reduced size - I recently re-wrote a (fairly small) website to CSS and the reduction was astonishing.
    3. Logical seperation - Since I've rewritten this website it's been much easier to make changes to both presentation and content because you only need to think about one or the other not two things at the same time.
    4. Portability - CSS is better for those viewing documents on mobile phones, PDA's, and other obscure hardware (Macs?)
    5. Multiple layouts - write a stylesheet for readers or printing and it's automatically applied appropriately for you.
    6. Customisation - don't like the way a documents laid out? - write a stylesheet of your own, use a decent browser and it'll apply your personal stylesheet instead of the authors.

    Of course there are probably other advantages I've missed.

    Disadvantages:

    1. You have to strip all the formatting crap out of existing documents and restructure them in a sensible way. I have discovered this is a non-trivial task (somewhat to my surprise).

    Who is arguing against CSS, I'd be very interested to know what reasons they have for opposing it - they must be drawbacks I haven't picked up on.

  176. Give the non-technical a chance to contribute. by WgT2 · · Score: 1

    There is no reason for there not to be css for the LDP, unless the reason is that the same people responsible for the content want or think they should be the same people who provide the presentation. Otherwise, let someone else, likely more talented in the presentation arena, be responsible for it; give someone else with a diferent talent a chance to contribute and give back to a community that has possibly helped them.

    For that matter, why not make a contest out it?

  177. flamebait by chegosaurus · · Score: 1

    shouldn't they write some documentation first?

  178. A definitive reply. by hereticmessiah · · Score: 1

    I don't see what the problem is. the LDP uses DocBook to mark up the documents, not HTML. CSS is simply an implementation details of the templates used for HTML output.

    Using CSS is a good idea, but it shouldn't and doesn't have event the slightest relevance to the people writing documentation.

    --
    I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  179. Report it! Give TLDP Feedback! by Anonymous Coward · · Score: 0
    >So every time I need some Linux info I go to LDP. What I generally find are horribly out of date HOWTO's and incomplete manpages.
    OK, you might very well be right. But please, please, please report your findings to TLDP, there is, you know, a FEEDBACK for exactly this thing.

    TLDP needs your comments to improve.

    1. Re:Report it! Give TLDP Feedback! by Brandybuck · · Score: 1

      As a software developer, I fully understand what you're saying. I would rather have one of my users alert me to a problem rather than getting pissed and using something else.

      But on the other hand, as a user I absolutely abhor this attitude. You're telling me it's my fault that some of these documents haven't been updated in EIGHT FSCKING YEARS! Do you guys at the LDP just sit around all day thinking you don't have any problems just because the phone isn't ringing off the hook with complaints?

      --
      Don't blame me, I didn't vote for either of them!
  180. Re:Great examples as to why they SHOULD NOT use CS by jsebrech · · Score: 1

    Normally I wouldn't post a reply to something like this, but the whole shitty, breakable design that is so much of the web is in large part due to supporting pathetically old and broken browsers and proprietary extensions. NS 4 anyone?

    Actually, there are several workarounds to completely hide your css from netscape 4. One is to link to your stylesheet using media="all". Another is to prepend any styles you want ns4 to ignore with /*/*/ (ns4 sees this as two open comments delimiters and a slash, while standards-compliant browsers interpret this as open comments, slash, close comments)

    That way netscape users get a functional (albeit ugly) webpage, and you don't need to bend over backwards to make things work both in ns4 and newer browsers.

    The coolest thing about css for me is that the order of items in your page becomes arbitrary. I tend to start with the content first, and the navigation elements last. That way if you save the html, or browse through lynx, you get the content right at the top of the page, but if you visit it on the website with a regular browser, the css puts the navigation first.

  181. why separate concepts? by ragnar · · Score: 1

    I understand and embrace the notion of separating content from presentation, but at some level you have to be aware of presentation as a content author. The way a document looks has a direct influence on the reception of the content.

    --
    -- Solaris Central - http://w
  182. Man, how will I know... by mrkurt · · Score: 1

    It's real documentation if the font isn't in classic TNR, using solid white for the background, blue for hyperlinks... and graphics? Pffft, who needs graphics?

    --
    Always look on the briight side of life! (whistle, whistle)
  183. Re:Great examples as to why they SHOULD NOT use CS by hereticmessiah · · Score: 1

    Flamebait? Hardly. Not all the world revolves around IE, and not everything in the CSS spec has to be employed.

    Even if the basic stuff as used, stuff that even Nav4 supports properly, it'd lead to an improvement in the aesthetics of the documents.

    Not only that, but it'd mean that seperate stylesheets could be used for display and print; though old browsers like Nav4 can't cope with that, even IE4 can. When it come to Konq, Opera, and Mozilla, they support multiple stylesheets without any difficulty.

    --
    I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  184. Re:CSS does NOT always degrade gracefully with HTM by jsebrech · · Score: 1

    Here is an example of a site, and how it looks in an older browser, where the developers claim they are using "web standards" to make a site, and it degrades horribly.

    That site uses tables to layout non-tabular content, which is a big css no-no. It also does not validate. Validating is part one of being standards compliant. Following the basic rules of how to appropriately use css is part two. Complying with all the tips from dive into accessibility is part three.

    Correctly designed, by someone who knows what they're doing, a css-based site will always degrade gracefully. Always.

  185. The state of the LDP itself.... by ajutla · · Score: 1

    I've been to the LDP web site and have looked around at some of the documentation they've got there, and I appreciate what they're trying to do, but really, a lot of stuff on there is quite outdated. Many of the HOWTOs are a few years old and aren't really relevant. Maybe instead of looking at CSS to improve the presentation, they should improve the actual content...

  186. Re:Great examples as to why they SHOULD NOT use CS by yerfatma · · Score: 1

    CSS doesn't "degrade"? What do you even mean by that? I've built any number of sites that look pixel-perfect in "modern" browsers, looks slightly styled and readable in NS4 and look gorgeous in Lynx. CSS isn't supposed to degrade in the sense of millions of colors to 256 to 16 to 4; it allows you to present content in different ways to different user agents. One of those different ways is with no styles at all.

  187. Im not sure if this is pro or con by frankmanowar · · Score: 1

    But the only thing 'bad' about style sheets is that you won't be able to support Netscape 4.7/4.8 anymore. Oh no! Actually, the netscape that installs with Solaris 8 and 9 gets so foobar'd by style sheets, well you have to see it to understand. But hey, it is 2004. I think we can handle them by now.

    --

    "Other bands play, but Manowar KILLS"
  188. Quit wasting time by hundalz · · Score: 1

    Even though I feel that CSS is not that important, it's a nice thing, the time wasted on discussing this could have been spent on deploying the CSS.

    Not essential, but nice.

  189. I think this would be a great idea. by Kleedrac2 · · Score: 1

    It's not like CSS isn't being used in OSS allready. Mozilla handles it flawlessly so I see no reason not to use it on LDP. Just my vote for the poll as it were.

    Kleedrac

    --
    Sure we wang, can.
  190. Re:Printing: Another Advantage of CSS by Enry · · Score: 1

    *groan*

    Docbook already does this. Want print? Docbook exports to PDF, TeX, and PS. Want screen? There's HTML. Want light? There's text. You can also output to .rtf and Braille.

    CSS shouldn't be used to make something printable, but it should be used to enhance the screen output.

  191. Re:Printing: Another Advantage of CSS by TheViewFromTheGround · · Score: 1

    I see your point. But if a designer settles on Docbook--and does it right--then they might as well still attach good CSS for the HTML output. Users may want to simply click print in their browser while looking at HTML that was generated from a Docbook format doc.

    CSS shouldn't be used to make something printable, but it should be used to enhance the screen output.

    CSS can and should be used to enhance screen output, braille output, screen-reader output, print output. The spec is specifically designed to style multiple media. That doesn't exclude generating from Docbook (or any sort of data format a developer cooks up), but CSS is pretty well supported already and the support is improving across all sorts of user agents, so it's a smart way to do those things, even if you are also generating TeX and PDF and everything else. Users deserve the choice, and CSS is a well designed spec for offering those choices.

    --
    Online citizen journalism from the inner city: The View From The Ground
  192. This is the problem with open source by spectasaurus · · Score: 1

    I love open source software. I use it everyday and wouldn't want to use anything else. BUT, I think that free speech can be too much of a good thing sometimes. Case in point. Let's argue about how to make a website better, instead of actually making it better. Everyone gets a voice, but because everyone is talking, nothing gets done. Just do it one way or the other. People, get over it.

  193. Well since you asked... by Techmaniac · · Score: 1

    You have finished a CSS file, correct? Save it for the end of the initial project phase and implement then. Any subsequent changes or additions will have to take into account that a CSS is in use and adjust.

    Be prepared to recode pages that are made early on and don't have the CSS tags though.

  194. CSS tend to get abused by frost22 · · Score: 1

    My main gripe with css is that web sites using them have the property them to force their preferred font size on me.

    I usually increasze font size. I cant read those microscopic fonts some artsy types seem to prefer.

    My advice the the LDP folks would be - stay away from them.

    --
    ...and here I stand, with all my lore, poor fool, no wiser than before.
  195. Re:Printing: Another Advantage of CSS by Enry · · Score: 1

    But if a designer settles on Docbook--and does it right--then they might as well still attach good CSS for the HTML output.

    No disagreement there. The LDP (which I've been working with for something like 8 years) has done a pretty good job with Docbook so far. I don't write HTML, but the CSS examples elsewhere shows it has real potential.

    CSS can and should be used to enhance screen output, braille output, screen-reader output, print output.

    But CSS only helps if you're using HTML as an intermediary step. Docbook already has something similar to CSS (called just "stylesheets") and the LDP has their own version of stylesheets already, depending on the output method. So in a way, we're already using CSS, just under a different name and skipping the HTML step.

  196. Professionalism! by Anonymous Coward · · Score: 0

    Making it look nice is a symptom of professionalism. Even if an interface is fully functional, making it LOOK fully functional, rather than thrown-together late at night, is V. important to customers. In the case of FOSS the customers is us, and we need to support us in the way we would like to be accustomed to.

    IS that clear?

    I thot so.

    I'm in favor of professional-looking documents, interfaces, CUPS GUIs and everything...

    Thanks for watching!

  197. As long as I can quickly get... by gandy909 · · Score: 1

    ...a one-big-html, or a pdf version of the documment I am looking for, I don't get pop-xxxxxx's, and the page loads quickly, I don't really care what the underlying tech is for that particular site.

    --

    (Stolen sig) Remember: it's a "Microsoft virus", not an "email virus", a "Microsoft worm", not a "computer worm
  198. Numbers not right by bangular · · Score: 1

    The current numbers are about 2-3% which may not seem all that big of a difference, but that's very close to Mac OS's market share. Many predict linux on the desktop will hit 5-6% within the year which would pass Mac OS.

    1. Re:Numbers not right by bcrowell · · Score: 1

      The current numbers are about 2-3%...
      Not to be unduly argumentative, but what was your source for that figure?

    2. Re:Numbers not right by Anonymous Coward · · Score: 0

      Not to be unduly argumentative, but what was your source for that figure?

      Not to be unduly argumentative, but what was your source for the 0.5% figure?

  199. No by mrmeval · · Score: 1

    No CSS, HTML, XML, or salt, just plain text.

    --
    I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
  200. CSS Standards, Please by TheJavaGuy · · Score: 1
    CSS is very useful for web design. However, no matter how good, if IE and Netscape create their own CSS extensions, then CSS won?t be utilized to its full extent.

    It's a shame that these big companies don't conform to standards. Standards are what make the internet work.

    --
    Opera Watch - An Opera browser blog.
  201. Of Course We Should Use CSS by Anonymous Coward · · Score: 0

    CSS is the way your content should be presented. I so wish the W3C created mandates rather than recommendations. The reason why we have to use CSS hacks and browser detection is that the W3C never dictates that something must be implemented exactly this way in order for your piece of software to be called a Web browser. If this were the case, Microsoft would have a *long* way to go before IE would even be considered. Granted all of the others would have work to do, but all of the other modern browsers are closer to standards compliance than IE.

  202. Quote from Alan Robertson by Anonymous Coward · · Score: 0

    "Complexity is the enemy of reliability" -- AR

    I need to be able to print out LDP howtos on ancient tractor-fed printers (that only know ASCII and some obsolete undocumented proprietary crap) and then hand-carry the printouts into secure non-web-attached facilities in order to convert those facilities into modern research labs.

    ASCII text rules. Long live ROFF!

  203. CSS not supported by AvantGo by Anonymous Coward · · Score: 0

    Some of the browsers available for mobile devices do not support CSS. The AvantGo browser which is quite popular supports style tags in some elements in the enterprise version. It does not support external or embedded stylesheets though.

  204. text-only luddites need css for their own good by grikdog · · Score: 1
    The medium is the message. -- Marshall McLuhan

    I vote yes.

    --
    ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
  205. Win IE more CSS compliant than Mac IE?! OMG, ROFL by Anonymous Coward · · Score: 0

    Anyone who takes the time to look into browser compliance with CSS would know that Mac IE 5.x was the most compliant browser when it was released, and Win IE 6 still doesn't come close.

    There are tables showing which browsers support which features, but I can't remember where. Win IE just sucks really hard.

    Sorry to burst your IE-loving bubbles.

  206. If the question posed in the post was serious..... by initself · · Score: 1

    My vote would be to leave LDP exactly as it is: readable, informative and old-school - just like a man page.

  207. Re:CSS does NOT always degrade gracefully with HTM by Skapare · · Score: 1

    The technology, or its documentation, or its promotion, is at fault when lots of people use it wrong.

    If the technology is hard to use then the technology is at fault. For example, a lot of the problems I see are where specific table cells have a specific background color. I don't know that CSS can even specify that, and so maybe it has to be done in HTML, which in turn forces font colors to be done in HTML, too.

    Absolutely none of the CSS promoting sites say anything about how to specifically deal with this problem, or with any other specific problem. They describe CSS, tell people it should be used, list the benefits, then leave people hanging with little more than some reference documentation and examples on a few pages that are relevant to real world problems.

    Fix that ... e.g. make documentation better ... and maybe things will work out. Now all I need is a decent, reliable, and non-obese browser, that does handle CSS correctly (Netscape 4 doesn't fit the latter requirement, and Mozilla Firebird doesn't fit the former requirement).

    --
    now we need to go OSS in diesel cars
  208. Stupid, stupid, stupid... by mjm · · Score: 1
    Number one cause of sites being marked for disable CSS in Galeon: body text set to too small a size for pleasant reading. Remember the first rule of non-stupid markup: first, do no harm.

    I will now repeat this for those of you who think that body {font-size : 90%;} is a good idea:

    DON'T FUCK WITH THE DEFAULT BODY TEXT SIZE ON EVERYONE'S SCREEN IN ORDER TO AVOID SETTING THE SIZE YOU LIKE AS YOUR LOCAL DEFAULT. AT BEST THAT WILL CAUSE READERS TO DISABLE YOUR STUPID, ANNOYING MARKUP; AT WORST THEY WILL AVOID THE SITE. REDUCED FONT SIZES SHOULD BE USED, LIKE SMALL PRINT EVERYWHERE, FOR THINGS YOU WOULD JUST AS SOON FOLKS DIDN'T READ.

    This free clue has been brought to you by people who like to read text on the web. Forcing your personal preference in font family for running text is a lesser disrespect, but here again, do you really think we're all so stupid as to have a default font chosen that we find less pleasant to read than your favorite du jour?

  209. Re:CSS does NOT always degrade gracefully with HTM by Skapare · · Score: 1

    However, using tables for layout is still technically compliant with the standards that specify the table tags. But it's just HTML compliant. The catch with CSS is that the level of "gracefully" degrading isn't satisfactory to lots of people, especially people who come from graphical media like print or video where they have always had explicit control. The only way to overcome this is to do a whole lot better job in two areas. The first is to promote CSS a lot better and more strongly include the requirement to not do the things in HTML that break sites that use CSS. And the other area is to promote better browsers that support CSS correctly, and are not obese. Just because you might have 2 gigabytes of RAM to run Mozilla or whatever does not mean everyone else does. I still have to use Netscape 4 because of these limitations, and some of my friends have even smaller computers than I do. CSS is broken in Netscape 4 and has to be left turned off. I do use Firebird occaisionally, but I can't use it regularly due to the bloat and quite many other bugs (including a form submission security bug). Maybe some day someone with real systems understanding will decide to put together a truly smart modular browser that won't bloat itself beyond what the current web sites it's viewing will need. I can give specific advice, but I won't except directly to the lead developers (because it is a bit complex and would require some back and forth discussion to make sure it is conveyed correctly).

    --
    now we need to go OSS in diesel cars
  210. Content first, THEN style! by KevinDumpsCore · · Score: 2, Insightful

    I'm an Open Source documentation volunteer. My experience in the trenches reveals this: In order for technical documentation to be usable, it must be clear, complete, correct, and current.

    Usable documentation then becomes great if it is also consistent. It's frustrating to see Open Source documentation projects like the LDP spending so much time on consistency when they haven't reached usability yet. Getting there is hard work, I know.

  211. Re:Great examples as to why they SHOULD NOT use CS by Anonymous Coward · · Score: 0

    Ahh, but you still needed to test it. When you can write some CSS and automatically know that it won't fuckup/crash Netscape 4, then you'd have a point.

  212. Is it actually true? by nroose · · Score: 1

    The text of this post says that most Slashdot users are Linux users. Is that actually true?

  213. Mod parent up! by Anonymous Coward · · Score: 0

    I was going to make this exact point. I know plenty of people who are more Windows users than anything, but check out /. for the other geek news content. I mean, the P2P clients on Linux are not all that great, but every RIAA/MP3/filesharing story seems to generate plenty of controversy. I'm betting most of those people do their filesharing in Windows. And probably use Windows Media Player to listen to their tracks, arr.

  214. Re:Great examples as to why they SHOULD NOT use CS by yerfatma · · Score: 1
    Thing is, I can do that now. Don't relatively path backgrounds (don't provide background images at all), don't use "//" style comments (which aren't valid CSS anyway), don't try to do anything beyond basic positioning, etc.

    Or just don't pass anything to NS4 by hiding all of your CSS (instead of just most of it) using the "@import" statement. Voila: all text. No choking.

  215. The intent of HTML by e1mer · · Score: 1

    The original idea behind HTML was to let the author control content, and the viewer control the actual display according to their own hardware and preferences. Style sheets were an attempt by authors to control not only content, but presentation as well. I leave it to the reader to decide which major company feels that you should only see things the way they want you to. (Hint: "Where do you think you're going today?") More often than not the style sheet causes those of us who use computers as tools (and so don't need to upgrade every month, and have no need of more than, say, 800x600) to look at seriously malformed pages. If you want to make them DOCs, then make them DOCS. If you leave them as HTML they look great, but given the choice between stylesheets and vanilla text I will take vanilla text.

  216. Re:Here is what needs to be done by Arkaein · · Score: 1

    Dude, now it's score is "-1, Insightful"!

    That's gotta be worth a cool +10,000,000 points by your scale.

  217. Re:Here is what needs to be done by Arkaein · · Score: 1
    By using proper XHTML (or HTML 4.0) and sticking to valid tags (heading tags, emphasis, lists) the page will automatically degrade nicely and be viewable in ALL BROWSERS

    This is not always the case. Not that many people use it anymore, but 4.x versions of Netscape will seriously mangle some pages using valid and correct X/HTML and CSS.

    I hate seeing market share go to IE, but the old Netscape fading into the past is probably one of the best things to happen for the future of good web design.

  218. Re:What about Slashdot? Try This... by Domo-Sun · · Score: 1

    As a logged in user, you can select a [lighter] version of /. made specifically for cases such as yours.

    Oh, it gets even better. If you use my personal StyleSheet you can make the lighter slashdot taste delicious. For Opera users, this is a very simple task of clicking an icon, but IE and Mozilla have managed to make using/overriding with user Styles cumbersome. That's why most people don't realize the power they offer. /* Slashdot.org */
    body{font-family:arial narrow,arial,sans-serif;}

    h1,h2,h3,h4,h5,h6 {
    color:white;
    background:#006666;
    margin:0%;
    font-family:arial,sans-serif;}

    h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{
    color:#CCCCCC;}
    ul,ol{border:thin solid gray}
    li{margin:0;}
    i,em,cite,dfn,var{
    color:maroon;}

    b,strong{color:navy;
    font-family:arial,sans-serif;}

    tt{font-family:"Andale Mono",monospace;}

    /* Small fonts */
    blockquote{color:#300;
    background:#cdc;
    font-family:verdana,tahoma,"Trebuchet MS",sans-serif;
    font-size:10px;
    margin:1em 3em;
    padding:3px}

    img{font-family:verdana,sans-serif ;
    font-size:9px;
    border:thin solid #933;}

    a[name] b{display:block;
    color:white;
    background:#006666;
    margin:0%;
    font-family:arial,sans-serif;} /* headings. Formerly H2,H3 */

    a{text-decoration:none;
    border-bottom:thin solid blue;}
    a:hover{color:navy;
    border-bottom:thin solid navy;}
    td{background:#aaa;}
    td + td{background:#bbb;}
    dt{background:#CCCC99;}

  219. Re:Here is what needs to be done by JimDabell · · Score: 1

    Additionally, font tags, etc always take precidence over style sheets.

    No, non-CSS presentation hints have a specificity of zero, and so should never take precedence over stylesheets.

  220. Division of labor by ttfkam · · Score: 1
    On the other hand, if you were the only person working on it I would skip the CSS and put in some friggin content!
    Ummm... you're missing the point. With a common CSS stylesheet, the content author never touches CSS. Let me repeat: the content author never touches CSS. If every author wrote CSS, TLDP would be no better off than with people writing font tags and using tables for layout. That is not what is being proposed.

    We're talking about the programmatic addition of <link rel="stylesheet" type="text/css" href="common.css"/> so that all pages share the same look and feel. In addition, by changing "common.css" (or whatever it is named), all pages get the facelift without having to regenerate all of the HTML from content source.

    Another issue at hand is division of labor. Those who would actually be good at page layout are almost never the same people that you want to update the XFree86 and ALSA HOWTOs. People who can hack code are not often as adept at making web pages attractive and appealing and vice versa. Work on the one does not necessarily mean less work on the other. There are two distict groups of people at work here who have a limited capacity for helping each other.
    p.s. Don't go too wild on the CSS. Make it use the standard DocBook-XSL produced HTML.
    Ahhh... I see now. You have no idea what you are talking about. Now now. Before you get all indignant about me calling you ignorant Mr. Grand Almighty FreeBSD User, let me reiterate something for everyone to hear.

    Listen closely as this is important: CSS != XSLT. The HTML transformation method doesn't matter at all. Not one bit. Of course the output HTML should be semantically rich, but the CSS is applied on top of this. The HTML layer should have absolutely no knowledge of the CSS except for the extra link tag.

    It is just a browser rendering issue, not a content generation issue.

    Case in point, print stylesheets would be a great boon as the printed stock has different needs/constraints from the display version. If you were to do this directly with DocBook-XSL, you would ultimately end up having to make special "print" versions of the stylesheets. I'm not talking about PDF generation however useful that may be. I'm saying that when you hit print in the browser, all of the links display the URL next to it, the navigation bar links are removed, etc. In other words, nice print stock from HTML.

    And all by just changing a CSS file or two. All of this without touching or regenerating the content.
    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  221. Netscape 4 by ttfkam · · Score: 1

    It is unfortunately necessary sometimes. If you use certain CSS directives, NS4 will crash. To avoid this, it is common to use @import because NS4 doesn't understand it. Case in point:

    <style type="text/css" title="foo">@import url("my.css")</style>

    This gives the ability to switch stylesheets while still hiding from NS4. Personally I prefer the media="all" hack:

    <link rel="stylesheet" title="foo" type="text/css" media="all" href="my.css"/>

    NS4 only understands media="screen" and therefore ignores this tag/style. But anyway, addition a "title" attribute to the link/style tag will allow easy stylesheet overrides like you were looking for. Of course, I advocate using parts of CSS2 since >90% of the browsers out there support at least rudimentary positioning like floats and absolutes. Support (or lack of support) for CSS2 selectors can be adequately used to distinguish which browser styles to use.

    That said, it's better to simply make your stylesheets so that people can use the browser facilities to change font sizes instead of hard-coding the font sizes in the stylesheet. All popular browsers support font size alteration and this support is not page-specific. It's simply up to CSS authors to avoid disabling this functionality. Hint: don't use pixel values for font size.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  222. It is enabled by default by ttfkam · · Score: 1

    It's called HTTP 1.1 and persistent connections. Every popular browser supports it.

    A new connection isn't made, it simply executes a new GET request in the already opened socket. In addition, most browsers support gzip compression of content. CSS compresses very well -- a whole lot of repetitive info. Any popular web server released in the last five years will do the former. Enabling mod_gzip or mod_deflate will do the latter.

    Persistent connection + gzip compression = all referenced stylesheets downloaded at once very efficiently.

    And of course since CSS doesn't change all that often, the last modified header will keep the browser from downloading it over and over. In addition, a site maintainer could set the Expires header for all CSS. Then your CSS is only grabed once and the browser never even bothers to ask again for a refresh until the expiry elapses.

    Ain't technology wonderful?

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  223. Not really by ttfkam · · Score: 1

    While all of the CSS stylesheets are downloaded, Firefox doesn't necessarily download all of the referenced images at the same time. Firefox must load all of the stylesheets so that when you switch the stylesheets, you are actually switching to something. If a particular CSS request returns a "404: Not found", that stylesheet is removed from your list of available styles.

    As an exercise, go to CSS Zen Garden, and flip through the skins. After a new page has fully loaded (no more throbber activity), scroll down quickly to the bottom. You'll notice that some images fill in after you scroll to them. It's called lazy loading. It's just for people like you.

    As for "massive bandwidth", I think you overstate the issue. A massive CSS document is 30KB. Mine are usually 10KB or less. Most images in the HTML are bigger than this. Remember that CSS is probably being served directly from the filesystem and therefore the server gives a Last-Modified header. If the CSS on the server isn't newer than the cached copy, the browser doesn't download it again -- just like any other static files. (Google for the HTTP header "If-Modified-Since") Also, if the server sets an Expires header, the browser won't even try the request until the expiry timestamp is passed by.

    With HTTP 1.1 persistent connections (used by default by all of the major browsers and servers), and there's only ever one connection with multiple GETs. Coupled with mod_gzip or mod_deflate (or equivalent) on your server, you get very small items going over the wire. My 7,281 byte base CSS file compresses down to 1,779 bytes with standard gzip compression.

    And finally note that without CSS, your HTML is full of tables, font tags, bold tags, italic tags, center tags, bgcolor attributes, spacer GIFs, etc. That's where massive bandwidth usage comes from. At least the CSS stylesheet can be reused. <b> tags only replicate.

    CSS is not your enemy.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.