displaytag.css file description and modify the style used

displaytag.css file description and modify the style used

1. To modify the table style, width default value is 80%
table (
border: 1px solid # 666;
width: 100%;
margin: 20px 0 20px 0! important;
)

2. Next page link style:

displaytag.css file
span.pagelinks (
background-color: # eee;
border: 1px dotted # 999;
padding: 2px 4px 2px 4px;
width: 100%;
display: block;
border-top: none;
margin-bottom:-5px;
)

3. Also link to the style guide

div.exportlinks (
background-color: # eee;
border: 1px dotted # 999;
padding: 2px 4px 2px 4px;
margin: 2px 0 10px 0;
width: 100%;
)

4. Form the background color of odd and even lines

tr.odd (
background-color: # fff
)

tr.tableRowEven, tr.even (
background-color: # fea
)

分类:Java 时间:2010-04-01 人气:258
分享到:
blog comments powered by Disqus

相关文章

  • 图解CSS的padding,margin,border属性(详细介绍及举例说明) 2013-05-11

    图解CSS的padding,margin,border属性 W3C组织建议把所有网页上的对像都放在一个盒(box)中,设计师可以通过创建定义来控制这个盒的属性,这些对像包括段落.列表.标题.图片以及层.盒模型主要定义四个区域:内容(content).边框距(padding).边界(border)和边距(margin). 对于初学者,经常会搞不清楚margin,background-color,background-image,padding,content,border之间的层次.关系和相互影响

  • 图解CSS的padding,margin,border属性 2013-09-05

    图解CSS的padding,margin,border属性(详细介绍及举例说明) 图解CSS的padding,margin,border属性 W3C 组织建议把所有网页上的对像都放在一个盒(box)中,设计师可以通过创建定义来控制这个盒的属性,这些对像包括段落.列表.标题.图片以及层.盒模型主 要定义四个区域:内容(content).边框距(padding).边界(border)和边距(margin). 对于初学者,经常会搞不清楚margin,background-color,backgroun

  • Using javascript / css implementation GridView alternate row background color. Click the line color 2009-06-20

    Using javascript / css implementation GridView alternate row background color, click the line color Ask Bo a few days ago was found in someone clicks GridView question about the issue of line color, suddenly think of a long, long time ago, wrote an a

  • Using javascript / css to achieve GridView alternate row background color. Click the line color 2009-06-22

    Using javascript / css to achieve GridView alternate row background color, click the line color Asked a few days ago was found in Bo was asked click on the GridView row color problem, suddenly reminded of a long, long time ago, wrote an article in a

  • Table background color changing 2010-03-29

    Forms the background color is colorless, and when reading data in tabular form, the background color into black, while in the sub-browser specific, when a certain piece of data, which the background color is green. Very interesting ~ To accomplish th

  • With regard to the overall project, the global table in the tr-line to set the background color of the mouse event 2009-07-27

    Js In fact, I first published on JS is an outsider to do the time used to look up the use of web pages, most recently a project in their own front page displays the form is more than accounted for the main show reports, inventory and other data so ad

  • table row javascript and jquery control the font and background color 2010-04-30

    <script type="text/javascript"> window.onload=function(){ var table=document.getElementById("tb"); var tboby=table[0]; var trs=document.getElementsByTagName("tr"); for(var i=0;i<trs.length;i++){ if(i%2==0){ trs[i].st

  • JavaScript to change the background color of table cell 2010-03-29

    JavaScript to change the background color of table cell First of all, check out the sample "JavaScript to change the table cell background color" View content copy content /************************************************* Function: to change th

  • Add a border for the table with CSS 2010-05-13

    The use of CSS defines a table 1 pixel border when it is a relatively difficult problem, in the definition of the time, it is easy to Biankuang defined repeat, many people asked me this question, today I put my as a table to add a method to We, in fa

  • Does not appear outside the border css table 2010-08-15

    <style> table (border: none; padding: 0px; border-collapse: collapse;) td (border-bottom: 1px solid # 630; border-right: 1px solid # 630;) td.b (border-bottom: none;) td.r (border-right: none;) </ Style> <table> <tr> <td> <

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.254 (s). 12 q(s)