hello
again with my PSD, this time I try to set three block of text in one line, (the three block of text under the flower image) , but i don’t know how can’i do that !!
this what i try to do but no effect :
<html>
<head>
<link rel="stylesheet" type="text/css" href="./css/styles.css"/>
<style>
@font-face
{
font-family: 'PlantagenetCherokee';
src : url("./fonts/Plantagenet Cherokee.ttf") format("truetype");
}
body , html{
height : 100%;
width : 100%;
margin: 0;
padding :0;
}
body
{
height : 1600px;
width : 100%;
background-color : #d0d0d0;
padding : 0 20px;
box-sizing : border-box;
}
* , *::before , *::after
{
box-sizing : inherit;
}
.container
{
background-color : #ffffff;
border-top : 10px solid #894aa3;
border-bottom : 55px solid #444444;
height : 100%;
width : 100%;
margin: 0;
/*padding : 0 30px;*/
position : relative;
}
.search
{
position: absolute;
right : 58px;
top : 0;
width : 188px;
height: 28px;
border : 0px;
background-color: #ebebea;
border-radius: 0 0 0 7px;
}
.iconSearch
{
background-color : #ebebea;
background-image : url("../img/searchIcon.png");
background-repeat: no-repeat;
background-size : 15px 15px;
background-position: center;
width : 28px;
height : 28px;
border-radius: 0 0 7px 0;
position : absolute;
top : 0;
right : 30px;
border : 0;
}
/* text is bold by default */
.utopic-flowers
{
font-family: 'PlantagenetCherokee' , serif;
color : #666666;
margin-left : 30px;
margin-top: 35px;
background : none;
text-transform : uppercase;
}
.utopic-flowers span
{
font-size : 55px;
color : #666666;
}
.utopic-flowers2
{
font-family: Arial, Helvetica, sans-serif;
color : #999999;
font-size : 12px;
text-transform : capitalize;
position : absolute;
left : 30px;
top : 95px;
}
.navbartop
{
opacity: 1;
position : absolute;
top : 82px;
right :0;
}
.navbartop li
{
display: inline-block;
text-transform: uppercase;
font-family: Arial, Helvetica, sans-serif;
font-size : 14px;
color : black;
padding-right: 30px;
text-decoration : none;
}
.navbartop li a
{
text-decoration : none;
color : black;
}
.headerText
{
margin-top : 20px;
width : 100%;
height : 100px;
background-color :#ebebea;
display : block;
margin : 0 auto;
margin-top :45px;
}
.headerText p
{
width : 70%;
font-style : italic;
font-size : 18px;
text-align : center;
vertical-align: center ;
margin : auto auto;
padding : 25px 0;
}
.headerText p::before
{
/* is not the same quote in the template. */
content : open-quote;
}
.headerText p::after
{
content : close-quote;
}
.bigimgcontainer
{
height : 380px;
width : 100%;
overflow : hidden;
position : relative;
border : 0;
}
.bigimgcontainer img
{
display: block;
position : absolute;
top : 50%;
left : 50%;
min-height: 100%;
min-width: 100%;
max-width : 960px;
max-height : 380px;
transform: translate(-50%, -50%);
}
.comment
{
background-color : #0f0f0f;
opacity : 0.5;
z-index: 1;
height : 120px;
width : 450px;
position : absolute;
right : 0;
bottom : 0;
text-align : center;
}
.comment p
{
width : 80%;
margin : auto auto;
font-size : 18px;
font-style : italic;
color : white;
vertical-align : middle;
/* can't center text verticaly , this is whhy i use padding */
padding : 25px 0;
}
.leftarrow
{
background-image: url("../img/arrow.png");
position : absolute;
max-height: 50px;
max-width: 50px;
height: 50px;
width: 50px;
top : 45%;
left : 30px;
z-index: 1;
}
.leftarrow:hover
{
background-image: url("../img/arrowhovered.png");
position : absolute;
max-height: 50px;
max-width: 50px;
height: 50px;
width: 50px;
top : 45%;
left : 30px;
z-index: 1;
}
.rightarrow
{
background-image: url("../img/arrow.png");
position : absolute;
max-height: 50px;
max-width: 50px;
height: 50px;
width: 50px;
top : 45%;
right : 30px;
z-index: 1;
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: flipH();
-ms-filter: "FlipH";
}
.rightarrow:hover
{
background-image: url("../img/arrowhovered.png");
position : absolute;
max-height: 50px;
max-width: 50px;
height: 50px;
width: 50px;
top : 45%;
right : 30px;
z-index: 1;
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: flipH();
-ms-filter: "FlipH";
}
.containertext
{
margin : 30px 50px;
width: 40%;
position : relative;
display : inline-block;
}
.containertext img
{
height: 48px;
width : 48px;
left : 0;
position: absolute;
margin-right: auto;
vertical-align: top;
}
.containertext .containerparag
{
font-family: Arial, Helvetica, serif;
top : 0;
left: 60px;
position : absolute;
}
.containertext .containerparag .title
{
color: #894aa3;
font-size: 20px;
}
.containertext .containerparag .parag
{
position : absolute;
top : 50px;
width: 250px;
}
footer span.left
{
left : 30px;
position : absolute;
bottom : -30px;
color : #d0d0d0;
font-size : 13px;
}
footer span.right
{
right : 30px;
position : absolute;
bottom : -30px;
color : #d0d0d0;
font-size : 13px;
} </style>
</head>
<body>
<div class="container">
<header>
<form>
<input class="iconSearch" type="submit" value=""/><input class="search" type="text"/>
</form>
<h2 class="utopic-flowers">
<span>u</span>topic <span>f</span>lowers
</h2>
<span class="utopic-flowers2">free PSD webSite template</span>
<ul class="navbartop">
<li><a href="#">home</a></li>
<li><a href="#">style demo</a></li>
<li><a href="#">full width</a></li>
<li><a href="#">dropdown</a></li>
<li><a href="#">portfolio</a></li>
<li><a href="#">gallery</a></li>
</ul>
<div class="headerText">
<p>Veniam ipsum laboris adipisicing anim aliquip occaecat qui amet exercitation dolor culpa. Voluptate
excepteur pariatur adipisicing cupidatat exercitation occaecat do consequat culpa ea duis proident.</p>
</div>
</header>
<div class="bigimgcontainer">
<img src="./img/flower.jpg"/>
<div class="comment">
<p>ipsum laboris adipisicing anim aliquip occaecat qui amet exercitation dolor culpa. Voluptate
excepteur</p>
</div>
<a href="#" class="leftarrow"></a>
<a href="#" class="rightarrow"></a>
</div>
<div class="containertext">
<div class="img">
<img src="./img/miniflower.jpeg">
</div>
<div class="containerparag">
<span class="title">
Lorem ipsum dolor
</span>
<div class="parag">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus animi at distinctio dolores harum id
illo maiores, nisi nostrum nulla, numquam officiis optio.
</div>
</div>
</div>
<div class="containertext">
<div class="img">
<img src="./img/miniflower.jpeg">
</div>
<div class="containerparag">
<span class="title">
Lorem ipsum dolor
</span>
<div class="parag">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus animi at distinctio dolores harum id
illo maiores, nisi nostrum nulla, numquam officiis optio.
</div>
</div>
</div>
<div class="containertext">
<div class="img">
<img src="./img/miniflower.jpeg">
</div>
<div class="containerparag">
<span class="title">
Lorem ipsum dolor
</span>
<div class="parag">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus animi at distinctio dolores harum id
illo maiores, nisi nostrum nulla, numquam officiis optio.
</div>
</div>
</div>
<footer>
<span class="left">CopyRight 2013 - All Rights Reserved - Domain Name</span>
<span class="right">Template by OS Template</span>
</footer>
</div>
</body>
</html>
thank you for taking a look on the code guys.