我有另外一个问题,这一次在HTML表和它们的边界(4.01,5.0)表格边框不是在HTML4绘制+
注意:所有代码是从w3schools.com
当使用此代码:
<h4>One row and three columns:</h4>
<table border="1">
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
</table>
一切都在浏览器(FF,IE,歌剧,铬)绘制正确,但是当border="1"
与style="border: 1px;"
改变边界和细胞壁消失。 我找不到原因,但使用style
给了我宝贵的验证。
这是我的主要文件部分:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>
Title of the document
</title>
<style type="text/css">
body {background-color:teal;}
</style>
</head>
我希望这里有人知道的问题是... 下面是结果与经典border
和style
:
http://www.free imagehosting.net/pyk3e << border="1"
图片链接现已停止使问题不清楚。 – 2016-12-01 22:17:57