Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
MonkistaPT

Ajuda na Criação do Zen Garden

Recommended Posts

MonkistaPT

Boas Precisava de ajuda na criação do Zen garden na qual eu tenho que fazer isto que esta neste link.

http://www.2shared.com/file/12273580/298009d4/zen-garden.html

Eu ja tenho o código em HTML e CSS.

HTML:

<html>
<head>
<title>css Zen Garden: The Beauty in CSS Design</title>
<link rel="stylesheet" type="text/css" href="zen-garden.css">
</head>
<body>
<div class="Blossoms">
<div class="dados">
</div>
<div class="main" style="left: 335px; right: 200px; top: 120px; height: 365px; width: 411px">
</div>
<div class="titulo">
<img src="h2.gif">
</div>
<div class="templo">
<img src="temple-door.gif">
</div>
</div>
</body>
</html>

body {
background-image: url('zen-bg.png');
background-position: right,top;
background-repeat: no-repeat;
font-family: Georgia;
color: #555753;
border: 0;
position: relative;
margin-top:0px;
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
font-size:8pt;
margin:16pt;
}
div.main{position:absolute;
right:160px;
top:120px;
left:120px;	
text-align:left;
text-align:right;
}
div.Blossoms{
background-image: url('blossoms.jpg');
background-position: right;
background-repeat: no-repeat;
left: 10px;
text-align: justify;
height: 100%;
width: 100%;
}

div.titulo{position:absolute;
top:60px;
right:150px;
}
div.templo{
position:absolute;
top:20px;
right:0px;
}
div.dados{
margin-top:100px;
margin-left:110px;
margin-bottom:20px;
width:200px;
float:left;
}
div.dados.p{
font-size:10pt;
margin:22px;
text-align:right;
font-style:italic;
}

não sei se este e o local ideal espero ter resposta breve.

So falta por as letras dentro do background mas não sei como...

cumprimentos Joao Joaquim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.