Family Goy
Neues Mitglied
Hi,
also ich habe das merkwürdigste Problem meiner CSS Zeit....
Seht selbst. Nun hat html padding-top ein paar Pixel.... Nimmt man das Hintergrundbild raus, ist alles wie erwartet... HÖ?
Browser: Alle
Lösen könnte man das Problem, in dem man hinter body gleich etwas schreibt, aber das ist unschön...
Irgendwelche Vorschläge, wie man das Problem lösen könnte?
Gruß
Family Goy
also ich habe das merkwürdigste Problem meiner CSS Zeit....
Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Control Panel ∗ Willkommen</title>
<style>
html {
background-image:url('./images/leader.png');
background-repeat:repeat-y;
}
body {
background-color:#FFF;
background-image:url('./images/header.png');
background-repeat:repeat-x;
margin:0px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
<ul><li>asd</li></ul>
</div>
</div>
</body>
</html>
Browser: Alle
Lösen könnte man das Problem, in dem man hinter body gleich etwas schreibt, aber das ist unschön...
Irgendwelche Vorschläge, wie man das Problem lösen könnte?
Gruß
Family Goy