View Single Post
Old 06-30-2008, 02:19 PM  
phil-flash
Confirmed User
 
phil-flash's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Florida
Posts: 649
Quote:
Originally Posted by mikoleg View Post
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!
phil-flash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote