ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[¤À¨É] DIV °Ï¶ô¾î¦V©~¤¤

[¤À¨É] DIV °Ï¶ô¾î¦V©~¤¤

¦bIEÂsÄý¾¹ body{text-align:center;} ³o¼Ë´N¥i¥H¨Ï°Ï¶ô¾î¦V¸m¤¤,
¦ý¬O¦bMozillaÂsÄý¾¹«o¨S¦³®ÄªG,
¥²¶·¦A°w¹ï©~¤¤¼h¥[¤J margin-right: auto;margin-left: auto; ¨Ò¦p:


body{text-align: center;}
#divs{margin-right: auto;margin-left: auto;}

<div id="divs" >³o¬O¤@­Ó¬Û®e¦UÂsÄý¾¹ªº¸m¤¤°Ï¶ô</div>


¦ý³o¼Ë·|³s¤å¦r³£¸m¤¤¤F
§A¥i¥H¦b¬°div«ü©w¤å¦r¹ï»ô¤è¦¡,¨Ò¦p:
text-align:left; /*¤å¦r¾a¥ª¹ï»ô*/
ÁÙ¦³¤@ºØ§ó²³æªº¤è¦¡,¦ý¬O¹ï©óIE5/win¨S¦³®ÄªG




#divs{margin : 0px auto;}
<div id="divs" >³o¬O¤@­Ó¸m¤¤°Ï¶ô¦ýIE5/WinµLªk¸m¤¤</div>

<div><center>

1234567

</center></div>

TOP

¥Ø«ehtml5 ¤£¤ä´©


<div><center>

1234567

</center></div>

</center>¦¹»yªk¤£¤ä´©
¨Ï¥Î«á·|¼vÅT¥¼¨Ó»yªk¤Wªº¬[ºc©M½Ä¬ð

§ó§ï»yªk¬°


<div style="width:100%;">
   <div style="margin: atuo 0;">
        ¤å¦rª©¶ô¬Ò¸m¤¤

   </div>
</div>

TOP

<html>

<meta charset=big5">

<body style="margin:0px; overflow:hidden;" bgcolor="#7cd9f1">  

<center>

<div>
<a href="https://www.youtube.com/embed/E0JF5dwRfRQ" target="x" >³Ó§Q¤j¹C¦æ¦b¥_¨Ê</a>
</div>

<iframe width="1920" height="960" src="https://www.youtube.com/embed/TYRuFAJMGZo" name="x"></iframe>

</center>

</body>

</html>

TOP

        ÀR«ä¦Û¦b : ºw¤ô¦¨ªe¡C²É¦Ì¦¨ÅÚ¡A¤Å»´¤vÆF¡A¤Å¥Hµ½¤p¦Ó¤£¬°¡C
ªð¦^¦Cªí ¤W¤@¥DÃD