Code
Web Directions North 2008
October 17, 2007, 7:44 AM | 0 Comments
Web Directions North is coming back to Vancouver, Canada for the second straight year! Last year I was fortunate enough to attend the conference and I really hope I can make it again this winter.
IE Conditional Comment Update
October 20, 2006, 12:53 PM | 2 Comments
Well, with Internet Explorer 7 now released to the public, I thought I’d post a short update to a post I wrote back in May about Serving Up IE Specific Stylesheets.
IE 7 is better than IE 6 as it should be; it only took Microsoft 5 years between releases and a lot of things have changed since then. From a developer’s standpoint though, IE 7 is significantly better with its CSS support. Transparent PNGs are in, dotted 1 pixel borders are actually dotted (as opposed to dashed), the “double-float margin bug” is history, the :hover pseudo-class is supported across the board, etc. etc. etc.
Serving Up IE Specific Stylesheets
May 17, 2006, 7:31 PM | 0 Comments
Yesterday Nathan Smith posted a few thoughts on using CSS hacks (specifically the * html hack) inside your main stylesheets. There has been a lot of talk recently on what’s going to happen to sites that use a lot of IE specific hacks once Internet Explorer 7 is officially released, and the consensus is that it’s best to serve up specific stylesheets for IE and leave out hacks all together.
I whole-heartedly agree with this opinion and have been practicing this technique for a while now. If you’ve read my article on how to use transparent PNG images in IE, you should already be familiar with these methods. I realize that this is not a new technique that I’m posting, but for those of you who haven’t seen it on this site or anywhere else on the web before, I thought it would make a nice addition to my collection of CSS Tips.
Using Transparent PNGs in Internet Explorer
March 25, 2006, 11:45 AM | 10 Comments
Up until a couple of weeks ago, I thought that there was no way to use transparent or semi-transparent PNG images in IE. I was wrong. My only excuse is a bad one too: I read it somewhere.
The truth is that there is a pretty good way to use transparent PNG images with CSS. It’s not without its drawbacks (I’ll get into those later) and it doesn’t use valid CSS, but while we wait for PNGs to be fully supported by all major browsers, it seems to me that it’s a fairly good solution.
Continue reading Using Transparent PNGs in Internet Explorer »
Securing PHP Mail Forms
February 25, 2006, 12:40 PM | 0 Comments
Over the past several days, I’ve been doing a fair amount of research on PHP’s Mail function and the specific vulnerabilities that it suffers from. Because of the way the Mail function works, there are specific ways that hackers or spam-bots can utilize seemingly innocent forms to spread their spam.
Now don’t get me wrong, I’m not criticizing PHP’s Mail function or it’s developers in any way. On the contrary, I find that PHP’s Mail function is well thought out and very powerful. However, to quote a line from the movie ‘Spider-Man:’
