cssÏÂÀ²Ëµ¥ÓÖ¿´²»Ã÷°×ÁË..
ÍøÉÏ¿´µ½µÄcss×öµÄÏÂÀ²Ëµ¥,ΪʲôȥµôÁË <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >¾Í²»ÄÜÓÃÄØ?
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
<head>
<style type="text/css">
body {font-size:1%; color:#fff;} /*get rid of the IE bug that prints the the end of the !doctype */
.menu {display:none;}
.holder {color:#000; width:90px; height:18px; display:block; background:#dca; border:1px solid #000; margin-right:1px; text-align:left; float:left; text-decoration:none; font-family:tahoma, vardana, arial, sans-serif; font-size:10px; line-height:18px; overflow:hidden;}
.holder:hover {height:auto; cursor:pointer;color:#fff; background:#000;}
a.inner, a.inner:visited {display:block; width:89px; height:18px; border-bottom:1px solid #000; text-decoration:none; color:#000; background:#eee;}
a.inner:hover {background:#add;}
p { color:#000; font-size:16px;}
</style>
<!--[if IE]>
<style type="text/css">
/*<![CDATA[*/
.holder {display:none;}
.menu {display:block;}
a.outer, a.outer:visited {color:#000; width:90px; height:18px; display:block; background:#dca; border:1px solid #000; margin-right:1px; text-align:center; float:left; text-dec
Ïà¹ØÎÊ´ð£º
ÓÃ"·þÎñÆ÷¿Ø¼þÃû.Style.Add("display","")¿ÉÒÔ¸øÕâ¿Ø¼þÌí¼ÓCSS£¬ÔõôÑù²ÅÄܸø¶Á³öÀ´ÄØ£¿
Ôõô¶¼Ã»È˰ïæ°¡
È˶¼ËÀÄÄÈ¥ÁË
¿Ø¼þID.Style[HtmlTextWriterStyle.BackgroundColor]
¿Ø¼þ ......
ÎÒ×î½ü¿´ºÜ¶à´óÍøÕ¾µÄhtmlÔ´´úÂ룬´ó¶à¶¼ÊǰÑcssÄÚÁªÊ½£¬¶ø²»ÊÇÍâÁªÊ½£¬ÕâÑù×öµÄÄ¿µÄÊÇʲô£¿Çó¸ßÊÖÖ¸½Ì£¡Ð»Ð»
½ÚÊ¡¼ÓÔØÊ±¼ä
ÔÚÍøËÙÂýµÄʱºò£¬ÍøÒ³²»ÖÁÓÚ±äÐÎ
ÐÔÄÜÌá¸ß
ÒýÓÃ
1¡¢httpÇëÇóÊÇÒª¿ªÏúµÄ£¬Ïë ......
½üÀ´×öÒ³Ãæ¶¼»áÔÚ±¾»úÉϵ÷ÊÔºÃFF IE7 IE6£¬µ«Êǵ÷ÊÔ¹ýµÄÒ³ÃæÓÐʱÔÚ±ðÈ˵ÄIE6,IE7»áÏÔʾ²»Õý³££¬ÓÚÊÇÕÒµÚÈýÕߣ¬ÓÐʱºò¸úÎÒÕâ±ßÏÔʾһÖ£¬ÓÐʱºò¸ú¶Ô·½ÏÈÊÇÒ»Ö £¬Ç°Ì¨IE6 IE7¼æÈÝûÓбê×¼£¬Õâ¸öǰ̨»¹Ôõô»î£¡
¾ ......
position:relative²»ÊÇÏà¶Ô¶¨Î»Âð~~ΪʲôÓÃÁË±ßÆ«Òƶ¨Î»ºóÓÐЩÈ˾Í˵ÊDZä³ÉÁ˾ø¶Ô¶¨Î»ÁË¡¡~~¶øÇÒËüÓëmarginÀ´È·¶¨Î»ÖÃÓÐʲô²»Í¬~~
±ßÆ«ÒÆ¶¨Î»ºóÓÐЩÈ˾Í˵ÊDZä³ÉÁ˾ø¶Ô¶¨Î»ÁË
re:
Ë˵µÄ£¡ÕæÊDz»Ïó»°£¡positi ......