i need your help , i m trying to put borders around the page in the attachment ,so i try some DIY like this :
<html>
<head>
<style>
body
{
/*position : relative;*/
height: 100%;
max-height: 100%;
}
.top-border
{
height: 10px;
width: 100%;
position : absolute;
top : 0;
background-color:#894aa3;
display: inline-block;
margin-top: -34px;
}
.left-border
{
height: 105%;
width : 20px;
margin-top: -34px;
background-color : #d0d0d0;
position: absolute;
left : 0;
z-index: 1;
}
.right-border
{
height: 105%;
width : 20px;
margin-top: -34px;
background-color : #d0d0d0;
right: 0;
position: absolute;
z-index: 1;
}
.bottom-border
{
bottom: 0;
height: 55px;
width: 100%;
position: absolute;
background-color: #444444;
}
.search
{
margin-top : -25px;
margin-right: 50px;
width : 218px;
height: 28px;
float : right;
border : 0px;
background-color: #ebebea;
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
}
/*
plantagenet cherokee regular
*/
.utopic-flowers
{
color : #666666;
margin-left : 30px;
margin-top: 35px;
}
.container
{
height : 100%;
width : 100%;
/*border : 10px solid black;*/
position: relative;
}
</style>
</head>
<body>
<div class="container">
<div class="top-border">
</div>
<div class="left-border">
</div>
<div class="right-border">
</div>
<div class="bottom-border">
</div>
<input type="text" name="search" class="search"/>
<h2 class="utopic-flowers">Utopic Flowers</h2>
<p>Elit elit duis aute officia pariatur in. Dolore in eiusmod ex est minim consectetur.
Reprehenderit non eiusmod qui excepteur ullamco ipsum quis aliquip,Non sint enim.</p>
</div>
</body>
</html>
but when i try to set more text in the P tag i m getting text on bottom of the bottom border ( i want that the text to be placed above the bottom border),and if you notice in left and right the text is hidding , and the borders are not flexible, and another thing is the margin by default added on bottom of the top div ( this why i'm adding -25px in margin-top of search input).
so i try with another way :
body
{
/*position : relative;*/
height: 100%;
max-height: 100%;
border-right: 20px solid #d0d0d0;
border-left: 20px solid #d0d0d0;
border-top: 10px solid #894aa3;
border-bottom : 55px solid #444444;
}
but the problem here that is not the same border in the image above, because the border of right and left need to be on the border of top and bottom, so how can i get the same borders in the image (template) above ???
thank you in advance.