htmlµÄһЩ±ê×¼cssÑùʽ
ÔÚhtmlÖУ¬¼´Ê¹ÎÒÃÇûÓÐÖ¸¶¨Ò³ÃæÔªËØÏÔʾµÄcssÑùʽ£¬ÔªËØÒ²»á°´ÕÕĬÈϵĵıê×¼cssÑùʽȥÏÔʾ¡£Òò´ËÕÆÎÕ»ù±¾µÄhtml±êÇ©¿ÉÒÔÔÚÒ»¶¨³Ì¶ÈÉϾ«¼òÄãµÄcss´úÂ룬ÏÖ½«html±êÇ©µÄĬÈÏÊôÐÔ½øÐÐÒ»¶¨µÄ»ã×ÜÈçÏ£º
li { display: list-item }
head { display: none }
table { display: table }
tr { display: table-row }
thead { display: table-header-group }
tbody { display: table-row-group }
tfoot { display: table-footer-group }
col { display: table-column }
colgroup { display: table-column-group }
td, th { display: table-cell; }
caption { display: table-caption }
th { font-weight: bolder; text-align: center }
caption { text-align: center }
body { margin: 8px; line-height: 1.12 }
html, address,
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre { display: block }
±¾ÎÄÀ´×ÔCSSÔÚÏߣºhttp://www.csscss.org/cssarticle/2010413844.shtml
Ïà¹ØÎĵµ£º
¿´¿´ÏÂÃæÕâ¶Î´úÂ룬ÊÇ·ñ±¶¸ÐÇ×Çе«ÓÖ¾õµÃºÜİÉúÄØ£º
.test {
background-color: black; /* firefox, opera, ie8 */
[;background-color: green;] /* safari, chrome */
*background-color: blue; /* ie7 */
_background-color: red; /* ie6 */
}
html*~/**/body .test {
border: 5px solid ......
1.Çø±ðIEºÍ·ÇIEä¯ÀÀÆ÷
#tip {
background:blue; /*·ÇIE ±³¾°藍É«*/
background:red \9; /*IE6¡¢IE7¡¢IE8±³¾°紅É«*/
}
2.Çø±ðIE6,IE7,IE8,FF
¡¾Çø±ð·ûºÅ¡¿£º¡¸\9¡¹¡¢¡¸*¡¹¡¢¡¸_¡¹
¡¾Ê¾Àý¡¿£º
#tip {
background:blue; /*Firefox ±³¾°±äÀ¶É«*/
background:r ......
ÔÎÄ:http://www.52css.com/article.asp?id=1026
´ÓÍøÉÏÊÕ¼¯ÁËIE7,6ÓëFireofxµÄ¼æÈÝÐÔ´¦Àí·½·¨²¢ÕûÀíÁËÒ»ÏÂ.
¶ÔÓÚweb2.0µÄ¹ý¶È,Ç뾡Á¿ÓÃxhtml¸ñʽд´úÂë,¶øÇÒDOCTYPE Ó°Ïì CSS ´¦Àí,×÷ΪW3CµÄ±ê×¼,Ò»¶¨Òª¼Ó DOCTYPEÉùÃ÷.
1.divµÄ´¹Ö±¾ÓÖÐÎÊÌâ
vertical-align:middle;
½«ÐоàÔö¼Óµ ......
½üÆÚ¹¤×÷ÐèÒª£¬ÐèÒª×÷»¥ÁªÍøÍøÒ³µ½ÊÖ»úpdaµÈÒÆ¶¯Öն˵Ää¯ÀÀÆ÷transcoding´¦Àí¡£
¼Æ»®£º
transcoder
1,ÁоÙËùÓеÄtranscoderÒýÇæ£¬ºÍ²ÎÊý£¬¹Û²ìЧ¹û
google:
http://www.google.cn/gwt/x?wsc=tc&u=www.baidu.com
baidu:
http://gate.baidu.com/tc?m=5&src=www.aibang.com £¨mÊ ......