Tugas Web Modul 4
Tugas Web Modul 4
#header{
height: 100px;
border: 1px solid green;
}
#nav{
height: 35px;
border: 1px solid blue;
}
#section{
height: 400px;
border: 1px solid red;
}
#article{
margin-right:55px;
margin-top:20px;
margin-left:20px;
height: 350px;
width: 800px;
border:1px dashed red;
}
#aside{
float:left;
margin-top:0.05px;
margin-left:850px;
height: 325px;
width: 350px;
border:1px dashed black;
}
#footer{
clear:both;
margin-top:20px;
height: 35px;
border: 1px solid green;
}
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Desain layout sederhana</title>
<link rel="stylesheet" href="yourstyle.css" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header">
Header
</div>
<div id="nav">
nav
</div>
<div id="section">
Section
<div id="article">
article
<div id="aside">
aside
</div>
<div id="footer">
Footer
</div>
</div>
</body>
</html>
TUGAS RUMAH MODUL 4
#wrapper {
margin: auto;
height: 580px;
width: 1000px;
border: 1px solid;
background: violet;
}
#header {
margin: auto;
height: 300px;
width: 1000px;
border: 1px solid;
background: violet url('UM.jpg');
}
#unix {
margin: auto;
height: 40px;
width: 998px;
margin-top:120px;
border: 1px solid;
background: blue url('hitam.jpg');
}
#search {
height: 20px;
width:350px;
margin-left:20px;
margin-top:8px;
border: 0;
}
#aaaa {
float: right;
height: 6px;
width:400px;
border: 0;
}
#atas {
height: 25px;
width:350px;
margin-left:320px;
margin-top:-25px;
border: 0;
}
#content {
margin: auto;
height: 400px;
margin-top:14px;
margin-left:0px;
width: 1000px;
border: 1px solid yellow;
}
#content1 {
float: left;
margin: auto;
margin-top:0px;
margin-left:auto;
height: 450px;
width: 288px;
border: 1px solid;
background: blue url('b.jpg');
}
#content2 {
margin: auto;
margin-left:288px;
margin-right:4px;
height: 200px;
width: 640px;
border: 1px solid;
background: blue url;
}
#blok1 {
margin: auto;
margin-top :0px;
height: 250px;
width: 710px;
background: violet;
}
#blok2 {
font-weight: bold;
margin: auto;
margin-top:250spx;
height: 200px;
width: 710px;
border: 1px solid;
background: blue url('pinky.jpg');
}
#footer {
float: left;
margin: auto;
margin-top:86px;
margin-left:-290px;
height: 37px;
width: 994px;
border: 1px solid black;
background: blue url('hitam.jpg');
}
<div id="footer">
<div align="center" class="style7">
<a href="http://localhost/Tugasku/mod3tgs2.html" target="_blank"
class="style7"><font color = "white">Home</a> |
<a href="http://localhost/Tugasku/mod3tgs2.html" target="_blank"
class="style7"><font color = "white">News & Media</a> |
<a href="http://localhost/Tugasku/mod3tgs2.html" target="_blank"
class="style7"><font color = "white">Tutorial</a> |
<a href="http://localhost/Tugasku/mod3tgs2.html" target="_blank"
class="style7"><font color = "white">Tips n Trik</a> |
<a href="http://localhost/Tugasku/mod3tgs2.html" target="_blank"
class="style7"><font color = "white">Download</a>
</div>
<div align="right" class="style10"><font color = "white">latiefah sari poeNya
© PTI 09 C
</font>
</div>
</footer>
</body>
</html>