...

View Full Version : Tables?



ragol_67
09-29-2002, 02:26 AM
How do you put a border on to a table, but only have it go around the table, not around every word?


In other words, outline the table.

jkd
09-29-2002, 02:33 AM
table {
border: 1px solid black;
}

Inside <style> tags.

ragol_67
09-29-2002, 05:52 PM
Can I see an example please?

Graeme Hackston
09-29-2002, 06:55 PM
<html>
<head>
<title></title>
<style type="text/css">
table {
border: 1px solid black;
}
</style>
</head>
<body>
<table>
<tr>
<td>
content
</td>
</tr>
</table>
</body>
</html>

Try playing with the examples on this site:

http://www.w3schools.com/css/css_border.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum