
Originally Posted by
ronpat
Assuming this border goes around the entire page, why not use:
Code:
border-right:38px solid transparent;
border-bottom:38px solid transparent;
border-left:38px solid transparent;
Are transparent images necessary?
The border is for parts in the container.

Originally Posted by
ralph.m
Why not just use padding or margin? We really need to see this in context. You could post example code if you can't post a link, so that we can see this in context.
Here's the CSS code, the margins and HTML example I use atm:
HTML:
Code:
<div id="container">
<div id="left">
<div id="something">
Hello world!
</div>
<div id="right></div>
</div>
CSS:
Code:
#container {
color: #B8B8B8;
font-family: MuseoSans500, Arial, 'Times New Roman', serif;
width: 1047px;
height: auto;
margin: 10px auto;
-webkit-transition: all .1s linear;
-moz-transition: all .1s linear;
-o-transition: all .1s linear;
transition: all .1s linear;
}
#container #left, #container #right {
border-width: 38px;
-webkit-border-image: url("../img/borders/container.png") 38 38 repeat;
-moz-border-image: url("../img/borders/container.png") 38 38 repeat;
-o-border-image: url("../img/borders/container.png") 38 38 repeat;
border-image: url("../img/borders/container.png") 38 38 repeat;
background-color: #1c1913;
}
#container #left > div, #container #right > div {
margin: -20px -20px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
Image:
Qt01v.png
Bookmarks