Displaying Percentages with CSS

In turning this part of the design into something flexible on the website I saw two options; clever CSS, or ‘Lots of Images’. I decided that ‘Lots of Images’ was a bad idea:

  • If they were generated in PHP you’ve got that extra overhead
  • For each percentage bar you’d need to download another image – extra bandwidth & slower for the user
  • Could get difficult for a designer to update (and, it’s an image after all)

Get Source here

Related Posts :

Posted on Friday, November 19th, 2010 at 3:42 am | Category: CSS |

Site Meter