Buscar

html-75

Prévia do material em texto

<style type ="text/css" > 
<!-- 
body { 
 margin-left : 0px ; 
 margin-top : 0px ; 
 margin-right : 0px ; 
 margin-bottom : 0px ; 
} 
#sombra_1 { 
 width : 10px ; 
 height : 100%; 
 background-image : url(images/sombra.jpg) ; 
 background-repeat : repeat-y ; 
} 
#sombra_2 { 
 width : 10px ; 
 height : 100%; 
 background-image : url(images/sombra2.jpg) ; 
 background-repeat : repeat-y ; 
} 
--> 
</style> 
 
Vamos agora colocar a imagem background.gif como fundo da página Layout 
Primeiro coloque no código CSS dentro das chaves do body o seguinte: 
 
background-image : url(images/background.gif) ; 
background-repeat : repeat ; 
 
Agora deixaremos o fundo da table_estrutura branco e sua altura com 1200 pixels. 
Adicione a seguinte chave no código CSS: 
 
#table_estrutura { 
background-color : #FFFFFF; 
height : 1200px ; 
} 
 
O código incluindo as TAG html deve ficar assim: 
 
<html> 
<head> 
<title>Layout</title> 
<style type ="text/css" > 
<!-- 
body { 
 margin-left : 0px ; 
 margin-top : 0px ; 
 margin-right : 0px ; 
 margin-bottom : 0px ; 
background-image : url(images/background.gif) ; 
background-repeat : repeat ; 
 
} 
#sombra_1 { 
 width : 10px ;

Continue navegando