18 Comments
- wrinkles, on 10/12/2007, -0/+1way... too... basic...
not dugg - mike_p, on 10/12/2007, -0/+0@404notfound: Yeah ain't it the truth (the C in CSS remark)...
It's funny, I actually write my CSS code like this because i'm wayyy too anal about how neat my code has to be. If you need to edit (or use PHP to edit for dynamic CSS), it's imperative to keep neat and easily readable code.
It may be simple, but the reasoning behind it is logical.
+ Digg - lagerbottom, on 10/12/2007, -0/+0I do think the tips are good. However claiming "This is impossible to edit" is a little dumb.
- 404notfound, on 10/12/2007, -0/+0Tip number 4 is sage advice. You'd be surprised how many amateur web designers seem to completely overlook the C in CSS. Dugg.
- ShaolinTiger, on 10/12/2007, -0/+0Nice and simple and practical, just how I like it.
- down, on 10/12/2007, -0/+0Great advice for people just starting out. This stuff really helps make your code a lot easier to go back and edit later.
- UGM2099, on 10/12/2007, -0/+0noice, ive been organizing a nice big stylesheet for a couple days so i'll put some of these techniques in to practice.
- UGM2099, on 10/12/2007, -0/+0ooh love the
/* -----------------------------------*/
/* ---------->>> GLOBAL - cdharrison, on 10/12/2007, -0/+0Not bad. I've utilized some of these tips, but feel like one in particular that is VERY useful, especially to me... is keeping selectors logically organized, both by ordering them alphabetically, and by organizing attributes for each selector alphabetically. By doing this, it's easier to work with the selectors... because you cut down on the amount of time one would spend looking for particular attributes to modify in their CSS...
- inactive, on 10/12/2007, -0/+0its a lot easier to just use this:
http://flumpcakes.co.uk/css/optimiser/
and check pretty print - dxxb, on 10/12/2007, -0/+0simply good. +digg
- h4lfl1ng, on 10/12/2007, -0/+0Good resource for those starting out. Read it you nubs.
- gculliss, on 10/12/2007, -0/+0Great stuff!
- smoothoperatah, on 10/12/2007, -0/+0if you use dreamweaver you can replace the default css file located here:
(C:Program FilesMacromediaDreamweaver 8ConfigurationDocumentTypesNewDocumentsDefault.css)
with a template you already have divided out into sections. That way you always start with a nice css palette. - heathenx, on 10/12/2007, -0/+0nice. i shaved about 1.5 kb off of my css file size.
+digg - inactive, on 10/12/2007, -0/+0The 2nd tip is terrible misinformation. Many browsers choke on the simplest of shorthands, and creating code that produces the same results across browsers is often impossible using shorthands.
- DevilsEnigma, on 10/12/2007, -0/+0Great link. +digg
- inactive, on 10/12/2007, -1/+0+++Good resource + DIGG
-----------------------
http://ezbuzz.blogspot.com/


What is Digg?