Only 4 borders, no other grid lines
To be completed in CSS, delete the table border attribute in HTML. Define the table in CSS:
border:1px black solid;
The color is in the middle, please set the color yourself.
To complete it in CSS, delete the table border attribute in HTML. Define the table in CSS:
border:1px black solid;
The color is in the middle, please set the color yourself.
This way there are no borders at all
111 | 111 | |
11 | 111 |
<!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>无标题文档</title><STYLE type="text/css">table{border:1px solid #000;}</STYLE></head><body><table border="0" cellspacing="0" cellpadding="0"><tr><td>111</td><td>111</td><td>11</td></tr><tr><td>11</td><td>111</td><td>111</td></tr></table></body></html>
Wouldn’t it be nice to make a nest...