×öÍøÕ¾    ÍøÒ³Éè¼Æ¡¢ÖÆ×÷    FLASHµ¼ÈëÒ³Éè¼Æ    ÍøÕ¾²ß»®¡¢¿ª·¢    ºǫ́³ÌÐòά»¤¡¢Éý¼¶    ÍøÕ¾½â¾ö·½°¸
¼¼ÊõÖ§³Ö£ºËÕç⠵绰£º15011022561CSSÖÆ×÷ÍøÒ³²¼¾ÖʵÀý:Òþ²Øinput ÎÄ×Ö
ÍøÒ³Éè¼Æ->DIV¼ÓCSS

CSSÖÆ×÷ÍøÒ³²¼¾ÖʵÀý:Òþ²Øinput ÎÄ×Ö

¡¡¡¡ÎÒÃÇÀ´¿´ÏÂÃæµÄ´úÂ룬³É¹¦µÄʵÏÖÁËÒþ²Øinput ÎÄ×Ö¡£µ«·ÖΪÈýÖÖÇé¿ö£¬ÎÒÃÇÔÚºóÃæ½øÐзÖÎö¡£

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Òþ²Ø input ÄÚÎÄ×ֵķ½·¨</title>
<style type="text/css">
/*<![CDATA[*/
input {
 margin:5px 0;
 width:200px;
 height:20px;
 display:block;
 overflow:hidden;
 background:#f9f9f9;
 border:1px solid orange;
 }
input.a {
 ie:expression(bb.value="Ìá½»");
 text-indent:-200em;
 }
input.b {
 padding-top:20px;
 }
input.c {
 font-size:100em
 }
/*]]>*/
</style>
</head>
<body>
<input type="button" value="Ìá½»" id="bb" class="a" />
<input type="button" value="Ìá½»" class="b" />
<input type="button" value="Ìá½»" class="c" />
</body>
</body>
</html>

¡¡¡¡ÎÒÃÇÐèÒªÌØ±ð×¢²áµÄÊÇÏÂÃæµÄ´úÂ룺

input {
 margin:5px 0;
 width:200px;
 height:20px;
 display:block;
 overflow:hidden;
 background:#f9f9f9;
 border:1px solid orange;
}

ÎÒÃÇ¿´ÏÂÃæµÄ·ÖÎö£º

µÚÒ»ÖÖ·½·¨

input.a {
 ie:expression(bb.value="Ìá½»");
 text-indent:-200em;
}

¡¡¡¡ÔÚoperaÉÏÓÐÎÊÌâ

µÚ¶þÖÖ·½·¨

input.b {
 padding-top:20px;
}

¡¡¡¡Èç¹ûÕâ¸öֵ̫СÁËÔÚoperaÉÏÎÄ×Ö»¹Êǿɼû£¬ËùÒÔÉèÖôóһЩ¾ÍûÎÊÌâÁË£¬µ«FFÖÐÓÖ»á³öÏְѸ߶ȳŴóµÄÏÖÏó£»

µÚÈýÖÖ·½·¨

input.c {
 font-size:100em
}

¡¡¡¡ÕâÖÖ·½·¨Ó¦¸Ã˵ÊǼæÈÝÐÔ×îºÃµÄ

¡¡¡¡FFÓеãbt.ÔÚpaddingµÄʱºò£¬IE£¬OPEARµÄ¸ß¶ÈÓë¿í¶È¶¼²»±ä£¬¾ÍFF±ä¡£

·¢±íÆÀÂÛ

¹Ø±Õ´°¿Ú   À´Ô´:ÍøÂç  16  2007-05-14

±±¾©Ä§¿ìÍøÂç ½¨¸ßÆ·ÖʵÄÍøÕ¾£¡
©2002-  µç»°:15011022561(ËÕÏÈÉú)  Email:mokuainet@126.com
µØÖ·£º±±¾©¶«³ÇÇø¹¤Ì山·ÐÂÖÐÎ÷Àï17ºÅÂ¥±±±ßƽ·¿£¨±£Àû¾çÔº¶«100Ã×·±±£© ×öÍøÕ¾ÕÒħ¿ì£¬½¨Õ¾¿ì¡¢ÓÅ»¯ºÃ£¡MoKuai.Net
»