ȨÀ¸·Î
| ¹«·áȸ¿ø°¡ÀÔ | ¾ÆÀ̵ð/ºñ¹øÃ£±â
ÃßõÀ½¾Ç¹æ¼Û
ºê¶ó¿ìÀú ¹öÀüüũ - IE Conditional Comments ÇÊÅ͸µ
12³â Àü
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
ÃßõÃßõ : 262 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
3,046
 Vimeo (ºñ¸Þ¿À) API ¸¦ »ç¿ëÇÏ¿© Ç÷¹À̾î ÄÁÆ®·ÑÇϱâ
3,045
 iframe »ç¿ë½Ã ÇÏ´Ü¿¡ ¹ß»ýÇÏ´Â °ø¹é Á¦°Å¹æ¹ý
3,044
 ¾ÆÀÌÇÁ·¹ÀÓ(iframe) Àüüȭ¸é °¡´ÉÇÏ°Ô Çϱâ
3,043
 ºÎÆ®½ºÆ®·¦(bootstrapk)¿¡¼­ »ç¿ëÇÏ´Â class¸í Á¤¸®
3,042
 ºÎÆ®½ºÆ®·¦ CSS
3,041
 Å©·Ò¿¡¼­ ¸¶Áø Á¶Àý
3,040
 PHP ÇöÀç ÆäÀÌÁöÀÇ µµ¸ÞÀθíÀ̳ª urlµîÀÇ Á¤º¸ ¾Ë¾Æ¿À±â
3,039
 PHP preg match all()
3,038
 PHP ·Î À¥ÆäÀÌÁö ±Ü¾î¿À±â ¸ðµç ¹æ¹ý ÃÑÁ¤¸®!
3,037
 [PHP] ¿ø°ÝÁö ÆÄÀÏ ÁÖ¼Ò ³ëÃâ ¾ÈÇϰí curl·Î ´Ù¿î·Îµå ¹Þ±â
3,036
 PHP ÇÔ¼ö Á¤¸®
3,035
 ¾ÆÀÌÇÁ·¹ÀÓ(iframe) ºñÀ² À¯ÁöÇϸ鼭 Å©±â Á¶ÀýÇÏ´Â ¹æ¹ý
3,034
 PHP ¹è¿­¿¡¼­ ¹«ÀÛÀ§·Î Çϳª »Ì¾ÆÁÖ´Â array rand() ÇÔ¼ö
3,033
 PHP Á¤±Ô½Ä Á¤¸®
3,032
 PHP Á¤±Ô½ÄÀ» Ȱ¿ëÇÑ ÅÂ±× ¹× ƯÁ¤ ¹®ÀÚ¿­ Á¦°Å ¹× ÃßÃâ ¹æ¹ý
3,031
 php Å©·Ñ¸µ ¶Ç´Â ÆÄ½Ì ÇÔ¼ö, Á¤±Ô½Ä ¸ðÀ½
3,030
 Á¦ÀÌÄõ¸® ±âº» ¸í·É¾î
3,029
 À¥ÆäÀÌÁö °¡·Î ¸ðµå¼¼·Î ¸ðµå ÀνÄÇϱâ
3,028
 ¸ð¹ÙÀÏ À¥ È­¸é °­Á¦ ȸÀü(°¡·Î¸ðµå °íÁ¤)
3,027
 [HTML5]¿¡¼­ frameset ´ëü ¹æ¹ý°ú iframe ¼Ó¼º
3,026
 HTML <Audio> »ç¿ë¹ý
3,025
 À©µµ¿ì10 ½Ã½ºÅÛÆÄÀÏ ¼Õ»ó (Ãʰ£´Ü ¿À·ù º¹±¸¹æ¹ý!!)
3,024
 PHP ÆÄÀÏ Á¸Àç ¿©ºÎ ÆÄ¾ÇÇϱâ(·ÎÄà ÆÄÀÏ Á¸Àç ¹× ¿ø°ÝÁö ÆÄÀÏ Á¸Àç)
3,023
 [CSS] ¹Ú½º ¼¼·Î °¡¿îµ¥ Áß¾Ó Á¤·Ä 6°¡Áö
3,022
 CSS Layout ¼öÆò & ¼öÁ÷ Á¤·Ä
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
Copyright (C) musictrot All rights reserved.