materi

Membuat Header tidak bergerak

 
 
<div class="header" style="position:  fixed; top: 0;">
 
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FF0000">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#000033">&nbsp;</td>
  </tr>
</table>
 
</div>
 

Membuat Background diam jika di Scroll

 
 
 
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
 
<style type="text/css">
body {
background-image: url(GAMBAR DISINI);
background-repeat: no-repeat;
background-position:center center;
background-attachment:fixed;
}
</style>
 
</head>
 
 
 

Pages

Subscribe to RSS - materi