Website Design: CSS
Ranked #38,175 in Tech & Geek, #730,119 overall | Donates to The Leukemia & Lymphoma Society
Cascading Style Sheets allow the web designer to fine tune the look and feel of site. By collecting the presentation into style sheets, the look and feel of an entire site can be changed by modifying the style sheet. With CSS, the content remains the same while the presentation changes. Need your site to look good on the screen, and then create a dazzling screen style sheet. Need a nice print format, then a print style sheet will do the trick.
Recipe for Success
How to cookup a site with CSS
A blank window, a blinking cursor. What do I say next? Nothing is more intimidating than a blank editor window. Sure you have a lot of ideas. You're raring to go. But how to begin? Start from something. Develop a template for your web pages and the supporting CSS files. Put the rules you always use in there. When you start a new project, reach for the templates and fine tune them. Voila, no intimidation!
2. Add the content
If you started with the template, grab some content and add it in. Don't worry about how it looks. Don't even worry about what it says. For the initial layout, just use some Lorem Ipsum. The important thing is to get some headlines and text in there.
3. Mix in some style
Now start making it pretty. What fonts are you going to use? How big will the text be? How much white space? Go ahead and style the navigation too. What about rollover buttons? You can use CSS effects for those too. Remember your comps from Photoshop? Now it's time to add in the banners and styled text.
4. Question: is it content or eye candy?
Remember, use HTML for the content and CSS for the presentation. When you add a graphic, ask yourself if it is important to the meaning of the site or does it just make it look good. If it's important, then it is content. Use the img tag to embed it in the HTML. If it's "just for looks" consider using CSS background images.
5. Take joy in the details
Remember, it's the little things that make a site memorable. Did you optimize the images so that it looks good and loads fast? Do you highlight form fields for easy navigation? What about label tags and element titles. While not really CSS, these constructs remove uncertainty and improve the user experience.
CSS Resources
- W3 Schools: CSS
- CSS quick reference and tutorials. A "must have" bookmark for any CSS designer.
- Llamawerx
- At Llamawerx we help organizations of all shapes and sizes get on the web.
- Web Developer Extension
- A must have web developer extension for Firefox and Mozilla.
- 20 CSS Tips & Tricks
- 20 CSS Tips & Tricks including round corner boxes, multi-column layouts, tableless forms and more. Plus links to other tips & tricks!
- css Zen Garden
- The companion website for the book, "The Zen of CSS Design: Visual Enlightenment for the Web."
- Listamatic
- Similar to the Zen Garden but all about lists! Horizontal lists, vertical lists, bullet lists, rollover lists. Lists, lists and more lists!
- A List Apart
- They say it best themselves, "A List Apart explores the design, development, and meaning of web content, with a special focus on web standards and best practices."
- Practical CSS Layout Tips, Tricks, & Techniques
- A collection of great CSS tips from ALA.
- Lorem Ipsum
- When you don't know what to say, just make it up!
CSS & Design Books on Amazon
Reader Feedback
Like this lens? Want to share your feedback, or just give a thumbs up? Be the first to submit a blurb!
