Neoseeker.com Forum Thread: [CSS]Stylesheet Organisation - page 1

reprinted from http://www.neoseeker.com/forums/
original thread: http://www.neoseeker.com/forums/36840/t1708345-css-stylesheet-organisation/


Author:   Fluroclad
Date:   Jan 09, 12 at 12:43am (PST)
Subject:   [CSS]Stylesheet Organisation
-------------------------------------------
Does anyone else here organise their stylesheets so you have resets and layouts in a separate stylesheet to the UI colours like I do?

What are your thoughts on designing like this? Do you find it better, worse easier to fix problems with the website?



Author:   BeZ
Date:   Jan 09, 12 at 12:17pm (PST)
Subject:   re: [CSS]Stylesheet Organisation
-------------------------------------------
I probably should organise my stylesheets better but I tend to just stick them all into one file unless they're for fixing IE problems.

I do try to keep some kind of order to the sheet though, like I'll begin with the top of the page (header, nav) then I'll do content, then the footer and I'll keep sections together to make it easier to find what I'm looking for.



Author:   harbin
Date:   Jan 09, 12 at 2:30pm (PST)
Subject:   re: [CSS]Stylesheet Organisation
-------------------------------------------
At some point, I will skim the stylesheets down by writing css styles in shorthand and grouping css rules to cut down on file size. I usually have one stylesheet, but for my new website, I'll probably break it up into a master css file for things such as body backgrounds, and the major design elements, and individual section style sheets for rules that would only be used on certain areas of the site.

Website optimization will be the last thing I do to the website after I've got all the content sorted, so the images are flattened .pngs and are converted into CSS sprites.


Copyright Neo Era Media, Inc. 1999-2014.
All Rights Reserved.