Quote from: elofland at Apr 03, 2006, 09:05 PM
thanks for the encouragement sD, while I’ve read the book on CSS, I haven’t really done anything but tweak it. I’ve never created anything from scratch. How do you work? I’m imagining drawing what I want on paper, then in photoshop, then slicing it up and doing the actual CSS last.
That is almost it exactly. I usually open photoshop when I get an Idea, and then sort of lay out what the index page would look like (just graphics, layout of sidebar items, etc... but no content). When I have something I like, I slice it up into 3 images for the head, body, and foot of the page, then make the graphics for sidebar items and other items if necessary. The Key to good CSS is starting with good XHTML, so make sure your code is logical and that it validates before starting to style it. you can use the
W3C validator to upload your template file.
next, start with the basics. Look at some other peoples work to see how a CSS file should be organized. Remember the "C" stands for cascading which means that a style you apply to a higher occuring element gets cascaded down and transfers automatically to the elements under it. I start with the *html, body, a:link’s etc... and declare them right away.
Feel free to reference any of my stylesheets. I would discourage copying and pasting, because when I personally do that, I learn less than when I type the style elements and look up the ones I don’t know at the
W3 Schools CSS reference .
you can find my current stylesheet and XHTML 1.1 template here:
http://scottydelicious.com/assets/templates/sdposter/sdposter.css
http://www.scottydelicious.com/assets/templates/sdposter/sdposter.html.txt
if you would like to review any of my published templates you may view the list here:
http://www.scottydelicious.com/assets/templates/
please feel free to ping me with any questions or hangups you run into. you can find my Instant Message info in my forum profile.
-sD-