Quote:
Originally Posted by mikoleg
Just an advice from experienced css/xhtml developer. The spaces you created on css are simply useless. Save your bits taking the spaces off! The cleanest and the best optimized css file shell fit in one line per class, id. Just separate the blocks of related styles and if you are good enough you would easily read it and follow the code. Why to do so.. its simple, you save your bits of code and loading time. The search bots will go through the file faster and yeah it might not be that much time save but line by line you optimize everything.
Sample:
.porn {background:#fff; color:#000; font-size:1em; width:200px; height:100px;}
Cheers.
|
Thanks! I will probably do that. During the design it is a lot easier for me to seperate everything... keeps it clean and organized for me... but now that it is done... you have a good point. Thanks!