How to style HTML file upload with CSS?

Styling <input type=”file”> is problematic, because most of the browsers don’t apply any styling to it.
But there is a nice hack, which works in major browser (including Firefox and Internet Explorer).
You just need to place a span, and in that space- nice looking text field which will imitate upload field and then the right upload [...]

How to compress CSS files with PHP?

In this post I will present a class I wrote for CSS compression. I know there are some scripts which can do this, but maybe someone will find mine somehow better :)

The code is simple and the whole thing runs fast. It removes unnecessary elements such as comments, whitespaces, tries to compress colors and so on. It can also output gzip compressed CSS.

 
TopOfBlogs Web Development & Design Blogs