Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ËÑË÷½á¹û¸ßÁÁÏÔʾ(²»¸Ä±ähtml±êÇ©)

Ò»¡¢ÎÊÌâµÄ²úÉú
¡¡¡¡ËÑË÷½á¹û¸ßÁÁÏÔʾ£¬ÔÚÐÂÎűêÌ⣬À´Ô´Ö®ÀàµÄµØ·½ºÃ×ö£¬Ö»ÐèÒªÓÃstr.Replace(keyword,"<font style=\"color:red;\"" + keyword +"</font>");ÕâÑùµÄ·½·¨¾Í¿ÉʵÏÖ¡£
¡¡¡¡ÎÊÌâÔÚÓÚ£¬ÔÚÐÂÎÅÄÚÈÝÀï×öËÑË÷¡£ÆäÖÐhtml±êÇ©Àï¿ÉÄܺ¬Óйؼü×Ö£¬ÓÃÉÏÃæÕâÖÖ·½·¨£¬½«»áÌæ»»µôhtml±êÇ©µÄ²¿·ÖÄÚÈÝ£¬µ¼ÖÂÐÂÎÅÄÚÈݲ»ÄÜÕý³£ÏÔʾ¡£
¡¡¡¡ÀýÈ磺ÐÂÎÅÄÚÈÝÀïµÄͼƬ<img alt="" src="Upload\1.jpg" />£¬ËÑË÷ʱʹÓõĹؼü×ÖΪoa£¬Ôò»á½«ÐÂÎÅÄÚÈÝÖÐÕâÕÅÍ¼Æ¬Ìæ»»Îª<img alt="" src="Upl<font style="color:red;">oa</font>d\1.jpg" />£¬ÕâÕÅͼƬ¾ÍÏÔʾ²»³öÀ´ÁË¡£
¶þ¡¢ÊµÏÖÔ­Àí
Ê×ÏÈ£¬½«ÐÂÎÅÄÚÈÝÀïµÄËùÓÐhtml±êÇ©¶Á³öÀ´£¬±£´æÆðÀ´£»
Æä´Î£¬½«ËùÓÐhtml±êÇ©Ìæ»»ÎªÒ»°ã²»¿ÉÄܳöÏÖµÄ×Ö·û£¬Èç[[1]]£¬[[2]]......[[N]]]µÈ£»(ËÑË÷µÄ¹Ø¼ü×ÖÒ»°ã²»»áÊÇ[[N]]°É£¬ÐÂÎÅÄÚÈÝÀïÒ²Ò»°ã²»»á³öÏÖÕâÑùµÄ×Ö·û)
ÔٴΣ¬½«ËÑË÷½á¹ûÌæ»»Îª¸ßÁÁÏÔʾ״̬£»
×îºó£¬½«html±êÇ©»¹Ô­¡£
Èý¡¢ÊµÏÖ´úÂë
ÒÔÏ´úÂëÊÇÍøÉÏËѼ¯µÄ£¬À´Ô´²»Ï꣬Ôڴ˶Ô×÷Õß±íʾ¸Ðл¡£
        public static string Reg(string input, string replace)
        {
            //ÉèÖøßÁÁÑùʽ
            string replaceformat = "<span style=\"font-size:14px; font-weight:bold; color:#f00; background-color:#ff0\">{0}</span>";
            System.Text.RegularExpressions.Regex reg = new System.Text.RegularExpressions.Regex(String.Format("{0}", replace), System.Text.RegularExpressions.RegexOptions.Multiline);
            return reg.Replace(input, string.Format(replaceformat, replace));
        }
        /// <summary>
        /// ÉèÖø÷¸öhtml²¿·ÖΪ×Ô¶¨Òå±êºÅ
        /// </summary>
        /// <pa


Ïà¹ØÎĵµ£º

html table ±ß·ìÎÊÌâ

´¿css:
1 .ÔÚ table µÄ css ÖÐÉùÃ÷: border-collapse: collapse; border-spacing: 0;
2 .th td µÄcss ÖÐÉùÃ÷: padding:0;
°ë´¿css:
1.ÉÏͬ.
2.<table cell-padding="0" .............
Ïêϸ¼û:
http://www.dreamdu.com/xhtml/attribute_cellpadding_cellspacing/
http://www.haoxiai.net/wangzhanzhizu ......

HTMLÉèÖÃ×ÖÌå±³¾°ºÍÒõÓ°

<html>  
  <head>    
  <title>ʵÏÖ×ÖÌåÒõÓ° </title>  
  </head>  
  <body>  
  <div   STYLE="position:relative;   width=480;   &nb ......

ÖÆ×÷HtmlÒ³Ãæ¹æ·¶ºÍ×¢ÒâÊÂÏî

1.ÎªÒ³ÃæÌí¼ÓÕýÈ·µÄ DOCTYPE
XHTML1.0 ÌṩÁËÈýÖÖ DOCTYPE ¿ÉÑ¡Ôñ£º  
1.¹ý¶ÉÐÍ(Transitional)--ÆÕ±é 
<!DOCTYPE  html  PUBLIC  "-//W3C//DTD  XHTML  1.0
Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
2.Ñ ......

IIS 7 HTMLα¾²Ì¬ ÎÞÐèÐÞ¸ÄÓ¦ÓóÌÐòÓ³Éä

ÔÚIIS5ºÍIIS6ʱ´ú£¬ÎÒÃÇʹÓÃURL REWRITING¿ÉʵÏÖURLÖØÐ´£¬Ê¹µÃWEB³ÌÐòʵÏÖα¾²Ì¬£¬µ«Ä¬ÈÏÇé¿öÏÂÖ»ÄÜʵÏÖ.ASPXµÄα¾²Ì¬£¬Èç¹ûҪʵÏÖα¾²Ì¬*.HTMLµÄÒ³Ãæ£¬ÐèÒª½«ISAPIÀïÃæµÄ*.HTMLÓ¦ÓóÌÐòÓ³Éä¸ÄΪ.NETµÄISAPI¡£µ«ÔÚIIS 7ʱ´ú£¬ÕâÒ»ÇÐÒѾ­±äµÃ·Ç³£¼òµ¥ÁË£¬ÄúÔÚWEB.CONFIGÖоͿÉÒÔ¹ÜÀíÕâÒ»ÇÐÁË¡£
ÔÚ·þÎñÆ÷Éϰ²×°ºÃMicrosoft U ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ