• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Advanced CSS Optimization > Optimizing CSS Rules

Optimizing CSS Rules

Here you get to put the techniques you learned in Chapter 7, “CSS Optimization,” to work and see whether you can optimize WebReference's old style sheet (see Listing 8.1).

Listing 8.1. Webreference.com's Original Style Sheet

<style type="text/css">
<!--
form.tb{display:inline;}
.h{text-decoration:none;font-size:9pt;font-family:geneva,arial,sans-serif;}
.c{font-size:80%;font-family:arial,geneva,sans-serif;}
.d{font-size:70%;font-family:arial,geneva,sans-serif;}
dt{font-weight:bold;font-size:120%;margin-top:.8em;}
.w{font-size:125%;font-family:verdana,sans-serif;color:#660099;}
.NSlyr{width:119;position:absolute;visibility:hidden;}
a:hover{background-color:#ffdd33;}
-->
</style>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint