Hey guys.. Right now i have on my site around 6 css files, my programmer said its better and faster. Is that right? is that better if there is multiplate css files? Thanks alot, Marco.
It's up to you. I prefer using 1 css file, but using more than 1 is fine, especially if your site is big. Using more than 1 css file actually makes editing easier. Like having a css file for the header, one for content and one for the footer. It doesn't change much though.
1 CSS file = 1 HTTP request. I think 1 css file will probably be fastest than few file, if you use compressor it's even faster. Read this http://stackoverflow.com/questions/995106/how-to-manage-css-files-the-best-way http://www.queness.com/post/588/15-ways-to-optimize-css-and-reduce-css-file-size
You have ctrl+F... put it all in one css file. The only time I ever make more than one css file is for "printer-friendly" versions of the same site where i want to add "display:none" or change the background to white. In that case, the page still only calls one .css file, just a different one.
there is another trick you could use as well. I load separate style sheets on my portfolio page for instance using lazyloading with javascript. That way no unused code is loaded on the page where it is not needed. And as mentioned ALWAYS compress your code. Either via htaccess or a compressor. I put all my stuff through minify. Great tool.