I have two divs inside of eachother. The one #outside has a 5px border and the second #inside has content in it. I want #inside to overlap #outside at the top and bottom so that it effectively breaks the border and appears to be 2 brackets, if that makes sense.
HTML
<div id='outside'>
<div id='inside'>
<h1>Sample header</h1>
<p>Sample copy</p>
</div> <!-- inside -->
</div> <!-- outside -->
CSS
#outside {
border: 5px solid #000;
padding: 5px;
}
I dont quite know how to move the #inside div over the outside div, any advice will help!
Now you can used to
positionfor this designas like this
Demo1
DEMO2