Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- How to get a table border separate from the cell border.


birdbrain - 12:39 pm on Sep 30, 2012 (gmt 0)


Hi there MichaelBluejay,

try it like this...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">

<title>double border</title>

<style type="text/css">
table {
border:1px double #000;
border-collapse:collapse;
}
td {
padding:10px;
border:1px solid #c0c0c0;
}
</style>

</head>
<body>

<table><tr>
<td>1</td><td>2</td><td>3</td>
</tr><tr>
<td>4</td><td>5</td><td>6</td>
</tr> <tr>
<td>7</td><td>8</td><td>9</td>
</tr></table>

</body>
</html>


birdbrain


Thread source:: http://www.webmasterworld.com/css/4501794.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com