Forum Moderators: not2easy
8.5.3 Border style
[w3.org...]
double
The border is two solid lines. The sum of the two lines and the space between them equals the value of 'border-width'
You could probably do some fancy footwork and hack something together. ;)
[webmasterworld.com...]
Firefox 3.1 (now still in beta) should have it too once released (with -moz-border-image, instead of -webkit-border-image).
<html>
<head>
<title>H1 header with double border around text</title>
<style type="text/css">
h1 {
font-size: 16px;
color: #FEDCBA;
background-color: #56789A;
padding: 4px 12px;
border: 2px solid #FEDCBA;
margin: 6px;
}
.h1 {
background-color: #012345;
float: left;
}
</style>
</head>
<body>
<div class="h1"><h1>Header Text</h1></div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--
.outer
{
border: 2px solid black;
}
.inner
{
margin:3px;
padding:5px;
border:1px solid black;
}
-->
</style>
</head>
<body>
<div class="outer">
<div class="inner">
<h1>Alphabet</h1>
<p>The quick brown fox jumps over the lazy dog</p>
</div>
</div>
</body>
</html>