Put your CSS on a diet

[url=http://www.communitymx.com/] Community MX[/url] has an article up on how to [url=http://www.communitymx.com/content/article.cfm?cid=A43B828960590F55]reduce the size of your CSS[/url], which should reduce download times. The tips are practical and clearly stated, with a good focus on the practices that will get a good space reduction most of the time. The sections on shorthand properties and multiple declarations are the best in my opinion. Knowing shorthands makes your CSS more succinct and easier to read. Multiple declarations can make things more confusing if your declarations aren't close to each other. The upside is that if they're used well, multiple declarations will reduce your maintenance work by logically grouping related attributes of several styles in one spot. Overall it's a good read. If you have any other CSS tips to share or opinions on the article, go ahead and speak your piece.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor, sorry but we need it to help prevent automated submissions.
"balky doits jubas overt louse overt"