Home > Web Front-end > HTML Tutorial > How can I make the outer and inner frames of the table have different thicknesses? ? _html/css_WEB-ITnose

How can I make the outer and inner frames of the table have different thicknesses? ? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:17:54
Original
1364 people have browsed it

I can only achieve the same thickness

.TABLE_ATENA {	border-collapse: collapse;	border-spacing: 0;	empty-cells: show;	display: block;	padding: 0px;	margin: 0px;border:solid;border-width:1px 0px 0px 1px;}.TABLE_ATENA TH {	text-align: center;	border:solid;	border-width:0px 1px 1px 0px;	padding-left:10px;}.TABLE_ATENA TD {	text-align: left;	border:solid;	border-width:0px 1px 1px 0px;	padding-left:10px;}
Copy after login


Thank you


Reply to the discussion (solution)

<!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><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>xxxx</title><style type="text/css">table{border:2px solid red;border-collapse: collapse; border-spacing: 0;}td{border:1px solid red;}</style></head><body><table><tr>    <td>11</td><td>12</td></tr><tr>    <td>21</td><td>22</td></tr></table></body></html>
Copy after login

XML/HTML CODE? 123456789101112131314161718181920222324 & LT;! Doctype html public "-// W3C // dtd xhtml 1.0 transitional // EN" "Http://www.w3.org/tr/xhtml1/dtd/xhtml1 -transitional.dtd">

thx

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template