惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers Blog

博客园 - 龍的傳人

再谈代码生成器,拥有自己最适合的代码生成器 javascript+css+xml 全选树(再续) javascript+css+xml 全选树(续) javascript+css+xml 全选树 白话CMMI 如何做好需求收集[来之《程序员》第2期] javascript、CSS、XML动太生成树菜单 - 龍的傳人 - 博客园 可选择也可填写的下拉框(用鼠标\键盘的上下键选择) - 龍的傳人 - 博客园 兼容firefox和IE的两级联动下拉菜单的javascript代码 HTML 图片分析 JavaScript - Import XML Document firefox与IE对javascript和CSS的区别(转) IE和Firefox在JavaScript方面的兼容性(转) javascript在中ie与firefox的区别与解决方案(转) 针对Firefox兼容性,要注意的一些问题 (转) sql2000和文本文件的写入和读取(转) [转]JS代码格式化工具(附源代码) ASP.NET2.0调用MySql的存储过程 Remote建立分析
设表格细钱
龍的傳人 · 2008-06-24 · via 博客园 - 龍的傳人

设表格细钱

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TableThinLine.aspx.cs" Inherits="TSTAWebPrint.TableThinLine" %>

<!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 runat="server">
    
<title>无标题页</title>
    
<style type="text/css">
    #tb1
{ width:100%; border-left:#000000 solid 1px;border-top:#000000 solid 1px;border-collapse:collapse;} 
    #tb1 td
{width:25%;border-right:#000000 solid 1px;border-bottom:#000000 solid 1px;padding:1px 1px 1px;}
    
</style>
    
<script language="Javascript" type="text/javascript">
    
function setTableSolid(tableId,borderColor)
    
{
        
var tb=document.getElementById(tableId);
        tb.style.borderLeft
=borderColor+" solid 1px";    
        tb.style.borderTop
=borderColor+" solid 1px";   
        tb.style.borderCollapse
="collapse"
         
var trs=tb.rows.length;
         
for(var i=0;i<trs;i++)
         
{
            
var tds=tb.rows[i].cells.length;
            
for(var j=0;j<tds;j++)
            
{
              
var td=tb.rows[i].cells[j];
                  td.style.borderRight
=borderColor+" solid 1px";   
                  td.style.borderBottom
=borderColor+" solid 1px";
                  td.style.padding
="1px 1px 1px";      
            }
            
         }

    }

    
</script>
</head>
<body onload="setTableSolid('tb','#17e1ff')">
    
<form id="form1" runat="server">
    
<div>
        
<table id="tb">
            
<tr>
                
<td style="width: 100px">
                    AA
</td>
                
<td style="width: 100px">
                    BB
</td>
                
<td style="width: 100px">
                    CC
</td>
            
</tr>
            
<tr>
                
<td style="width: 100px; height: 21px">
                    DD
</td>
                
<td style="width: 100px; height: 21px">
                    EE
</td>
                
<td style="width: 100px; height: 21px">
                    FF
</td>
            
</tr>
            
<tr>
                
<td style="width: 100px; height: 21px;">
                    GG
</td>
                
<td style="width: 100px; height: 21px;">
                    JJ
</td>
                
<td style="width: 100px; height: 21px;">
                    HH
</td>
            
</tr>
        
</table>
        
<br />
        
<br />
        
<br />
        
<br />
        
<br />
        
<table id="tb1">
            
<tr>
                
<td style="width: 100px; height: 21px">
                    1
</td>
                
<td style="width: 100px; height: 21px">
                    2
</td>
                
<td style="width: 100px; height: 21px">
                    3
</td>
            
</tr>
            
<tr>
                
<td style="width: 100px; height: 21px">
                    4
</td>
                
<td style="width: 100px; height: 21px">
                    5
</td>
                
<td style="width: 100px; height: 21px">
                    6
</td>
            
</tr>
            
<tr>
                
<td style="width: 100px">
                    7
</td>
                
<td style="width: 100px">
                    8
</td>
                
<td style="width: 100px">
                    9
</td>
            
</tr>
            
<tr>
                
<td style="width: 100px">
                    10
</td>
                
<td style="width: 100px">
                    11
</td>
                
<td style="width: 100px">
                    12
</td>
            
</tr>
        
</table>
    
    
</div>
    
</form>
</body>
</html>

posted @ 2008-06-24 17:16  龍的傳人  阅读(344)  评论(0)    收藏  举报

刷新页面返回顶部