易截截图软件、单文件、免安装、纯绿色、仅160KB

css样式引用实例

//css样式的书写
//元素ID
#tb1{width:100%;height:80px;background-color:#FFD700;padding:4px;font-family:verdana,tahoma;font-weight:bold;}
#tb2{width:100%;padding:4px;font-family:verdana,tahoma;margin:12px
0px 0px 0px;background-color:#EEEEEE;font-weight:bold;}
//类
.test{cursor:hand;
   
border-right: white thin inset;
    border-top: black thin inset;
   
border-left: black thin inset;
    border-bottom: white thin
inset;  
    }
.post1
{
 cursor:move; background:red;
color:Navy; border-right: black thin inset;
}
//元素
body
{
 background-color:Gray:
}
//css样式的运用
<html>
<head
runat="server">
    <title>无标题页</title>
    //引入css样式文件
    <link type ="text/css"
rel = "stylesheet"  href = StyleSheet.css />
</head>
//样式元素的应用,元素名字相同自动套用
<body>
   
<form id="form1" runat="server">
    <div>
        //样式元素ID的应用
        <table id = "tb1"
border = 1; type = "font-size;13pt; align;center;">
           
<tr>
               
//自己使用css样式style=样式
                <td style="width:
134px; height: 19px">dsfdf</td>
            </tr>
       
</table>
    </div>
        <table id = "tb2"
style="width: 1


相关文档:

css固定表头和列

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>固定表头和列</title>
    <style>
        .FixedTitleRow
     ......

Web标准 css简写规则

1. css 字体简写规则
当使用css定义字体时你可能会这样做:
font-size: 1em;
line-height: 1.5em;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
font-family: verdana,serif;
事实上你可以简写这些属性:
font: 1em/1.5em bold italic small-caps verdana,serif
font: bold ital ......

你现在的CSS水平处于什么等级?

CSS(层叠样式表),可能看过网站制作教程网基础教程的人都知道大概是什么回事.本文来测一下,你学习CSS现在处于怎么一个阶段或者说处在一个什么等级.
       本文总共将CSS学习者从低到高分为六个等级.快来看看你是在哪个等级.
  第0级:CSS?什么CSS,是不是CS啊.那游戏我玩过呀.是个多人游 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号