Slashdot Mirror


CSS From the Ground Up

jsin writes "Web Page Design for Designers is a great source for anyone who is looking for a non-programmer-centric view on web page design and development. Starting in his most recent issue, Joe Gillespie describes CSS from an absolute beginners perspective. Even though I've been building commercial sites for years, the article is an excellent way to review the basics in the context of endless changes in standards and practices."

41 comments

  1. I've found by Anonymous Coward · · Score: 1, Interesting

    That CSS is wonderful when you want to use your own custom one to override page design.

    The one I use blocks out most ads, and red strikes any link that contains goatse.

    But I've noticed that Mozilla and FireFox don't let you set a custom CSS, which I find disappointing.

    1. Re:I've found by dwoolridge · · Score: 4, Informative

      Have you seen this?

    2. Re:I've found by Anonymous Coward · · Score: 0

      Thanks alot, that did it.

      They should have an option in the preferences to open a CSS file and use it though.

  2. I have the opposite problem. by Dr.+Bent · · Score: 4, Funny

    I'm a Java developer with no artistic talent whatsoever. I tried to draw something once....the result caused dizziness, blindness, and violent nausea in all who saw it. It was eventually banned by the FDA and shot into space. Whenever I'm forced to make choices about color, font, and layout in web pages I inevitably choose a combination that looks like an elephant came along and crapped on a computer screen.

    What sources are out there for people like me? Technical people who need a little help making artistic choices. I'm not expecting a website to turn me into Rembrant or anything, but just a few simple rules and some examples that demonstrate those rules would go a long way.

    1. Re:I have the opposite problem. by elmegil · · Score: 2, Informative

      Maybe The Non-Designer's Design Book? 'Course, it doesn't deal with color.... You might also try Don't Make Me Think.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    2. Re:I have the opposite problem. by Anonymous Coward · · Score: 0

      I usually find a Web site similar in structure that looks nice to me and steal their CSS.

      You can browse the code for the reference to the 'style/css', or some Web pages have it embedded. To decrease the size of each separate page, just copy-paste their CSS code into a separate file, and then rename the styles.

    3. Re:I have the opposite problem. by Anonymous Coward · · Score: 0

      Parent URLs contain refferals!

      Non-Designer's Design Book

      Don't Make Me Think

    4. Re:I have the opposite problem. by aWalrus · · Score: 5, Informative

      Regarding color: Try a little Color Theory and when you want to make a color scheme that works, go to the Color scheme generator.

      Apart from that, anything on the "Resources" section of my links page will help you out.

      --
      Overcaffeinated. Angry geeks.
    5. Re:I have the opposite problem. by Dr.+Bent · · Score: 2, Funny

      Maybe The Non-Designer's Design Book

      Wow, this book looks perfect! Thanks. The author even lays out the four basic principles of good design:

      Contrast
      Repetition
      Alignment
      Proximity

      That should fit right in with my design skills.

      P.S. I'm not even kidding....

    6. Re:I have the opposite problem. by christopherfinke · · Score: 5, Informative

      What sources are out there for people like me? Technical people who need a little help making artistic choices.
      I had always been horrible at picking out color schemes for sites until I discovered this site. That's right, a fabric/thread/crafts site.

      What I have found works quite well is to find a color you want to theme your site around (pine green, for example) and go to that thread's color family page. Voila! A group of colors that complement your color, and the hex codes for the colors are in the source code.

      Also, another great tool is the color schemer. There used to be an online version, but I can't find it anymore.
    7. Re:I have the opposite problem. by Feztaa · · Score: 2, Funny

      So if the four basic principles of good design are CRAP, does that mean that a well-designed page is crappy?

    8. Re:I have the opposite problem. by archeopterix · · Score: 1
      So if the four basic principles of good design are CRAP, does that mean that a well-designed page is crappy?
      Perhaps a look at the book ugly yellow & purple front cover should give you some hints :-)
    9. Re:I have the opposite problem. by Anonymous Coward · · Score: 0

      Parent URLs contain refferals!

      Um, and so do yours...

    10. Re:I have the opposite problem. by elmegil · · Score: 1

      If they do it was unintentional. I looked up the damn books and linked to them as I found them. I don't play the Amazon referral game, at least not intentionally.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    11. Re:I have the opposite problem. by eatdave13 · · Score: 1

      It IS a referral. What's the problem?

      --
      "Verbing weirds language." -- Calvin
    12. Re:I have the opposite problem. by Anonymous Coward · · Score: 0

      Another great link where you can choose a color on the fly for a section of ur page. This make truly fast faces for ur templates

      http://www.stormloader.com/4colors/

      Btw im planning to convert my bad html site into something stahdard like xhtml+css

      Does any1 know a tool which will convert my site to xhtml or strict html and dump all CSS info in one class
      thanks

    13. Re:I have the opposite problem. by ArcticPuppy · · Score: 1

      I am also an engineer, but my department is so small I have to do everything in my applications (mostly with browser clients). This means I have to do some design work. What I do? I surf the web, find a site that has a coherent, descrete design (nothing fancy or artsy, i have some ethics left) and i implement a similar design for my front end. I call it "getting inspiration". Btw, most of my applications look a lot like www.micorosoft.com.

  3. I'm not impressed by El · · Score: 3, Interesting

    His bar graphs don't display properly in Mozilla -- what browser do his pages actually display properly in? He appears fairly IE-centric.

    --

    "Freedom means freedom for everybody" -- Dick Cheney

    1. Re:I'm not impressed by Anonytroll · · Score: 2, Insightful

      That might be a problem with Mozilla, though. No browser at the moment is fully standards compliant. It might be one of Mozilla's quirks.

    2. Re:I'm not impressed by Anonymous Coward · · Score: 0

      Eh? What bar graphs? And how can you call someone IE-centric when he recommends Mozilla on the first page of the article?!

  4. Example of CSS design by fredrikj · · Score: 4, Informative

    For an example of how powerful CSS can be when used correctly, check out CSS Zen Garden.

    1. Re:Example of CSS design by GigsVT · · Score: 2, Insightful

      I feel the power!

      Half of those CSS's render with tiny unreadable fonts on Mozilla at my resolution.

      Nice!

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  5. And once you are done with that.... by Anonytroll · · Score: 5, Interesting

    At http://www.alistapart.com/ you can find more detailed, praxis-oriented tutorials/examples using CSS and XHTML if you like this way of doing sites. It's especially interesting, because they have quite a lot of things about pure CSS layouts without tables.

    1. Re:And once you are done with that.... by Anonymous Coward · · Score: 0

      praxis-oriented...is it good or is it whack?

    2. Re:And once you are done with that.... by Anonymous Coward · · Score: 0

      praxis-orientation, the neodialectic paradigm of consensus and rationalistic sublimation.

  6. Good example by stjobe · · Score: 3, Insightful

    Budding webbdesigners, take warning from that page: Dark grey on a pale grey background is _not_ easy on the eyes, and should be avoided, no matter how 'artistical' you think it might be.

    If my eyes hurt from looking at your webpage, you're doing something wrong...

    --
    "Total destruction the only solution" - Bob Marley
  7. Beware of web designers... by InsaneCreator · · Score: 4, Interesting

    Designers and web don't always mix well. I once got called "a vandal" by a web designer who has just heard about possibility of using your own stylesheets in Mozilla. Apparently, doing so would be defacing his artistic work and he wanted such features banned.

    Explaining how that feature worked didn't help a bit. For some reason he was sure random visitors would be setting their styles to green text on purple background with large blinking headlines & then post screenshots all over the net - just to mock his "masterpieces".

    Well, at least I learned one thing from that event: don't argue with retards over the internet. :)

    1. Re:Beware of web designers... by Brandybuck · · Score: 2, Funny

      So point me to some sites done by this "designer", so I can post screen shots of them in green text on purple background...

      I am extremely opposed to mocking masterpieces, but always heartily encourage the mocking of assholes.

      --
      Don't blame me, I didn't vote for either of them!
    2. Re:Beware of web designers... by InsaneCreator · · Score: 1

      just checked his portfolio page on that forum and... it's empy. I was at least expecting to find a site with default postnuke theme, but he doesn't even have something like that to show. A real master of webdesign!

    3. Re:Beware of web designers... by Crypto+Gnome · · Score: 3, Funny

      I learned one thing from that event: don't argue with retards over the internet

      And still you post on slashdot?

      --
      Visit CryptoGnome in his home.
  8. Don't reinvent the wheel! by driptray · · Score: 2, Informative

    There's literally millions of web sites out there. Find one with a colour scheme you like, view the source, and copy the colours!

  9. WARNING! WARNING! DANGER WILL ROBINSON! by Crypto+Gnome · · Score: 1

    The above post qualifies to be moderated as interesting but uesless.

    I went to the "color scheme generator" and gave it the equivalent HSB values for what I'm currently using on my website background.

    That color *is* (both when I look at it, and when I punch the numbers into Adobe Photoshop) clearly a dark shade of blue.

    In the "color scheme generator" it *clearly* shows as a dark shade of green.

    Said "color scheme generator" is worse than useless, because it is DEAD SET WRONG.

    You Have Been Warned.

    --
    Visit CryptoGnome in his home.
    1. Re:WARNING! WARNING! DANGER WILL ROBINSON! by dash2 · · Score: 1

      Click on the logo in the top right corner. It shows some help text which explains that they aren't using Photoshop's interpretation of HSV. All Greek to me, but it seems they know what they are doing.

    2. Re:WARNING! WARNING! DANGER WILL ROBINSON! by aWalrus · · Score: 1

      Try RGB. That's how html color works. Three Hex values, from 0 to 256, representing Red, Green, Blue. So #FF00FF is Red(256) Green (0) Blue (256). Photoshop can easily give you these for any color.

      --
      Overcaffeinated. Angry geeks.
  10. helpful CSS intro by hankaholic · · Score: 2, Informative

    One site that I've found useful as an introduction is Mulder's Stylesheets Tutorial. It's presented quite well, and covers enough to give you a good idea of what can be done easily with CSS.

    I'd go on more about it, but if you're looking for a good tutorial, you'll probably try every link you see in this story's comments. If you're not looking for a tutorial, there's no point in me wasting my time describing it.

    That and it's time to poop. Bye!

    --
    Somebody get that guy an ambulance!
  11. Almost got it right by Anonymous Coward · · Score: 0

    Glad to see the author closed his paragraphs with </p> for a change, but...

    The one other important tag is the line break <br>.

    Why not make it <br /> and make it somewhat XHTML compliant while you're at it? Same applies to the <img /> tag, and others.

  12. I've been following WPDFD for years, and have used at least the last five versions of Moz on Windoze. I haven't read this month's editorial with Moz -- I'm using IE at work -- but I've never seen such a problem before, and Joe's always been pretty careful about standards compliance, cross-browser support, etc.

    He does try new things occasionally, so if there's a glitch this month, mail him and tell him and he'll almost certainly look into it; I've contacted him a couple of times and always had at least a "Thanks for the feedback, I'll look into it" type of reply. I certainly wouldn't accuse him of being IE-centric, though; quite the contrary, in fact.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  13. Perspective by Anonymous+Brave+Guy · · Score: 1

    OK, since the standard CSS Zen Garden link has come up, I'll post the standard caveats: the content for that site is marked up much more than any "typical" web site, in order to provide maximum flexibility for the stylesheet designers; also, a lot of the really nice effects are actually based on images and not CSS. It's a great demonstration of what the technology can do. It's a lousy demonstration of what the technology can do in the real world.

    Now go look at the site, keep it in perspective, and be impressed. :-)

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  14. [Blatantly OT] Re:helpful CSS intro by Anonymous+Brave+Guy · · Score: 1
    That and it's time to poop. Bye!

    I think we need a new meta-mod option for that (+1, Informative) moderation:

    This post was:

    • not informative
    • informative
    • much too informative!
    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.