title: How to make all the attributions in the css selector into one line with vim?
body: <p>Here is my css part of css file.</p>
  
  <pre><code>body{
      width:1100px;
      height:800px;
  }
  div.main{
      margin:20px auto 0 auto;
      background-color:#f7f7f7;
  }
  </code></pre>
  
  <p>I want to rewrite it as below.</p>
  
  <pre><code>body{width:1100px;height:800px;}
  div.main{margin:20px auto 0 auto;background-color:#f7f7f7;}
  </code></pre>
  
  <p>All attritutions and values rewritten as only one line,is there a smarty vim command to do the job?</p>