Expression Web CSS - CSS Quick Tips

Tina Clarke

What is CSS? (Cascading style sheets) CSS give you control over the presentation of your content in your pages. By implementing CSS, you can set the appearance of elements on a web page. A CSS can be external, internal, or inline.

Learning the shortcuts for CSS usage will cut down on your maintenance time.



Remove comments in styles quickly

Want to cut down the bytes on your CSS sheet? Perhaps your using a CSS sheet made by a third party? Commenting is pretty useful, but when you have absorbed and learnt why a style is being used, they become redundant, besides you can always keep a back up store to refer to. So it makes sense to lessen the load and cut down the bytes by removing comments in your CSS sheet.

Instead of having to do it manually within your external style sheet, pop the styles into an embedded sheet in a blank page and tick the 'Word html' selection under 'Remove Generated HTML' in the 'Optimize HTML' dialog box when you right click in Code View.

Save time with saving files

When saving a template and a CSS file, first save the template as it will automatically bring up the Save CSS dialog box. Thereby saving you a step..














The NEW Expression Web Tip 27 - Use a web.sitemap File for Navigation is available ONLY in the current issue of Any Expression Web Tips ezine Why wait? Sign up today.

Tina Clarke Signature.
Cheshire Web Designs - Cheshire website Designs by Any Expression Web Designs
Owner Any Expression Web Designs and Clarke Abstract Art

Copyright © 2006 - 2011 Tina Clarke of Any Expression Web Designs All Rights Reserved

Are you looking for a Web Designer?
Web Designs created by Any Expression Web Designs