Check out my latest project: Code Dumper

Archive for the "css" Tag

How to detect if a font is installed (only using JavaScript)

In the pursuit of an idea I had recently, one tiny feature of the web site would be to detect whether the user had X font installed. I've looked at flash solutions, since a SWF had access to enumerate the fonts, but ultimately if it could be done without flash, it would/should be faster and smarter. So [...]

It's not 800x600

This is something that I've been include in my personal projects for some time now, but it's come up again for a client, so I thought I'd share: The optimum browser dimensions are not: 800x600 or even 1024x768. You're close, but wrong. Here's why.

Fixing IE overflow problem

Until recently, I didn't know IE (both 6 and 7) had an overflow problem. But it does. I found it on my personal blog, and my pet project: jQuery for Designers - it's particular visible because I use a lot of code examples. Here's a detailed account of the problem, and it's fix.

Accessible, degradable style control - part 2

As promised, the second instalment of accessible, degradable style control (that follows part 1). This entry will cover style sheet control, and although this has been covered by other posts in the past, often they rely entirely on JavaScript. This method does not.

Plain and simple

Cameron Moll gave a presentation at dConstruct 2007. At one point during the presentation, he demonstrated how he checked that the typography still held the weight on the National Gazette front page redesign (pg. 42). Since they're fun nuggets of code, I've written a simple bookmarklet that strips colour, images and background decoration from the page, leaving [...]

When links in ULs don't work in IE

In redesigning my business web site: Left Logic I came across a particularly frustrating bug that took me a good deal of time to find the source of. Since I couldn't find any info out it on the Internet, I thought it would be worth posting. IE, both IE6 and IE7, in the following example, [...]

Pretty in Print: tips for print styles

Printing web pages is often forgotten about and there's nothing more annoying than printing out a web page that comes out in one long, half page width column spanning 5 pages when it should be 2. You don't need to have a completely separate page for print either. All too often we see web sites [...]