ie conditional comments
Posted: Wed Oct 27, 2004 3:18 pm
just wanted to hear some opinions on why people commonly use hacks to
make ie behave, instead of conditional comments
my issue w/ (most, not all) hacks is that they may fail when the next version of ie is released.
to me, conditional comments seem like the most fail safe method of feeding(or restricting) styles to ie. I agree, its not always the easiest and fastest method,
but it always validates, and if used correctly, are very likely not to cause problems in future versions of ie.
now i do realize you cant accomplish everything w/ it that you can w/ hacks, but thats not what im referring to. Sometimes hacks are definately the best route, but at least in my experience, ive found conditional comments are the best choice, most of the time.
edited - ive changed the title and this post. i was using the term "conditional statements", when this is most commonly called conditional comments. sorry for the confusion
make ie behave, instead of conditional comments
my issue w/ (most, not all) hacks is that they may fail when the next version of ie is released.
to me, conditional comments seem like the most fail safe method of feeding(or restricting) styles to ie. I agree, its not always the easiest and fastest method,
but it always validates, and if used correctly, are very likely not to cause problems in future versions of ie.
now i do realize you cant accomplish everything w/ it that you can w/ hacks, but thats not what im referring to. Sometimes hacks are definately the best route, but at least in my experience, ive found conditional comments are the best choice, most of the time.
edited - ive changed the title and this post. i was using the term "conditional statements", when this is most commonly called conditional comments. sorry for the confusion