2

I would like to know how to remove all comments in CSS file and make all rules into one line.

I do have access to Dreamweaver CS4.

Thank you

1

5 Answers 5

3

http://developer.yahoo.com/yui/compressor/

Sign up to request clarification or add additional context in comments.

Comments

2

Here's another one: CSS Compressor

Comments

2

if you can run PHP, you can do it one of these ways. benefit of keeping the code readable for yourself and only on rendering it is minified.

http://www.catswhocode.com/blog/3-ways-to-compress-css-files-using-php

you also have the YUI compressor: http://refresh-sf.com/yui/

also look up the minify project. It combines multiple CSS and JS files and minifies them as well.

1 Comment

The first link you gave me is not related to this question. thank you
1

YUI compressor does CSS as well as JS.

Comments

1

Google gave me this: CSSCompressor.

See also “CSS Minimzer ?” on StackOverflow.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.