Results 1 to 3 of 3

Thread: how can i minimize my css and javascript

  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    39
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    0
    Reputation
    20

    Default how can i minimize my css and javascript

    i have some css files that i want to minimize them and form a single file. How can i do this obviously keeping files in order



Look Here ->
  • #2
    Member Security's Avatar
    Join Date
    May 2008
    Posts
    319
    Thanks
    51
    Thanked 73 Times in 55 Posts
    Rep Power
    212
    Reputation
    400

    Default

    You can start by using the following example:

    Code:
    <style type="text/css">
    body {
    color: purple;
    background-color: #d8da3d }
    </style>
    Is this the sort of thing you are looking for?

  • #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    39
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    0
    Reputation
    20

    Default

    Not really. First of all i 'm a not a huge fan of css & html in same file. I wanted a solution to turn a css code into a single line, like:
    body{color: #000;background:#0072FF}#wrapper{background: #FFF}. To save some kilos. I haven't found any good script. I want to minify the file on every update from a source file where is well formated and easy to read
    Last edited by johnny.dacu; 14-07-10 at 06:18 AM.

  • 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
    •