View Full Version : Table Borders
silasprophet
07-27-2002, 09:04 PM
Is there a way to specify attributes to different sides of a table border. For instance, can I make the sides thicker than the top & bottom? Or use four different colors for the sides? I'm familiar with 'bordercolorlight' & 'bordercolordark', but I'm looking for something more complex. Thanks for any help.
sp. :cool:
MCookie
07-27-2002, 10:59 PM
Hi, just copy-paste and study this:
<html><head>
<title>Wacky</title>
<style type="text/css">
<!--
table {
width:300px;
height:300px;
margin:auto;
background:#fc6;
border-top:1px solid #000;
border-right:3px dotted #00f;
border-bottom:6px dashed #90c;
border-left:9px double #9c0;
}
td {
background:#ccc;
border-top:5px groove #000;
border-right:5px ridge #00f;
border-bottom:10px inset #90c;
border-left:10px outset #9c0;
color:#000;
text-align:center;}
-->
</style>
</head>
<body bgcolor="#ffffff">
<table cellspacing="20" cellpadding="20">
<tr>
<td>text here</td>
</tr>
</table>
</body>
</html>
silasprophet
07-28-2002, 12:07 AM
I'm really just learning CSS, but I'll give it a try. Thank you much.
sp:cool:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.