Posts Tagged: CSS

Embedding PHP In CSS

April 18th, 2009 by Buddika Laknath | Tags ,

Interesting twist to CSS and PHP.

Perhaps one of the most frustrating aspects of using PHP with websites, is getting variables into CSS. Having variables stored in an ini file, config file or even a database can make the updating of the look and feel of a site simple, however, CSS files, by default, do not parse PHP.

Embedding PHP In CSS

Cufón – Fast text replacement with canvas and VML

February 26th, 2009 by Lakshan Perera | Tags ,

Cufón aims to become a worthy alternative to sIFR text replacements. Rather than depending on Flash and Images it uses canvas and VML (for IE) to render text with different font styles. Further it is painless to configure and works great with large amounts of text.

Give it a try!