Learn how to optimize your CSS code for smaller, faster loading files. Uses shorthand properties, grouping, multiple selectors and other techniques to shrink your style sheets.
Learn how to embed images into your web pages with data URLs. The data: URI scheme includes images directly into your XHTML pages using code instead of external files, saving valuable HTTP requests.
more »
Learn how to "suture" CSS or JavaScript files together before delivery from the server to save HTTP requests. You'll have your organization and eat it too with this server-side approach to merging files.
more »
Learn how AOL and Yahoo! use CSS sprites to improve performance for their busy home pages. CSS sprites save HTTP requests by using CSS positioning to selectively display composite background images. To maximize accessibility and usability, CSS sprites are best used for icons or decorative effects.
more »
Learn how to create menu rollovers with different graphic backgrounds with one image. Save HTTP requests by combining on and off images into one mini-sprite and position with CSS.
more »
This article shows how to automatically highlight menu items that correspond to the current page using CSS and XHTML. These "you are here" waypoints help orient users and improve usability. Using CSS avoids the need for complex scripting which simplifies maintenance and improves performance.
more »
Learn how to create an eye-catching overlay with CSS positioning. This CSS-layout technique is faster than image slicing requiring fewer HTTP requests.
more »
Websites have become less accessible and more complex over time according to recent studies. Learn how to buck the trend by creating fast, accessible CSS forms that work with modern browsers and gracefully degrade.
more »
Learn how to create that 'bookend' look with lists and CSS positioning. This CSS-layout technique saves a significant amount of XHTML code over tables.
more »
Web page analysis and optimization tools can help locate and minimize performance bottlenecks. They can improve accessibility, spelling, XHTML markup, and even search engine visibility. We survey the webpage optimization tool landscape.
more »
Shorthand hex notation substitutes 3-character color values for 6-character colors when each of the color channels is identical in an RRGGBB hex triplet. Shorthand hexadecimal colors can help optimize your style sheets, especially when combined with shorthand properties and grouping.
more »
Descendant selectors are an elegant way to apply styles to specific areas of your page while reducing the need to embed classes within elements.
more »
You can group styles common to different rules into their own classes to save repeating yourself. By applying multiple classes to one element in CSS you can modularize your code to help optimize your style sheets.
more »
By grouping CSS selectors that share the same declaration and declarations that share the same selector you can apply multiple declarations to multiple selectors to optimize your style sheets.
more »
Grouping common declarations for the same selector in CSS allows you to apply multiple declarations to one selector to optimize your style sheets.
more »