Selamat Datang di Blog AGUNG PANJI SASMITO

Minggu, 20 Februari 2011

Belajar Web Programming : Tugas Praktikum Modul 3 - CSS

Selamat malam teman-teman =)
Kali ini ayo kita bikin homepage sebuah situs jejaring sosial dengan menggunakan CSS =)
Mau tahu caranya?
Ayo kita pelajari listingnya =)

<!DOCTYPE html>
<html lang="en">
<head>
<title>BONGbook : Facebook untuk Kecebong - Tugas Praktikum 3 - Modul 3 - ajungpangi</title>
<!-- Agung Panji Sasmito - 109533423242 - S1 PTI 2009 / Off-B -->
<style type="text/css">

.header, .footer{
background-color : rgb(34, 204, 4);
}

.header{
height : 70px;
padding-top : 10px;
padding-bottom : 10px;
padding-left : 150px;
}

#lebar{
width : 1000px;
}

.footer{
padding-top : 5px;
padding-bottom : 5px;
padding-right : 200px;
padding-left : 30px;
color : white;
font-family : Arial;
font-size : small;
font-weight : bold;
}

.bg-color{
height : 450px;
background-image : url(bg.jpg);
background-color : black;
background-repeat : repeat-x;
}

.login{
float : right;
color : white;
font-family : arial;
font-size : small;
}

#logo{
margin-top : 20px;
float : left;
height : 35px;
}

#kanan{
float: left;
padding: 5px;
width:370px;
height: 380px;
}

#tengah {
float: left;
}

#kiri {
float: left;
width: 780px;
height: 380px;
}

#gambar{
padding-top : 10px;
padding-bottom : 10px;
padding-left : 150px;
width: 400px;
height: 200px;
font-family : Arial;
font-size : small;
font-weight : bold;
color: green;
}

#huruf{
font-family : Arial;
font-size : small;
font-weight : bold;
line-height : 30px;
color: green;
}

#button_masuk{
background-color : green;
color : white;
}

#button_daftar{
background-color : green;
color : white;
}

</style>
<link type="image/x-icon" rel="icon" href="icon.jpg">
</head>
<body>
<div class="header">
<div id="lebar">
<div id="logo">
<img src="logo.png">
</div>
<div class="login">
<table>
<tr>
<td>Email</td>
<td>Password</td>
<td> </td>
</tr>
<tr>
<td><input type="text"></td>
<td><input type="password"></td>
<td><input type="submit" value="Masuk" id="button_masuk"></td>
</tr>
<tr>
<td height="25"><input type="checkbox" checked>Ingat saya</td>
<td height="25">Lupa kata sandi?</td>
<td height="25"> </td>
</tr>
</table>
</div>
</div>
</div>
<div class="bg-color">

<form action="my_action.jsp">
<div id="tengah">
<div id="kiri">
<div id="gambar">
<font size="5">BONGbook menghubungkan Facebook untuk KeceBONG </font>
<img src="foto.png">
</div>
</div>
</div>
</form>
<div id="kanan">
<div id="huruf">
<h2>Registrasi GRATIS selamanya. </h2>
<hr style="color: green">
<form action="my_action.jsp">
<table>
<tr>
<td>Nama Depan :</td>
<td><input type="text" size="35"></td>
</tr>
<tr>
<td>Nama Belakang :</td>
<td><input type="text" size="35"></td>
</tr>
<tr>
<td>Email Anda :</td>
<td><input type="text" size="35"></td>
</tr>
<tr>
<td>Kata Sandi Baru:</td>
<td><input type="password" size="35"></td>
</tr>
<tr>
<td>Ulangi Kata Sandi:</td>
<td><input type="password" size="35"></td>
</tr>
<tr>
<td>Jenis Kelamin :</td>
<td><select name="kelamin">
<option value="pria" selected>Laki-laki
<option value="wanita">Perempuan
</select></td>
</tr>
</table>
</form>
<input type="submit" value="Daftarkan Sekarang" id="button_daftar">
</div>
</div>
</div>
<div class="footer">
Powered by Agung Panji Sasmito - S1 PTI 2009 / Off - B - Inspired by kece-BONG
</div>
</body>
</html>


Untuk Screenshootnya sebagai berikut


Tidak ada komentar:

Posting Komentar

Jangan lupa memberi komentar pada setiap postingan saya!

TInggalkan Komentar