Conditional Comments

Internet Explorer has this wonderful thing called conditional comments.

All browsers should support conditional comments. Something off 1 pixel in safari? No Problem. add a style that moves that one element 1 pixel over for that browser. Problem is fixed, without pulling out any hair.

No more dirty-as-all-hell CSS Hacks because one browser handles something slightly different than another (or has a nasty bug in one version).

Now, back to trying to figure out how to move something 3 pixels to the right in Safari, but not in Firefox or IE.

Comments are closed.