May 18th, 2010 by Eric
Today I found a nifty little hack that appears so far to work for IE8 on STSoftware Support Forum. It apparently has to do with the fact that IE8 ignores multiple id selectors.
I decided to test it out on the infamous fieldset – legend IE bug. The display issue came to my attention not by IE, which had been fixed using the usual relative/absolute positioning fix. The “bug” reared its ugly head in Firefox 3.6, which now positions the legend absolutely from the top-right corner within the padding of the fieldset. This being the case, I had to make one of two choices:
- Eliminate the fieldset padding
- Eliminate the absolute/relative positioning built only for IE
I decided to go with option #2. However, to do this we had to preserve positioning one way in IE 6/7, and another way in IE8. This CSS ‘hack’ is actually more of an anti-hack. By that I mean, whatever styles are placed will affect all browsers except IE8. So let’s take a look at how this works.
Continue reading ‘A CSS Hack for Internet Explorer 8′
September 15th, 2009 by Eric
Today I encountered a problem that many developers will likely face while building a web application with Ajax, so I wanted to share my experience with it.
The Problem:
You create a web site with the goal of consuming content from the web. This may be in the form of a geocoding service, or perhaps a lightbox service for browsing images. You need to load an external resource though Ajax. The XMLHttpRequest object cannot make a connection, and you receive a javascript error, or a blank page. Continue reading ‘Writing a Cross-Domain Proxy in PHP’
February 1st, 2009 by Eric
After last week’s post highlighting the YSlow Firefox extension, I’ve decided to follow up on the topic of best practices with a brief post on the Minify Library. The Library was discovered when one of my coworkers was tasked with reducing the http requests of our various sites. Minify takes cares of that, and much more! Continue reading ‘The Minify Library’
January 24th, 2009 by Eric
As I was working on editing the new theme for my blog, I downloaded the Firebug developer’s toolkit to inspect an HTML element on my screen. After installing Firebug I got a series of other Add-on recommendations, most of which were tools that embedded into the Firebug interface. Once such tool was called YSlow. Continue reading ‘The YSlow Firefox Add-on’