471,599 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Compress CSS Files

Hello,

Are there tools to compress CSS files?
My CSS Files are usually big because of comments and the way I write
them so that it is easy to read.

Thanks,
Miguel

Oct 3 '07 #1
3 2018
On 2007-10-03, shapper <md*****@gmail.comwrote:
[...]
When I said "Compress CSS files" I didn't mean using zip files.
I was talking about making the file smaller by removing comments and
making a style:
.style
{
...;
...
}

In something like:
.style {...;...;}
Well that's not much smaller in terms of number of bytes, but is less readable.
I found the following:
http://csstidy.sourceforge.net/

I was looking for other tools as this.
But I thought you said the reason they were big was because you'd made
them readable?

Readable is more important than small. If they are readable, then leave
them alone.
Oct 3 '07 #2
Readable is more important than small. If they are readable, then leave
them alone.
Only if you are the author. If you're the end-user, and your internet
connection is a slow modem, then size is all that matters.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 4 '07 #3
On 4 Oct, 08:28, Steve Swift <Steve.J.Sw...@gmail.comwrote:
If you're the end-user, and your internet
connection is a slow modem, then size is all that matters.
A slow _non-compressing_ modem.
Whitespace in HTML compresses quite nicely with any technology after
some time around 1990

Oct 4 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tony | last post: by
1 post views Thread by Marc Jennings | last post: by
5 posts views Thread by ad | last post: by
2 posts views Thread by ad | last post: by
3 posts views Thread by dust | last post: by
6 posts views Thread by Champika Nirosh | last post: by
1 post views Thread by =?Utf-8?B?U2NobWVuZ3k2OQ==?= | last post: by
6 posts views Thread by =?Utf-8?B?V2F5bmUgR29yZQ==?= | last post: by
2 posts views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.