博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CSS:Tutorial four
阅读量:7081 次
发布时间:2019-06-28

本文共 471 字,大约阅读时间需要 1 分钟。

1、CSS Tables

To specify table borders in CSS, use the border property.

The example below specifies a black border for <table>, <th>, and <td> elements:

table, th, td {
border: 1px solid black;}

Collapse Table Borders

The border-collapse property sets whether the table borders should be collapsed into a single border:

table {
border-collapse: collapse;}table, th, td {
border: 1px solid black;}

 

转载于:https://www.cnblogs.com/Nyan-Workflow-FC/p/10519634.html

你可能感兴趣的文章
API相关基础知识
查看>>
黑马程序员-面向对象-07天-1 (抽象类描述)
查看>>
1106JS循环
查看>>
FreeBSD从零开始---安装后配置(一)
查看>>
PHP Ajax 跨域问题最佳解决方案
查看>>
Linux之开源软件移植
查看>>
C#.NET SQLite自适应32位/64位系统
查看>>
stl本子
查看>>
浅谈大型网站动态应用系统架构(转)
查看>>
iOS 日期时间控件
查看>>
ABAP 四舍五入函数
查看>>
JDBC使用步骤分哪几步?
查看>>
线段树心得
查看>>
Linux 进程间通信 信号灯集
查看>>
Python Day 8: html 基本知识
查看>>
2012年4月19日
查看>>
UVA 11090 Going in Cycle!! 二分答案 + bellman-ford
查看>>
final,static,super,this
查看>>
LeetCode解题思路:442. Find All Duplicates in an Array
查看>>
解决BCG库示例程序中的一个诡异编译错误
查看>>