style.css:
Kod
body, html{
background-color: #F2F2F2;
background-image: url('images/miniCMS_01.jpg');
background-repeat: repeat-x;
font-family: Arial, Helvetica, Verdana;
font-size: 11px;
color: black;
margin-top: 0;
}
#content{
margin-left: auto;
margin-right: auto;
margin-top: 0px;
border: 2px solid #D7D6D5;
width: 875px;
height: 100%;
min-height: 1000px;
background-color: #FFFFFF
}
#header{
background-image: url('images/miniCMS_04.jpg');
background-repeat: no-repeat;
width: 875px;
height: 170px;
padding: 100px 400px 5px 110px;
}
background-color: #F2F2F2;
background-image: url('images/miniCMS_01.jpg');
background-repeat: repeat-x;
font-family: Arial, Helvetica, Verdana;
font-size: 11px;
color: black;
margin-top: 0;
}
#content{
margin-left: auto;
margin-right: auto;
margin-top: 0px;
border: 2px solid #D7D6D5;
width: 875px;
height: 100%;
min-height: 1000px;
background-color: #FFFFFF
}
#header{
background-image: url('images/miniCMS_04.jpg');
background-repeat: no-repeat;
width: 875px;
height: 170px;
padding: 100px 400px 5px 110px;
}
index.html:
<?xml version="1.0" encoding="iso-8859-2"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" /> <meta name="Description" content="[ #DESCRIPTION# ]" /> <meta name="Author" content="[ #AUTHOR# ]" /> <meta name="Keywords" content="[ #KEYWORDS# ]" /> <meta name="Generator" content="CoreEditor" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="content"> <div id="header"> </div> <div id="poziom"> </div> </div> </body> </html>
W tym pliku wywaliłem górny margines, ale to nie jest dla mnie rozwiązaniem problemu.