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

HTMLÖеÄÄÚÁªÔªËØÓë¿é¼¶ÔªËØ£¨inline and block£©

<html>
<head>
<title>block and inline test</title>
</head>
<body>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>
ÉÏÃæ´úÂëµÄÏÖʵЧ¹ûÈçÏ£º
div1
div2
div3
span1 span2 span3
¿É¼û£¬div£¨¿éÔªËØ£©ÊÇ×Ô¶¯Õ¼Ò»Ðеģ»¶øspan£¨ÄÚÁªÔªËØ£©Êǹ²Õ¼Ò»Ðеġ£ 
¿éÔªËغÍÄÚÁªÔªËØ¿ÉÒÔ½øÐÐת»»£¨Í¨¹ýÉèÖÃCSSÑùʽÖеÄdisplayÊôÐÔ£©
 <html>
<head>
<title>block and inline test</title>
</head>
<body>
<div style="display: inline" style="display: inline">div1</div>
<div style="display: inline" style="display: inline">div2</div>
<div style="display: inline" style="display: inline">div3</div>
<span style="display: block" style="display: block">span1</span>
<span style="display: block" style="display: block">span2</span>
<span style="display: block" style="display: block">span3</span>
</body>
</html>
ÉÏÃæ´úÂëµÄÏÔʾЧ¹ûÈçÏ£º
div1
div2
div3
span1 span2 span3
¿É¼û¿éÔªËØת»»³ÉÁËÄÚÁªÔªËØ£¬ÄÚÁªÔªËØת»»³ÉÁË¿éÔªËØ
ÄÚÁªÔªËØÔÚ²»ÉèÖøߺͿíʱ£¬ÏÔʾ³öÁËÄÚÁªÔªËصÄÌØÐÔ¡£µ«ÊÇÉèÖÃÁ˸߻ò¿íʱ£¬ÓÖÏÔʾ³öÁË¿éÔªËصÄÌØÐÔ……
δÉèÖøß/¿í---£º
<html>
<head>
<title>block and inline test</title>
</head>
<body>
<div style="background-color: silver; border-bottom: 1px solid #000;">div1********<br />
******</div>
<div style="">div2</div>
<div style="">div3</div>
<span style="background-color: yellow; border-bottom: 1px solid #000;">span1********<br />
******</span>
<span style="">span2</span>
<span style="">span3</span>
</body>
</html>
Ч¹ûͼ£º
ÉèÖÃÁ˸ß/¿í---£º
<html>
<head>
<title>block and inl


Ïà¹ØÎĵµ£º

TextBox ³¬Á´½ÓÌæ»»³ÉHTML³¬Á´½ÓÐÎʽ


            string tent = this.TextBox_info.Text.Replace("<", "&lt;").Replace(">", "&gt;").Replace(" ", "&nbsp;&nbsp;&nbsp;&nbsp;").Trim().Replace("\n", "<br/>");
       & ......

´«ÖDz¥¿Í——htmlϸ½Ú

  Ò» HTMLµÄ¶¨Òå
HTML£¨HyperText Mark-up Language£©¼´³¬Îı¾±ê¼ÇÓïÑÔ»ò³¬Îı¾Á´½Ó±êʾÓïÑÔ£¬ÊÇÄ¿Ç°ÍøÂçÉÏÓ¦ÓÃ×îΪ¹ã·ºµÄÓïÑÔ£¬Ò²Êǹ¹³ÉÍøÒ³ÎĵµµÄÖ÷ÒªÓïÑÔ¡£HTMLÎı¾ÊÇÓÉHTMLÃüÁî×é³ÉµÄÃèÊöÐÔÎı¾£¬HTMLÃüÁî¿ÉÒÔ˵Ã÷ÎÄ×Ö¡¢Í¼ÐΡ¢¶¯»­¡¢ÉùÒô¡¢±í¸ñ¡¢Á´½ÓµÈ¡£HTMLµÄ½á¹¹°üÀ¨Í·²¿£¨Head£©¡¢Ö÷Ì壨Body£©Á½´ó ......

×Ö·û´®½ØÈ¡£¨°üÀ¨html£¬BasicPage.csÀàʹÓã©

    /// <summary>
    /// ½Ø¶Ï×Ö·û´®(ÖÐÎļÆÒ»¸ö×Ö·û¿í¶È£¬ÆäËü¼Æ°ë¸ö×Ö·û¿í¶È)
    /// </summary>
    /// <param name="input">Ðè½Ø¶ÏµÄ×Ö·û´®</param>
    /// <param name="length">×Ö·û¿í¶È</pa ......

½â¾ö html ´úÂë²»½âÎö µÄÎÊÌâ

´ÓÊý¾Ý¿âÖÐÄóöÒ»¶Îhtml´úÂ룬ÏëÔÚÒ³ÃæÉÏÏÔʾ£¬½á¹û°Ñhtml´úÂëÏÔʾ³öÀ´ÁË£¬
²é¿´htmlÔ´´úÂëûÓÐÈκÎÒì³££¬¶øÇÒÖ»ÒªÔÚfirebugÖÐÉÔ΢ÐÞ¸ÄһϴúÂ룬Á¢¿Ì¾Í½âÎöÁË¡£
ʲô<div>.....</div>, ä¯ÀÀÆ÷²¢Ã»ÓнâÎöËü£¬²éÁ˺ܴó×ÊÁÏÊÔÁ˺ܶàÖÖ·½·¨
ä¯ÀÀÆ÷¼æÈÝÐÔ¡¢html´úÂë´íÎóµÈµÈ»³ÒÉÒ»Ò»ÊÔÁËÒ»±é£¬¶¼ÅųýÁË£¬ÔÚÍøÉÏ ......

´¿Java¶ÁÈ¡¡¢ÏÔʾ¡¢×ª»»wordÎĵµ(97~2007)¡¢htmlÎĵµ

´¿Java¶ÁÈ¡¡¢ÏÔʾ¡¢×ª»»wordÎĵµ(97~2007)¡¢htmlÎĵµ
ÏÂÔسÌÐò¿â
http://hgsqldoc.appspot.com/lib/hg.jar
Ö÷³ÌÐò¿â£¨±ØÐ룩
http://hgsqldoc.appspot.com/lib/poi.jar
½âÎödoc¸ñʽ
http://hgsqldoc.appspot.com/lib/itext.jar
Êä³öpdfºÍrtf
http://hgsqldoc.appspot.com/lib/fgio.jar
Êä³ösvg¡¢swf¡¢ps¡¢emf
¶ÁÈ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ