css table
<asp:GridView ID="GridView1" runat="server" Width="100%"
HorizontalAlign="Center" CellPadding="1" AutoGenerateColumns="False" AllowPaging="true"
CellSpacing="1" BorderWidth="0px" BackColor="#6594D1"
onrowdatabound="GridView1_RowDataBound" onsorting="GridView1_Sorting"
onselectedindexchanging="GridView_SelectedIndexChanging" AllowSorting="True">
<AlternatingRowStyle CssClass="TD-BG-LAN" BackColor="#ffffef" BorderColor="#ffffff"></AlternatingRowStyle>
<RowStyle CssClass="TD-BG-BAI" BackColor="white" Height="22"></RowStyle>
<HeaderStyle HorizontalAlign="Center" CssClass="TR-LAN" BackColor="#CCCC99" Height="24"></HeaderStyle>
<Columns>
<asp:CommandField ShowSelectButton="true" HeaderStyle-Width="5%"
&n
相关文档:
來源:http://www.webjx.com/css/divcss-17091.html
中文原文:CSS在Internet Explorer 6, 7 和8中的差别
译自:CSS Differences in Internet Explorer 6, 7 and 8
关于浏览器的最离奇的统计结果之一就是Internet Explorer
版本6,7和8共存。截至本文,Internet Explorer各个版本总共占据了大约65%的市场 ......
ie6中div的高度自动设置,到了ie7和ie8就不行了,需要设置css
/*针对非IE*/
div:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
/*针对IE*/
div{zoom:1;} ......
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#wai{
width:500px;
height:500px;
background-color: #990;
}
#nei {
float:left;
width:200p ......
<style type="text/css">
/*
根据input的type来控制css样式
*/
/*
1.用css的expression判断表达式
优点:简单,轻量级
缺点:expression判断表达式FireFox是不支持的。致命的是只能区分出一个(例如例子中就只能区分出text文本框),不要试图设置多个,下面的会将上面的覆盖掉
input
{
background- ......
CSS可以处理高度、宽度、深度三个维度。在前面的课程中,我们已经了解了前两个维度。在本课中,我们将学习如何令不同元素具有层次。简言之,就是关于元素堆叠的次序问题。
为此,你可以为每个元素指定一个数字(z-index)。其原理是:数字较大的元素将叠加在数字较小的元素之上。
比方说,我们正在打扑克,并且拿了一手同 ......