I'm sure someone had a better way but this would do what you want if
you play with the numbers:
div#container{
height: 35em;
width: 20em;
border: 4px solid blue;
background: blue;
padding-top: 10em;
}
div#test {
height: 20em;
width: 20em;
border: 4px solid red;
background: blue;
padding-top: 10em;
margin-left: -4px;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Conde Nast Traveler</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="bordertext.css">
</head>
<body>
<div id="container">
<div id="test">
<h1>TEST.</h1>
</div>
</div>
</body>
</html>
On Aug 9, 2005, at 4:39 PM, Tanya Renne wrote:
Is there such a thing as border-position? I'd like a border to stop
about 80px from the top of a div.
-Tanya
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Jazz is freedom. - T. Monk
www.panix.com/~cassidy
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/