Hi John, is there any way that I can email you direct so as not to spam the board with my questions regarding this product? With Regards, Jaime Wong ~~~~~~~~~~~~~~~~~~~ SODesires Design Team http://www.sodesires.com ~~~~~~~~~~~~~~~~~~~ -------Original Message------- From: [EMAIL PROTECTED] Date: 4/03/2004 6:18:40 AM To: [EMAIL PROTECTED] Subject: Re: [WSG] Ways to minimise CSS file Jaime, > I have been thinking if there are any ways to minimise CSS files as my > css files are growing bigger and bigger.There are so many different > ways to write the CSS codes but which way is the most efficient way so > to save space but still looks neat. > > I haven't been able to find a writeup on this in the net. Anyone has > any suggestion? I guess its a matter of taste. Because whitespace is in essence ignored, you can add formatting as you please. A couple of very common formats are p { color: red; font-size: 1em; } p { color: red; font-size: 1em; } p {color: red; font-size: 1em;} I kind of like the properties on separate lines, and even tabbing them in to make them more obvious Now, at the risk of sounding promotional, Style Master, which I am one of the developers of (by the way, it is Australian, for what it's worth, don't let the .com address fool you :-) has a Format Style Sheet feature. You simply format a dummy rule in the options/preferences window, then you can apply this to any style sheet. Style aster will automatically format your style sheets as you go, when you use its editors. BTW, we've just upgraded Style Master to 3.5. It's for Mac and Windows, and you can get more information here. http://www.westciv.com/style_master/ And even though my partner at westciv, Maxine, will kill me (don't tell her ok) for WSG members here is a little special offer. Get Style Master for US$49.99 instead of $59.99, but only here https://order.kagi.com/cgi-bin/store.cgi?storeID=WC3&& and only for a limited time (until Maxine finds out :-) thanks, john John Allsopp :: westciv :: software, courses, resources for a standards based web style master blog http://westciv.typepad.com/dog_or_higher/ http://www.westciv.com/
***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
