cssÖÐbackgroundΪͼƬµÄÇëÇó´ÎÊý
±ÈÈçÎÒ×öµÄÒ»ÕÅͼ ÀïÃæ°üº¬ÁËN¸öСͼƬ
CSSÕâÑùд£º
.a{background:url('/images/theme-hotgoods.gif') no-repeat left -130px;}
.b{background:url('/images/theme-hotgoods.gif') no-repeat -100px -130px;}
.c{background:url('/images/theme-hotgoods.gif') no-repeat -200px -130px;}
ËûÊÇÇëÇóÕâ¸öͼƬһ´ÎÄØ£¬»¹ÊÇÇëÇó3´ÎÄØ£¿
CSS Sprites¼¼Êõ¡£
ÇëÇó·þÎñÆ÷µÄ´ÎÊýÊÇÒ»´Î£¬ÔÚ·þÎñÆ÷¶Ë·¢ËÍÒ³Ãæµ½ÄãµçÄÔÉϵÄʱºò£¬°ÑÕâ¸öͼƬ´æÔÚÁË»º´æÀºóÁ½´Î¶¼Êǵ÷Óûº´æÀïµÄͼƬ¡£ËùÒÔÊÇÒ»´Î¡£
Ïà¹ØÎÊ´ð£º
ȺÀïÓÐû»áCSSµÄ¸ßÊÖ¡£¡£¡£ÎÒÔÚJSPÒ³ÃæÖÐʹÓÃlinkÁ¬½ÓCSSÑùʽ±í£¬ul li±êÇ©×ܲ»Æð×÷Óá£Ö±½Ó°ÑCSS¶¨Òå·Åµ½JSPÒ³Ãæ¾ÍÄÜÕý³£ÏÔʾ£¬ÊÇʲôÎÊÌâÄØ£¨ÔÚÍⲿCSS±íÖж¨ÒåµÄBODY±êÇ©ÄÜÓ¦ÓÃÉÏ£©
css񡜧
.logo {
MARGIN: ......
HTML code:
<div id="DivC" style="float:left; height:25px; width:100%;">
<div id="Div1" style="float:left; height:25px; width:[color=#FF0000]X[/colo ......
µ±ØýÃûÓû§·ÃÎ浀 µÄʱºò£¬Ìøתµ½ Login.aspx £¬¿ÉÊÇÖ÷ÌâÀïµÄCSS òËƲ»Æð×÷ÓÃ
¿ÉÄÜÊÇÓû§Ã»ÓÐȨÏÞ·ÃÎÊcssÎļþ °ÑÄãµÄÅäÖÃÎļþÌù³öÀ´¿´¿´°É
ÐÂȺDotNet Programmer ȺºÅ112850311
»¶ÓDotNet³ÌÐòÔ±µÄ¼ÓÈë£ ......
ÎÒÏëÓÃhtmlÉú³ÉÒ»¸ö±¨±í£¬×ó±ß¹æ»®ÁËÒ»¸öµ¼º½½çÃ棬ÓÒ±ßÊÇһЩÏÔʾÄÚÈÝ ÒªÇóÕâ¸öµ¼º½½çÃ滹ÄÜÉìËõ£¬»¹¿Éµã»÷ºóÒþ²Ø,
Èç¹ûʹÓÿò¼ÜµÄ»î£¬¾ÍµÃÒª¼¸¸öhtmlÎļþ×éºÏ£¬ÒªÇóÖ»ÓÐÒ»¸öhtmlÎļþ£¬Èç¹ûҪʹÓÃtable£¬×Ô¶¯ÉìËõ£ ......
ÎҵĿò¼ÜµÄ´úÂ룺
<frameset rows="80,*">
<frame name="top" src="a.html">
<frameset cols="150,*"> ......