Desain Halaman Web Sederhana



Berikut adalah kode file css (simpan dengan nama new2.css) untuk membuat halaman web seperti di atas :

#wrapper {
margin: auto;
width: 997px;
border: 0;
}
#header {
height: 120px;
border: 1px solid blue;
margin-bottom:2px;
background:blue url('header.jpg');
}
#Gambarum {
float: left;
height: 63px;
width:61px;
margin-top:20px;
margin-left:50px;
border: 0;
background:red url('UM.PNG');
}
#Te {
float: left;
height: 35px;
width:300px;
margin-top:35px;
margin-left:5px;
}
#extra {
float: right;
height: 120px;
width:400px;
border: 0;
}
#atas {
float: left;
height: 25px;
width:350px;
margin-left:30px;
margin-top:2px;
border: 0;
}
#search {
clear:both;
float: right;
height: 20px;
width:300px;
margin-top:67px;
margin-right:20px;
border: 0;
}
#search1 {
float: left;
height: 15px;
width:120px;
margin-left:50px;
margin-top:4px;
border: 0;
}
#search2 {
float: right;
height: 17px;
width:110px;
margin-right:2px;
margin-top:4px;
border: 1px solid white;
background:white;
}
#inner {
float: left;
border: 0;
}
#sidebar {
float: left;
margin-right: 0px;
width: 250px;
height:420px;
border: 1px solid blue;
background:blue url('sidebar.jpg');
}
#Inner2 {
float: left;
width: 745px;
height: 420px;
border: 0;
}
#top{
height: 80px;
border: 0;
background:blue url('top.jpg');
}
#content {
float: left;
margin-top:10px;
margin-right:15px;
margin-left:15px;
width: 460px;
height: 323px;
border: 0;
}
#right {
float: left;
width: 250px;
height: 200px;
margin-top:10px;
border: 1px solid green;
background:blue url('right.jpg');
}

#footer {
margin:auto;
clear: both;
height: 80px;
width:997px;
border: 1px solid blue;
background:blue url('footer.jpg');
}
#leftmenu ul {
width: 250px;
list-style-type:none;
padding:0; margin:0;
}
#leftmenu a:link, #leftmenu a:visited, #leftmenu a:active {
padding-left: 15px;
text-decoration: none;
}
#leftmenu a {
padding: 5px 0px 5px 15px; display: block;
background: blue url('button.jpg');
margin: 0px 0px 1px; color: #ffffff;
}
#leftmenu a:hover {
background: #000066 no-repeat left center; color: #ffffff
}
.style2 {
font-size: 24px;
font-weight: bold;
color: #000099;
}
.style3 {
color: #0000CC;
font-weight: bold;
}
.style4 {
font-family: "Times New Roman", Times, serif;
font-size: xx-large;
color: #FFFFFF;
font-weight: bold;
}
.style6 {
font-family: "Times New Roman", Times, serif;
font-weight: bold;
}
.style7 {color: #FFFFFF}
.style8 {
font-family: "Times New Roman", Times, serif;
font-size: 16px;
font-weight: bold;
color: #FFFFFF;
}
.style10 {
color: #FFFFFF; font-size: 12px;
}
.style11 {
color: #000066;
font-weight: bold;
}


Dan kode html-nya sebagai berikut (simpan dengan nama 2.html)


READ MORE - Desain Halaman Web Sederhana

posted under | 0 Comments

Desain Layout Halaman Web



Gambar tersebut adalah tampilan desain layout halaman web dengan memanfaatkan CSS (Cascade Style Sheet).
Untuk dapat membuat desain layout seperti itu yang pertama adalah membuat file css kemudian simpan dengan nama new1.css sebagai berikut :

#wrapper {
margin: auto;
width: 750px;
border: 1px solid black;
}
#header {
height: 90px;
border: 1px solid black;
margin-bottom:5px;
}

#inner {
float: left;
margin: 10px 0;
width: 750px;
border: 1px solid green;
}

#inner2{
float: left;
margin-left:12px;
width: 589px;
height:310px;
border: 1px solid green;
}

#sidebar {
float: left;
margin-right: 0;
width: 145px;
height:310px;
border: 1px solid red;
}

#top{
height: 100px;
border: 1px solid black;
}
#content {
float: left;
margin-right:15px;
width: 385px;
height: 201px;
border: 1px solid red;
margin-bottom: 5px;
}
#right {
float: right;
width: 185px;
height: 155px;
border: 1px solid red;
}

#footer {
clear: both;
margin-top: 5px;
height: 79px;
border: 1px solid black;
}

Selanjutnya adalah membuat file html kemudian simpan dengan nama 1.html




Letakkan file css dan html pada satu folder kemudian jalankan melalui localhost.
Selamat mencoba. Semoga bermanfaat...
READ MORE - Desain Layout Halaman Web

posted under | 0 Comments

Web Server Menangani Deadlock


Dalam database, deadlock adalah sebuah situasi di mana dua atau lebih transaksi sedang menunggu satu sama lain untuk menyerahkan kunci. Sebagai contoh, Transaksi A memegang kunci pada beberapa baris dalam tabel Account dan perlu memperbarui beberapa baris dalam tabel Orders untuk menyelesaikan. Transaksi B memegang kunci pada baris dalam tabel Orders tetapi perlu untuk meng-update baris dalam tabel Account yang dipegang oleh A. Transaksi A tidak dapat menyelesaikan transaksi karena kunci pada Orders. Transaksi B tidak dapat menyelesaikan transaksi karena kunci pada Account. read more
READ MORE - Web Server Menangani Deadlock

posted under | 0 Comments

DESAIN TOPOLOGI JARINGAN STAR DENGAN KONFIGURASI IPv4

To see more click here
READ MORE - DESAIN TOPOLOGI JARINGAN STAR DENGAN KONFIGURASI IPv4

posted under | 0 Comments
Postingan Lebih Baru Postingan Lama Beranda

Followers


Recent Comments