The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Organising your CSS

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #24153

    Hey guys, I’m attempting to tidy up my code at the moment and I’m interested to know how everyone manages their CSS. I’m trying to find the best, logical way of doing so.

    Here’s my CSS from my recent website: (it’s all over the place & it doesn’t validate at the mo :oops: )

    As you can see I’ve tried to add a typography section but I find when I was playing around with the styling to see how things looked it seemed much more logical to have sections of style that related to section of content. Instead of having to update multiple sections of code.

    For example, I have a flickr widget that has my photos, a title etc. To update the font, background colour, structure etc I’d much rather go to one section in the CSS to do that then alter the typography in one area, then the structure in another and so on.

    I’m interested to read your thoughts on this process.


    this is personal I think,

    what I normally do, comment it all out, and try to make sure it is sort of logical, for example, body, wrapper, header, sidebar, mainbody, footer, and have all of their css within those area.

    then any other stuff comment it as such, hopefully it all goes hand in hand, but if it is only you that is going to be loking and updating the code, then somehting you understand is beter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.