css ÓÅÏȼ¶
html˳Ðò:
<LINK rel=stylesheet type=text/css href="²©¿ÍÔ°_files/customcss.css"> //×Ô¶¨Òå
<LINK rel=stylesheet type=text/css href="²©¿ÍÔ°_files/shCore.css">
ÎÒÏë°Ñ shCore.css ×ÖÌåÉèÖÃΪ ËÎÌå 12px ΪʲôûÓÐЧ¹û³öÀ´ÄØ£¿Ó¦¸ÃÔõô½â¾ö
BODY {
FONT-FAMILY: "΢ÈíÑźÚ","Microsoft YaHei", "ËÎÌå", "Segoe UI", Tahoma, Arial
}
customcss.css
.syntax {
LINE-HEIGHT: 14px !important;
FONT-STYLE: normal !important;
FONT-FAMILY: "ËÎÌå","Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
FONT-SIZE: 12px !important;
FONT-WEIGHT: normal !important;
PADDING-TOP: 1px
}
shCore.css
.syntaxhighlighter {
POSITION: static !important; TEXT-ALIGN: left !important; PADDING-BOTTOM: 0px !important; LINE-HEIGHT: 1.1em !important; BORDER-RIGHT-WIDTH: 0px !important; FONT-STYLE: normal !important; MARGIN: 0px; MIN-HEIGHT: auto !important; PADDING-LEFT: 0px !important; OUTLINE-WIDTH: 0px !important; WIDTH: auto !important; BOTTOM: auto !important; PADDING-RIGHT: 0px !important; FONT-FAMILY: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; BACKGROUND: none transparent scroll repeat 0%
Ïà¹ØÎÊ´ð£º
CSS code:
body {
}
#x
{
width:1024px;
height:768%;
background-color:Red;
position:relative;
}
#x.top
{ position:absolute;
width:800px;
height:100px;
top:0px ......
ÓÃvc ¶ÁÈ¡htmlÎļþÔõôµÃµ½cssÀïÃæ¶¨ÒåµÄ×ÖÌåÑùʽ¡£±ÈÈçÎÒÍøÒ³µÄÒ»¶Î´úÂëΪ£º
<style type="text/css">
<!--
.STYLE7 {font-weight: bold; font-family: "ËÎÌå"; color: #F ......
ÎÒ×î½ü¿´ºÜ¶à´óÍøÕ¾µÄhtmlÔ´´úÂ룬´ó¶à¶¼ÊǰÑcssÄÚÁªÊ½£¬¶ø²»ÊÇÍâÁªÊ½£¬ÕâÑù×öµÄÄ¿µÄÊÇʲô£¿Çó¸ßÊÖÖ¸½Ì£¡Ð»Ð»
½ÚÊ¡¼ÓÔØÊ±¼ä
ÔÚÍøËÙÂýµÄʱºò£¬ÍøÒ³²»ÖÁÓÚ±äÐÎ
ÐÔÄÜÌá¸ß
ÒýÓÃ
1¡¢httpÇëÇóÊÇÒª¿ªÏúµÄ£¬Ïë ......
ÎÒÓõÄasp£¬°ÑÑùʽֱ½ÓдÔÚ±êÇ©ÉÏ¿ÉÒÔ£¬µ«ÊǰÑÑùʽдÔÚÒ»¸öµ¥¶ÀµÄÎļþÀï±ßÒýÓþͳö´íÁË£¡¿ÉÒÔÒýÓ㬵«ÊÇÓëÖ±½ÓдÔÚ±êÇ©Àï±ßЧ¹û²»Ò»ÑùÁË£¡Çë¸ßÊÖÖ¸µãÃÔ½ò£¡Ð»Ð»£¡
·¾¶ÎÊÌ⣿
ÃÔ½ò°¡¾ÍÊÇÂí»¢£¬ÄãµÄÎļþÒýÓÿ ......