<html>
<head>
<title>belajar membuat template</title>
<style type="text/css">
#wrapper{
width:1024px; margin:auto;
}
#header-wrapper{
width:1024px; background:red; border:solid; float:left; margin-top:5px;
}
#content-wrapper{
width:683px; background:#cff; border:solid; margin-top:5px;
}
#sidebar-wrapper{
width:316px; background:#f99; border:solid; margin-top:5px; margin-left:5px; float:left;
}
#footer-wrapper{
width:1000px; background:#f90; border:solid; margin-top:5px; float:left;
}
/* for 1024px or less */
@media screen and (max-width: 1024px){
#wrapper{
width:100% float:none;
}
#header-wrapper{
width:100%;
}
#content-wrapper{
width:63%; float:left;
}
#sidebar-wrapper{
width:34%; float:left;
}
#footer-wrapper {
width:100%;
}
}
/* for 700px or less */
@media screen and (max-width: 700px){
#content-wrapper{
width:100%;
}
#sidebar-wrapper{
width:100%; margin-left:0px;}
}
}
</style>
</head>
<body>
<div id="wrapper">
<header id="header-wrapper">
<h1>Responsive Template</h1>
</header>
<aside id="content-wrapper">
<p> Responsive Template Is Easy</p>
<p>Responsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is Easy
Responsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is Easy
Responsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is Easy
Responsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is EasyResponsive Template Is Easy </p>
</aside>
<aside id="sidebar-wrapper">
<p>Sidebar Widget</p>
</aside>
<footer id="footer-wrapper">
<p>Footer Blogger</p>
</footer>
</div>
</body>
<html>