16-10-2009, 04:31
Podstawowy szablon:
Chodzi teraz o to, żeby index_01 i index_03 były równo przycięte przy mniejszych rozdzielczościach.
Kod:
<html>
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; utf-8">
<style type="text/css">
#index_01{
background-image:url('images/index_01.png');
width: 343px;
height: 643px;
float: left;
}
#index_02{
background-image:url('images/index_02.png');
width: 751px;
height: 200px;
float: left;
}
#index_03{
background-image:url('images/index_03.png');
width: 346px;
height: 643px;
float: left;
}
body{
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<div id="index_01"></div>
<div id="index_02"></div>
<div id="index_03"></div>
</body>
</html>
Chodzi teraz o to, żeby index_01 i index_03 były równo przycięte przy mniejszych rozdzielczościach.