xxxxxxxxxx
p {
/* The border-color property works only when border-style is defined*/
border-style: solid;
padding: 20px;
margin: 20px;
text-align: center;
font-size: 25px;
border-width: 10px;
}
.one {
border-top-color: blue;
}
.two {
border-right-color: blue;
}
.three {
border-bottom-color: blue;
}
.four {
border-left-color: blue;
}
xxxxxxxxxx
p.one {
border-style: solid;
border-color: red;
}
p.two {
border-style: solid;
border-color: green;
}
p.three {
border-style: dotted;
border-color: blue;
}
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<style>
th, td {
border-style:solid;
border-color: #96D4D4;
}
</style>
</head>
<body>
<h2>Table With Border Color</h2>
<p>Use the CSS border-color property to set the color of the borders.</p>
<table style="width:100%">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
</body>
</html>
xxxxxxxxxx
// color all borders
border-color: red;
// or more specifically
border-top-color: red;
border-right-color: green;
border-bottom-color: blue;
border-left-color: purple;
Change the frame border color in HTML
xxxxxxxxxx
Example code:
<frameset cols="200,*" bordercolor="#0000ff"></frameset>
command:
bordercolor=" "
I don't write in HTML so suggest edit if this code is wrong.