Click to See Complete Forum and Search --> : Borders


maffmommie
06-08-2005, 01:46 PM
This may be trivial but...I don't know how to do it.

I'm trying to make tables that have borders but not those thick @$$ borders. But something like... the ones on this page...(note the ad to your right)

I want a border that's only one pixel...you see what I'm trying to say?

Can you help?

Fang
06-08-2005, 02:14 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Table borders</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<style type="text/css">
<!--
table, td {
border:1px solid blue;
border-collapse:collapse;
}
-->
</style>

</head>
<body>
<table cellpadding="5" cellspacing="0" summary="">
<tbody>
<tr><td>xxxx</td><td>xxxx</td></tr>
<tr><td>xxxx</td><td>xxxx</td></tr>
</tbody>
</table>
</body>
</html>