Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 3rd, 2007, 05:05 PM
shapper
Guest
 
Posts: n/a
Default 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

  #2  
Old October 3rd, 2007, 05:45 PM
Ben C
Guest
 
Posts: n/a
Default Re: Compress CSS Files

On 2007-10-03, shapper <mdmoura@gmail.comwrote:
[...]
Quote:
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.
Quote:
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.
  #3  
Old October 4th, 2007, 08:35 AM
Steve Swift
Guest
 
Posts: n/a
Default Re: Compress CSS Files

Readable is more important than small. If they are readable, then leave
Quote:
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
  #4  
Old October 4th, 2007, 10:15 AM
Andy Dingley
Guest
 
Posts: n/a
Default Re: Compress CSS Files

On 4 Oct, 08:28, Steve Swift <Steve.J.Sw...@gmail.comwrote:
Quote:
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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles