Hi,
ich bin neu hier und habe auch erst angefangen mit css und html hier mal mein html und css code:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="template.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sport Shop Dülger</title>
<style type="text/css">
</style></head>
<body>
<div id="header">
<div align="center"><img src="Bilder/index_01.jpg" /></div>
</div>
<div id="buttons"><img src="Bilder/index_02.jpg" /><img src="Bilder/index_03.jpg" /><img src="Bilder/index_04.jpg" /><img src="Bilder/index_05.jpg" /><img src="Bilder/index_06.jpg" /></div>
<div id="contentheader"><img src="Bilder/index_07.jpg" /></div>
<div id="content">
<div id="bottom"><img src="Bilder/index_09.jpg" /></div>
</div>
</div>
</body>
</html>
|
und hier der CSS:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* (C)Sascha Vasilic 2010 All Rights Reserved */
body {
background-image: url(Bilder/hintergrund.jpg);
background-repeat: repeat;
}
#html, body, form, fieldset {
margin: 0;
padding: 0;
}
#header {
}
#content {
background-image:url(Bilder/index_08.jpg);
width: 797px;
height: 352px;
margin: 0 auto;
text-align: center;
position: static;
}
#buttons {
width: 797px;
margin: 0 auto;
text-align: center;
}
#contentheader {
margin: 0 auto;
text-align: center;
}
#bottom {
margin: 0 auto;
text-align: center;
position: static;
float: inherit;
}
body,td,th {
color: #F3F3F3;
margin-top: 0px;
}
|
sooo nun will ich den bottom aber unter den context ausrichten aber da der context nen bg hat wird wohl daraus nix

der bottom ist in dem context drin und das wollen wir ja nicht.
nun weiß ich nicht was ich machen soll ich habs schon mit "position: absolute" und sowas versucht klappt aber nix...
hilfeee
MfG MieseWiese