°¢Àï°Í°Ícss»¬¶¯²Ëµ¥ ,»¬¶¯ÃÅ
°¢Àï°Í°ÍµÄÒ»¿î»¬¶¯·ÖÀà²Ëµ¥,Ч¹ûºÜ²»´í,µ«ÊÇʹÓÃÁ˽϶àµÄͼƬ,²»¹ýÕâЩͼƬֻÊDZ³¾°,²»Ó°ÏìÄãÐ޸IJ˵¥µÄÎÄ×Ö,ËùÒÔºÜÖµµÃ´ó¼ÒʹÓÃ,´úÂëÉÔÏÓ¶à,ѧϰCSSµÄÅóÓѺúÃÑо¿Ò»ÏÂ.
<!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" xml:lang="gb2312">
<title>»¬¶¯²Ëµ¥ ,»¬¶¯ÃŲ˵¥,css»¬¶¯²Ëµ¥</title>
<style type="text/css">
/*Ñùʽ¶¨Òå,ÓÉÓÚ×óÓÒ»¬¶¯Çø¿í¶È²»Í¬,ËùÒÔ´úÂëÂÔ¶à*/
*{font-size:12px;}
body {margin:0px;border:0px;font-size:12px;background-color:#fff;}
a:link{color: #003278;text-decoration: none;}
a:visited{color: #003278;text-decoration: none;}
a:hover{color: #FF6600;text-decoration: underline;}
#slideBox{background:url(http://img.china.alibaba.com/images/cn/home/0110/slideBox_bg.gif);height:168px;width:178px;padding-left:5px;padding-right:5px;}
#slide{padding-top:5px}
#slide li img{margin-right:3px}
#slideBox ul{padding:0;margin:0;clear:both;list-style:none;overflow:hidden}
#slideBox li{float:left;font-weight:bold;height:37px !important;height:27px;}
#slideBox li a:link,#slideBox li a:visited{color:#000;}
#slideBox li a:hover{color:#ff7300;text-decoration: none}
#slideBox .l{background:url(http://img.china.alibaba.com/images/cn/home/0110/slideBox_tableft.gif);width:80px;}
#slideBox .r{background:url(http://img.china.alibaba.com/images/cn/home/0110/slideBox_tabright.gif);width:94px;float:right}
#slideBox .l_h{background:url(http://img.china.alibaba.com/images/cn/home/0110/slideBox_tableft_h.gif);width:80px;}
#slideBox .r_h{background:url(http://img.china.alibaba.com/images/cn/home/0110/slideBox_tabright_h.gif);width:94px;float:right;}
#slideBox .hide{display:none}
#slideBox .l a{width:52px;}
#slideBox .r a{width:68px;}
.arrow{padding-left:8px;background:url(http://img.china.alibaba.com/images/cn/common/icon/v2/icon_arrow03_right_08x.gif) no-repeat;}
#slideBox .l a,#slideBox .r a,#slideBox .l_h a,
Ïà¹ØÎĵµ£º
½ñÌìдÁËÒ»¸ö¼òµ¥µÄÍøÒ³£¬Çë¿´´úÂ룺
´íÎóµÄ£º
HTML´úÂ룺
½ñÌìµÄÈÕ×Ó
//CSS´úÂëʹÓÃÍⲿÒýÈëʽ
ÎҵļÒÏçÔÚ¿Àï
CSS´úÂ룺
/* CSS Document */
body{
font-family:Arial, Helvetica, sans-serif;
font-size:20px;
color:red; /*ÒªµÄ¾ÍÊÇÕâÑùµÄЧ¹û£ºÉèÖÃ×ÖÌåÑÕɫΪºìÉ«*/
}
½á¹ûÏÔʾµÄ×ÖÌ ......
.ie
{
border:1px solid #000000;
width:100px;
height:300px;
font-size:12px;
}
.ie div
{ text-over:
overflow:hidden;
text-overflow:ellipsis ......
ÈÃtreeview²»ÏÔʾtdÍø¸ñÏß gridviewÏÔʾÍø¸ñÏß
HTML
<style type="text/css">
TD
{
font-size: 9pt;
  ......
<!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=gb2312" />
<title>ÎҵĻ¬¶¯ÃÅ& ......