ÅؽºÆ® ±ÛÀÚµéÀÇ ·¹ÀÌÀÌ¿ôÀ» ÁöÁ¤ÇÏ´Â º¹ÇÕ ¸í·ÉÀ¸·Î ¹®¼­ÀÇ ±×¸®µå(grid) ¼Ó¼ºµéÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
cssSelector : (½ºÅ¸ÀÏ ¼±ÅÃÀÚ)
¼Ó¼ºÀ» °¡Áú¼ö ÀÖ´Â ¿¤·¹¸àÆ®()³ª Ŭ¶ó½º(class) À̸§ ȤÀº ÀνÄÀÚ(id)ÀÌ´Ù.

: (¼Ó¼º ¹®ÀÚ¿­)
½ºÅ¸ÀÏ ¼Ó¼ºÀº ÅؽºÆ® ±ÛÀÚµéÀÇ ·¹ÀÌÀÌ¿ôÀ» ÁöÁ¤ÇÏ´Â ´ÙÀ½ ³»¿ëµéÀ» ¼øÂ÷ÀûÀ¸·Î ¿­°ÅÇÑ ¹®ÀÚ¿­ÀÌ´Ù.

(mode) layoutGridMode ¼Ó¼º¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ¸ðµå(mode) °ª ÁõÀÇ ÇϳªÀÌ´Ù.
(type) layoutGridType ¼Ó¼º¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â Çü½Ä(type)°ª ÁõÀÇ ÇϳªÀÌ´Ù.
(line) layoutGridLine ¼Ó¼º¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ÁÙ(line)°ª ÁõÀÇ ÇϳªÀÌ´Ù.
(char) layoutGridChar ¼Ó¼º¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ±ÛÀÚ(character)°ª ÁõÀÇ ÇϳªÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ´Ù. ÀÌ ¼Ó¼ºÀÇ µðÆúÆ®°ªÀº both loose none noneÀÌ´Ù.

CSS(Cascading Style Sheets) ¾ÖÆ®¸®ºäÆ®´Â »ó¼ÓµÈ´Ù.

Ư±â

Áß±¹¾î, ÀϺ»¾î¿Í °°Àº ¾Æ½Ã¾Æ ¾ð¾îµé¿¡¼­ ÀϹÝÀûÀ¸·Î ÀÏÂ÷¿ø ȤÀº 2Â÷¿øÀû ±×¸®µå¸¦ ÀÌ¿ëÇÏ¿© ±ÛÀÚµéÀ» À§ÇÑ ÆäÀÌÁö ·¹À̾ƿôÀ» »ý¼ºÇÑ´Ù. ÀÌ layoutGrid ¾ÖÆ®¸®ºäÆ®¸¦ »ç¿ëÇÏ¿© ÀÌ¿Í°°Àº ·¹À̾ƿôÀ» À¥ ¹®¼­¿¡ Àû¿ëÇÒ ¼ö ÀÖ´Ù.

Àû¿ë
°³Ã¼scriptCSS IE ¹öÀü
ÂüÁ¶
layoutGrid layoutGridMode layoutGridType layoutGridLine layoutGridChar

ÀÌ ¼Ó¼ºÀº CSS(Cascading Style Sheets)ÀÇ ºÎºÐ¿¡ Æ÷ÇÔ½Ãų °ÍÀÌ Á¦¾ÈµÇ¾ú´Ù.


ÀÌ ºí·°Àº ·¹À̾ƿôµÈ ºí·°ÀÌ´Ù.
This DIV is a block element.

layoutGrid ¾ÖÆ®¸®ºäÆ®¸¦ »ç¿ëÇÏ¿© ºí·° ÅؽºÆ®ÀÇ ±ÛÀÚ ¹èÄ¡¸¦ ¼³Á¤ÇÏ¿´´Ù.

<STYLE>DIV.layout { layout-grid: both fixed 16px 12px }</STYLE>
<DIV id=divObj class="layout">ÀÌ ºí·°Àº ·¹À̾ƿôµÈ ºí·°ÀÌ´Ù.<BR>
This DIV is a block element.
</DIV>
<DIV style="color:teal">
<SCRIPT>
str='document.styleSheets[1].cssText='+document.styleSheets[1].cssText+'<BR>';
str+='divObj.currentStyle.layoutGrid='+divObj.currentStyle.layoutGrid+'<BR>';
str+='divObj.currentStyle.layoutGridMode='+divObj.currentStyle.layoutGridMode+'<BR>';
str+='divObj.currentStyle.layoutGridType='+divObj.currentStyle.layoutGridType+'<BR>';
str+='divObj.currentStyle.layoutGridLine='+divObj.currentStyle.layoutGridLine+'<BR>';
str+='divObj.currentStyle.layoutGridChar='+divObj.currentStyle.layoutGridChar+'<BR>';
document.write(str);
</SCRIPT>
</DIV>