Script Style
The mini fonts on this site are designed especially for the screen. Like terrazzo tiles in a mosaic, they are designed on a strict grid - exactly the same grid as the pixels on your computer screen. Each 'tile' has to be a certain fixed size and must butt-up to its neighbor exactly. This means that you can't scale them, they have to be used at their designed sizes, or exact multiples. It also means that you have to work in pixels and not in traditional points. |
By invalidating my entire site with this one line of code, I ensure that I am made aware the instant it matters. The instant this stuff starts to break anything in the real world, I will know. If I only had a few small errors on a few random pages around my site, I could easily miss the day when "the big switchover" happens and wind up with broken pages I don't know about. And since this code is in the form of a server-side include, I can freely remove it with a few clicks. |
Easy CSS Compression with PHP and mod_rewrite One of the most important aspects of having a website is speed. I looked into some CSS compression ideas, but I wanted one script that would read a CSS or a javascript file and automatically strip any white spaces out, and return a more compressed CSS file. This article shows you how to set up your own solution that works the same way. |
Handy Tips for Creating a Print CSS Stylesheet Print stylesheets often come as a secondary thought on many websites, after all, who prints a webpage anyway? Despite their slightly infrequent use, a print stylesheet can really help polish the printed document for when it is used. It doesn't take too long to create, so let's take a look at some handy tips that you can put into practice on your own site. |
Comments
Post a Comment
Thanks
Warm regards,
Karthikeyan.T
tkarthikeyan@gmail.com
www.carthworks.com
Call us 09445 2772 06