Hello mmaar,
Your CSS is conflicting. You take an 86px tall #topborder and position it 90px off the top of the page so all you can see is the border.
I wonder if your position: center; is an attempt at positioning your background image. If that's the case then
background-position: center; is what you were trying for but, since you've already started with the shorthand the correct way would be
background: url(/layout/general/topborder.png) repeat-x center top; Even that may have unexpected results since you repeat that on the X axis and I'm not sure how the browser will decide to center it.
See
CSS background properties here.
See
CSS shorthand here.
Look at your #topborder styled like this -
Code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
html, body {
margin: 0;
background: #fc6;
}
div#topborder {
width: 100%;
height: 86px;
position: relative;
background: url(/layout/general/topborder.png) repeat-x;
z-index: 1;
border-bottom: 10px solid #a85a5a;
}
#topborder::before {
content: " ";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 2;
border-bottom: 5px solid #faf9f9;
}
</style>
</head>
<body>
<div id="topborder"></div>
</body>
</html>