As you likely know, IE6 (and below) cannot handle PNG images that use alpha transparency. PNG produces graphically superior results compared to a transparent GIF image, which will often have a white fuzzy border. There are various "fixes" for this particular IE problem on the Web, but sometimes their application can have undesirable results, or the fix involves invalid XHTML or CSS. In my case I was prepared to accept grey backgrounds on the mini-icons used on bioneural.net, but there was one particular image where this really bugged me. Here's how I fixed it.
Continue reading 'Valid fix for PNG transparency on a single image'
Tag archive for 'javascript'
In an earlier post I described a JavaScript-based method to include recently-approved iStockPhoto images in a page on your website. When I migrated from a static blogging system (iBlog) to WordPress I found a useful plugin that worked very well in MAMP. Unfortunately it broke when I moved my developmental site to a live DreamHost server. Here is a bit more background to the problem and an eventual solution that uses SimplePie. Although the focus here is on displaying photographs, it's a solution that should work with practically any feed you might wish to embed.
Continue reading 'Embedding iStockPhoto feeds revisited'
I recently spent an extortionate amount of time adding a site preferences panel to my site design. It's a solution composed of many parts, put together piece-by-piece with the knowledge and assistance of several Netizens. It is by no means perfect and certainly not indispensable—but it sure put my tinkering skills to the test. It surprises me how obscure information about adding site preferences is; Google searches on the subject have a high signal-to-noise ratio, and a couple of e-mail enquires to webmasters went unanswered. In keeping with my blog's tagline, here is the "stuff worth sharing". But mostly, as usual, I document the process mainly so I can remember how it was put together!
Continue reading 'Adding a site preferences panel'
Lightbox JS v2.0: Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers.
Nifty Corners: Basically, Nifty Corners are a solution based on CSS and Javascript to get rounded corners without images.
Cheatsheet (1-page PDF) by Amy Hoy.








