SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist kuhajeya's Avatar
    Join Date
    Sep 2003
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how do you organise your style elements in file?

    how do you have your style elements in file?

    is it good to have it in albhabetical order or functional wise? or any othe suggestions?

    and let me know how do you organize your javascript functions as file.

    thanks
    A CODE without a BuG is meaningless!!!

  2. #2
    SitePoint Enthusiast wildsue's Avatar
    Join Date
    Oct 2003
    Location
    Switzerland
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello!
    I sort my css files like that: first the usual and often same things like html, body {padding:0; margin: 0;} and then I make underdivisions with comments like: /* --- navigation --- */ here comes everything for the navigation /* --- end of navigation --- */.
    This way the chance to refind something for changes is higher ;-)
    My javascript files are organized like this: usual javascript in one file like for window.defaultStatus and special scripts separated in their own file.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •