我有另外一個問題,這一次在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