²ËÄñÇóÖúCSSÊôÐÔ - Web ¿ª·¢ / HTML(CSS)
display:inline-block;
overflow:hidden;£¨ÍøÂçÉϲéÕÒÊÇÓ°²ØÒç³ö£¬µ«ÊDzâÊÔÆðÀ´¸Ð¾õ²»Ì«Ã÷°×£©
position:relative;£¨¾ø¶Ô¶¨Î»£¬²»ÖªµÀ¶Ô²»¶Ô£©
position:absolute;
ÕâËĸöÊôÐÔÔÚCSSÀïÃæ³öÏÖƵÂʱȽϸߣ¬¸ßÊÖÖ¸µãÏÂÕâËĸöÊôÐÔµÄ×÷Ó÷ֱðÊÇʲô,лл£¡
СµÜ¸Ð¼¤²»¾¡
Íû¸ßÊÖÖ¸µã£¬°Ù¶Èһϣ¬¸Ð¾õ½²½âµÄ²»ÊǺÜÇå³þ
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>list(wwww.hemin.cn)</title>
<style type="text/css">
*{ margin:0; padding:0; font-size:12px; font-family:"ÐÂËÎÌå";}
ol{ background:url(http://www.hemin.cn/blog/wp-content/uploads/2009/06/list.jpg) no-repeat left -
2px;}
li{ position:relative;padding-left:20px; height:20px; overflow:hidden; line-height:20px;
width:250px; list-style:none;padding-right:60px;}
li a{ display:inline-block; text-decoration:none; color:#000;}
li a:hover{ text-decoration:underline;}
li span{ position:absolute; padding-left:5px; color:#CCC;}
</style>
</head>
<body>
<ol>
<li><a href="#">ÔÓ¼¼Í
Ïà¹ØÎÊ´ð£º
ÎÒµÄjava applet ǶÈëhtmlºóÎÞ·¨ÏÔʾ£¬¶øÓÃappletviewerÏÔʾÕý³£ÎªÊ²Ã´£¬»¹ÓоÍÊÇÓÃhtml converterת»¯ºó¿ÉÒÔÏÔʾ£¬ÎªÊ²Ã´£¿Çë´óÏÀ´Í½Ì£¡
HTML code:
<HTML>
<HEAD>
<TITLE>TEST.HTML< ......
JSPÉú³ÉHTML¾²Ì¬Ò³Ãæ
1.ÓдúÂëµÄÅóÓÑÌù¸ö´úÂë
2.ÓеĺõÄÉú³É·½°¸Ëµ¸ö·½°¸
¹ýÄê·Å¸öÅÚ ×£ºØ×£ºØ£¡
JSPÉú³É¾²Ì¬Ò³Ã棿£¿£¿
»¹ÒªÓ÷½°¸£¿£¿£¿
²»Ã÷°×
ÒýÓÃ
JSPÉú³É¾²Ì¬Ò³Ã棿£¿£¿
»¹ÒªÓ÷½°¸£¿£¿£¿
²»Ã÷ ......
ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔʾһЩÌض¨±íÏÖÐÎʽÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔÀíÊÇʲôÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË
ÎҲºͱàÒëÔÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......
.css1 .css2 #objid {OVERFLOW: scroll;...}
.css1 .css3 {...}
°Ñ¾ßÓй²Í¬ÑùʽµÄдµ½Ò»ÆðÁË ºÃά»¤
ÖмäÎÞ¶ººÅ£¬ÊôÓÚÑùʽǶÌ×
ÑùʽµÄ¹²Í¬µÄµØ·½Ð´ÔÚÒ»Æ𣬿ÉÒÔÊ¡µô²»±ØÒªµÄ´úÂëÐÐ~
Õâ¸ö¾ÍÊÇ´úÂë ......
ÎÒ´Óºǫ́»ñÈ¡ÁËϱßÒ»¶Îhtml´úÂ뵫ÎÒÏÖÔÚÏë°É<span></span>ÀïµÄÄÚÈݹýÂËÈ¥µôËÄܸø¸öºÃµÄ£¬¼òµ¥µÄ·½·¨
¶àл¸÷λÁË¡¡
<html>
<body>
<div>
<sp ......