ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î


ºê¶ó¿ìÀú ¹öÀüüũ - IE Conditional Comments ÇÊÅ͸µ
13³â Àü
W3CÀÇ ±Ô°Ý¿¡ ÀÇ°ÅÇÏ¿© CSS Äڵ带 ÀÛ¼ºÇÏ´õ¶óµµ, °¢°¢ÀÇ À¥ ºê¶ó¿ìÀú¸¶´Ù À¥ ÆäÀÌÁö°¡ ´Ù¸£°Ô Ãâ·ÂµÇ´Â ¹®Á¦°¡ ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ ¹®Á¦´Â ºê¶ó¿ìÀúµéÀÌ CSS ±Ô°ÝÀ» Á¶±Ý¾¿ ¼­·Î ´Ù¸£°Ô Çؼ®ÇÏ°í Ãâ·ÂÇÒ »Ó´õ·¯, ¸î¸î ±Ô°ÝÀº ÀüÇô Ãâ·ÂÇÏÁö ¸øÇϱ⠶§¹®¿¡ ¹ß»ýÇÕ´Ï´Ù.

ÀÌó·³ ºê¶ó¿ìÀú°¡ CSS¸¦ W3C ±Ô°Ý°ú ´Ù¸£°Ô Ãâ·ÂÇϰųª, ÀüÇô Ãâ·ÂÇÏÁö ¸øÇÏ´Â ¹®Á¦¸¦ CSS Ãâ·Â ¹ö±×(CSS Rendering Bug)¶ó°í ÇÕ´Ï´Ù. CSS Ãâ·Â ¹ö±×´Â Ç¥ÁØÀ» ÁؼöÇÏ¿© À¥ ÆäÀÌÁö¸¦ Á¦ÀÛÇÒ ¶§ °¡Àå Å« °É¸²µ¹ÀÌ µË´Ï´Ù. W3C ±Ô°Ý ¿Ü¿¡µµ °¢°¢ÀÇ À¥ ºê¶ó¿ìÀúµéÀÇ CSS Ãâ·Â ÇöȲ¿¡ ´ëÇؼ­µµ ÀÌÇØÇØ¾ß Çϸç, ÀÌ·¯ÇÑ ¹ö±×µéÀ» Àâ´Â ¹æ¹ý±îÁö ÆľÇÇØ¾ß Çϱ⠶§¹®ÀÔ´Ï´Ù.

IE7, FF1~2, Opera9, Safarió·³ ÃÖ±Ù¿¡ Ãâ½ÃµÈ À¥ ºê¶ó¿ìÀúµéÀº W3C ±Ô°Ý¿¡ ¸ÂÃç¼­ CSS¸¦ Ãâ·ÂÇÕ´Ï´Ù. ¹®Á¦´Â IE6, NN7 ÀÌÇÏÀÇ ¿À·¡µÈ ºê¶ó¿ìÀúµéÀÌÁÒ. ƯÈ÷ ³ôÀº ºê¶ó¿ìÀú ½ÃÀå Á¡À¯À²À» ±â·ÏÁßÀÎ IE6 ºê¶ó¿ìÀúÀÇ CSS Ãâ·Â ¹ö±×µéÀÌ Å« ¹®Á¦ÀÔ´Ï´Ù.

ÀÌ·¯ÇÑ CSS Ãâ·Â ¹ö±×µéÀ» CSS Hack°ú FilteringÀ¸·Î ´ëóÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹Àü¿¡´Â CSS HackÀ» ¸¹ÀÌ »ç¿ëÇßÀ¸³ª, IE7ÀÌ Ãâ½ÃµÈ ÀÌÈķδ CSS FilteringÀ» ÁÖ·Î »ç¿ëÇÕ´Ï´Ù. ƯÈ÷ »ç¿ëÀÌ °£´ÜÇÏ°í MS¿¡¼­ ÃßõÇÏ´Â ¹æ¹ýÀÎ IE Conditional Comments Filtering(IE CC-ÇÊÅ͸µ)À» °¡Àå ¸¹ÀÌ »ç¿ëÇÕ´Ï´Ù.

ÀÚ¼¼È÷ º¸½Ã¸é º¸ÅëÀÇ HTML ÁÖ¼®¹® ¿¡¼­ Á¶±Ý Ãß°¡µÈ ÇüŶó´Â °É ¾Ë¼ö ÀÖ°ÚÁÒ?
if Á¶°Ç¹®ÀÌ ÂüÀÌ¸é ¾ÈÀÇ ³»¿ëÀÌ À¯È¿ÇÏ´Ù´Â ¶æÀÔ´Ï´Ù. Áï ÁÖ¼®À¸·Î 󸮵ÇÁö ¾Ê°í
È­¸é¿¡ ³ªÅ¸³ª°Å³ª ½ÇÇàµË´Ï´Ù. ¹Ý´ë·Î Á¶°Ç¿¡ ¸ÂÁö ¾ÊÀ¸¸é ±×³É ÁÖ¼®À¸·Î 󸮵ǰÚÁÒ.

IE 5.0 À̻󿡼­¸¸ ÀÛµ¿ÇÕ´Ï´Ù. 5.0 ¹Ì¸¸ÀÇ ¹öÀü¿¡¼­´Â ±×³É ÁÖ¼®À¸·Î ÀνÄÇÕ´Ï´Ù.


È°¿ë¿¹
<!--[if IE]>You are using Internet Explorer.<![endif]-->
<![if !IE]>You are not using Internet Explorer.<![endif]>

<!--[if IE 7]>Welcome to Internet Explorer 7!<![endif]-->
<!--[if !(IE 7)]>You are not using version 7.<![endif]-->

<!--[if gte IE 7]>You are using IE 7 or greater.<![endif]-->
<!--[if (IE 5)]>You are using IE 5 (any version).<![endif]-->
<!--[if (gte IE 5.5)&(lt IE 7)]>You are using IE 5.5 or IE 6.<![endif]-->
<!--[if lt IE 5.5]>Please upgrade your version of Internet Explorer.<![endif]-->

<!--[if true]>You are using an <em>uplevel</em> browser.<![endif]-->
<![if false]>You are using a <em>downlevel</em> browser.<![endif]>

<!--[if true]><![if IE 7]>This nested comment is displayed in IE 7. <![endif]><![endif]-->


Á¶°Ç¹®¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ¿ä¼Ò
Item Example Comment
IE [if IE] The only currently supported feature is the string "IE", corresponding to Internet Explorer.
value [if IE 7] An integer or floating point numeral corresponding to the version of the browser. Returns a Boolean value of true if the version number matches the browser version. For more information, see Version Vectors.
! [if !IE] The NOT operator. This is placed immediately in front of the feature, operator, or subexpression to reverse the Boolean meaning of the expression.
lt [if lt IE 5.5] The less-than operator. Returns true if the first argument is less than the second argument.
lte [if lte IE 6] The less-than or equal operator. Returns true if the first argument is less than or equal to the second argument.
gt [if gt IE 5] The greater-than operator. Returns true if the first argument is greater than the second argument.
gte [if gte IE 7] The greater-than or equal operator. Returns true if the first argument is greater than or equal to the second argument.
( ) [if !(IE 7)] Subexpression operators. Used in conjunction with boolean operators to create more complex expressions.
& [if (gt IE 5)&(lt IE 7)] The AND operator. Returns true if all subexpressions evaluate to true
| [if (IE 6)|(IE 7)] The OR operator. Returns true if any of the subexpressions evaluates to true.
true [if true] Always evaluates to true.
false [if false] Always evaluates to false.


Âü°íÀÚ·á
http://msdn.microsoft.com/en-us/library/ms537512.aspx
http://hooney.net/2007/08/27/451/
http://www.quirksmode.org/css/condcom.html
ÃßõÃßõ : 298 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
65
IIS¿¡¼­ JSP or Java Servlet µ¹¸®´Â ¹æ¹ý 1
64
ÅèĹ(Tomcat)ÀÇ ±â´É °³¿ä ¹× ¼³Ä¡ ¹æ¹ý
63
³»¿ëº¹»ç½Ã Ãâó ÀÚµ¿³Ö±â
62
Flash¿Í PHP¸¦ È°¿ëÇÏ¿© ¸ÖƼ ÆÄÀÏ ¾÷·Îµå ±¸ÇöÇÏ´Â ¹æ¹ý
61
linux ½Ã°£ ¸ÂÃß±â
60
¾ßÈÄ ¼¼°è Áöµµ È°¿ëÇϱâ, ¾ßÈÄ °Å±â Áöµµ ¿ÀÇ API ¸Å½Ã¾÷
59
´ÙÀ½ Áöµµ¸¦ ³» °ÍÀ¸·Î ¸¸µé±â, ´ÙÀ½ Áöµµ API ¸Å½¬¾÷
58
³ª¸¸ÀÇ ³×À̹ö Áöµµ ¸¸µé±â, Áöµµ API ¸Å½¬¾÷(Mashup)
57
ÀÚ¹Ù½ºÅ©¸³Æ®·Î Áöµµ ¸¸µé±â, ±¸±Û Áöµµ API ¸Å½Ã¾÷(Mashup)
56
jQuery ·Î ÅؽºÆ® ÀÔ·Â ¹Ú½º(TextArea)¿¡ Å©±â Á¶Àý ¸·´ë Ãß°¡Çϱâ.
55
Á¢±Ù¼ºÀ» ÇØÄ¡Áö ¾Ê´Â ÀÚ¹Ù½ºÅ©¸³Æ®ÀÇ »ç¿ë
54
display: [inline, block, none]
53
CSS line-height ¼Ó¼º, vertical-align ¼Ó¼º
52
CSS float ¼Ó¼º, clear ¼Ó¼º, z-index ¼Ó¼º
51
CSS display ¼Ó¼º, position ¼Ó¼º
50
CSS ¸¶Áø(margin) ¼Ó¼º, Æеù(padding) ¼Ó¼º
49
CSS overflow ¼Ó¼º, clip ¼Ó¼º, visibility ¼Ó¼º
48
IE6 ¿¡¼­ CSS¸¸À¸·Î(ÇپȾ²°í) position:fixed Çϱâ
47
IE 7 ¿¡¼­ dt, dd ÁÂÃø¿©¹éÀÌ »ý±â´Â ¹®Á¦
46
CSS visibility vs display
45
ÆÄÀ̾îÆø½º ¿¡¼­ ÇÚµå Ä¿¼­ ¾ÈµÉ¶§. cursor:hand -> cursor:pointer
44
CSS Æ÷Áö¼Å´×(Positioning)
43
CSS¿¡¼­ ºê¶ó¿ìÀú ±¸º° (IE6, IE7, FIREFOX)
42
CSS3 ¼Ò°³
41
Useful CSS Tips For Beginners
40
ÀÚÁÖ ¾²´Â ³»ÀåÇÔ¼ö (VisualBasic6)
ºê¶ó¿ìÀú ¹öÀüüũ - IE Conditional Comments ÇÊÅ͸µ
38
ºê¶ó¿ìÀú ¹öÀü(IE7 vs IE6)¿¡ µû¶ó Layer Y ÁÂÇ¥ À§Ä¡ º¯µ¿
37
·¹À̾î Àý´ëÁÂÇ¥/ »ó´ëÁÂÇ¥
36
À¥Ç¥ÁØ DTD¼±¾ð¹®
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.