A Cleaner way to Code CSS
February 12, 2007
I’ve recently been looking at installing a component called “LightBox” a hot little javascript / AJAX / CSS component that allows you to create some pretty cool things. Stay tuned for an up coming article about this component but in the meantime I wanted to talk a little bit about clean CSS coding
LightBox and LightBox 2.0 were written by a guy out of
- Grouping Your Styles – Why not keep it organized when it comes to CSS; makes it easier to edit and update further down the road
- Keep Track of your DIVs – If you get pretty complex in your CSS development then you’ll know how easy it is to misplace a DIV; remember to K.I.S.S. (Keep it Simple Stupid)
If you are interested in reading a little more of Lokesh’s post about Clean CSS practices then just click here.
Everyone has their own style when it comes to coding but the way that Lokesh presents it doing a clean and coherent CSS makes everyone’s world easier.
Luc
Comments
2 Responses to “A Cleaner way to Code CSS”
Got something to say?



[…] I talked about the other day in my CSS article, Lightbox, is a JavaScript/AJAX component used to give a slicker look and feel to Overlay Images on […]
Great points to remember when doing CSS .. and for coding in general, might I add.