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

ºê¶ó¿ìÀú ¹öÀüüũ - 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
ÃßõÃßõ : 292 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
2,885
input ÀÔ·Â ÇÊµå ¾ÕµÚ °ø¹é ½Ç½Ã°£ Á¦°Å
2,884
Placeholder Æ÷Ä¿½º½Ã °¨Ãß±â
2,883
MySQL Áߺ¹µÈ µ¥ÀÌÅ͸¦ »èÁ¦
2,882
MySQL Áߺ¹ µ¥ÀÌÅÍ È®ÀÎ
2,881
sessionStorage.getItem ¿Í sessionStorage.setItem
2,880
Á¦ÀÌÄõ¸® ·£´ýÀ¸·Î ¹è°æ»ö º¯°æ
2,879
preg match¿¡ °üÇÑ Á¤±Ô½Ä
2,878
Stream an audio file with MediaPlayer ¿Àµð¿À ÆÄÀÏ ½ºÆ®¸®¹Ö Çϱâ
2,877
Audio Streaming PHP Code
2,876
PHP $ SERVER ȯ°æ º¯¼ö Á¤¸®
2,875
Vimeo (ºñ¸Þ¿À) API ¸¦ »ç¿ëÇÏ¿© Ç÷¹À̾î ÄÁÆ®·ÑÇϱâ
2,874
iframe »ç¿ë½Ã ÇÏ´Ü¿¡ ¹ß»ýÇÏ´Â °ø¹é Á¦°Å¹æ¹ý
2,873
¾ÆÀÌÇÁ·¹ÀÓ(iframe) Àüüȭ¸é °¡´ÉÇÏ°Ô Çϱâ
2,872
ºÎÆ®½ºÆ®·¦(bootstrapk)¿¡¼­ »ç¿ëÇÏ´Â class¸í Á¤¸®
2,871
ºÎÆ®½ºÆ®·¦ CSS
2,870
Å©·Ò¿¡¼­ ¸¶Áø Á¶Àý
2,869
PHP ÇöÀç ÆäÀÌÁöÀÇ µµ¸ÞÀθíÀ̳ª urlµîÀÇ Á¤º¸ ¾Ë¾Æ¿À±â
2,868
PHP preg match all()
2,867
PHP ·Î À¥ÆäÀÌÁö ±Ü¾î¿À±â ¸ðµç ¹æ¹ý ÃÑÁ¤¸®!
2,866
[PHP] ¿ø°ÝÁö ÆÄÀÏ ÁÖ¼Ò ³ëÃâ ¾ÈÇÏ°í curl·Î ´Ù¿î·Îµå ¹Þ±â
2,865
PHP ÇÔ¼ö Á¤¸®
2,864
¾ÆÀÌÇÁ·¹ÀÓ(iframe) ºñÀ² À¯ÁöÇϸ鼭 Å©±â Á¶ÀýÇÏ´Â ¹æ¹ý
2,863
PHP ¹è¿­¿¡¼­ ¹«ÀÛÀ§·Î Çϳª »Ì¾ÆÁÖ´Â array rand() ÇÔ¼ö
2,862
PHP Á¤±Ô½Ä Á¤¸®
2,861
PHP Á¤±Ô½ÄÀ» È°¿ëÇÑ ÅÂ±× ¹× ƯÁ¤ ¹®ÀÚ¿­ Á¦°Å ¹× ÃßÃâ ¹æ¹ý
2,860
php Å©·Ñ¸µ ¶Ç´Â ÆÄ½Ì ÇÔ¼ö, Á¤±Ô½Ä ¸ðÀ½
2,859
Á¦ÀÌÄõ¸® ±âº» ¸í·É¾î
2,858
À¥ÆäÀÌÁö °¡·Î ¸ðµå¼¼·Î ¸ðµå ÀνÄÇϱâ
2,857
¸ð¹ÙÀÏ À¥ È­¸é °­Á¦ ȸÀü(°¡·Î¸ðµå °íÁ¤)
2,856
[HTML5]¿¡¼­ frameset ´ëü ¹æ¹ý°ú iframe ¼Ó¼º
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.