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?"

106 of 506 comments (clear)

  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 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.

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

      use slashdot.org/palm/

      its what I use with OpenZaurus + Konq

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

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

    7. 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!

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

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

    9. 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?

    10. 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.

    11. 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.

    12. 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.

    13. 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

  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 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

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

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

  4. 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 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.
    3. 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.

    4. 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/
    5. 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 :-)

    6. 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.

  5. 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 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
  6. 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 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.

  7. 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.
  8. 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?
  9. 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.

  10. 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.
  11. 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 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.
    2. 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?

    3. 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.

    4. 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.
  12. 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 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

  13. 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 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

    2. 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.
  14. 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.

  15. 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 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
    3. 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
  16. 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.

  17. 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.

  18. 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.

  19. 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.
  20. 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
  21. 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!

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

    Like the users. This user at least.

  23. 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...
  24. 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.

  25. 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.
  26. 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.

  27. 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!

  28. 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
  29. 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.

  30. 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
  31. 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

  32. 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".

  33. 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.
  34. 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
  35. 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.
  36. 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.
  37. 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
  38. 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
  39. 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!
  40. 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.

  41. 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.
  42. 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
  43. You know by Prince+Vegeta+SSJ4 · · Score: 2, Funny

    the slashdot crowd would rather have a site in all FLASH

  44. 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.

  45. 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!
  46. 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".

  47. 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.

  48. 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

  49. 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 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?

  50. 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?

  51. 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.

  52. 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.)

  53. 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.

  54. 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.

  55. 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
  56. 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?
  57. 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...

  58. 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.
  59. 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
  60. 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!
  61. 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.
  62. 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...

  63. 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
  64. 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?)

  65. 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.
  66. 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.