Hey mensen, ik heb wat zitten zoeken en proberen maar kom er vooralsnog niet uit.
Ik heb een simpele index, een style.css en wat plaatjes.
Het geheel was een container waarin zat: een header, en onder die header zaten 3 kolommen.
Nu heb ik om die container een nieuwe div gemaakt die ik holder noem. in de holder zit (van rechts naar links)
Een bar (voor rechts)... container (voor het midden).. 2e bar (voor links).
Hoop dat jullie het nog snappen
Nu heb ik wat problemen met de rechter bar.
Ook wil ik graag het content gedeelte / container 100% laten doorlopen.
Hier heb ik even alles online gezet: http://hungrygamers.com/div_dex/index.htm
De codes:
index.htm
Style.css
Ik verwacht zelf dat ik gewoon een dom klein foutje heb gemaakt of iets ben vergeten.
En zal blij zijn als iemand het hier wel ziet
Bedankt
Groeten,
Wilbert van Assen.
Ik heb een simpele index, een style.css en wat plaatjes.
Het geheel was een container waarin zat: een header, en onder die header zaten 3 kolommen.
Nu heb ik om die container een nieuwe div gemaakt die ik holder noem. in de holder zit (van rechts naar links)
Een bar (voor rechts)... container (voor het midden).. 2e bar (voor links).
Hoop dat jullie het nog snappen
Nu heb ik wat problemen met de rechter bar.
Ook wil ik graag het content gedeelte / container 100% laten doorlopen.
Hier heb ik even alles online gezet: http://hungrygamers.com/div_dex/index.htm
De codes:
index.htm
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Hungrygamers COM</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="holder"> <div id="leftbar"></div> <div id="container"> <div id="top"> </div> <div id="leftnav"> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p> </div> <div id="rightnav"> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p> </div> <div id="content"> <h2>Subheading</h2> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p> <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p> </div> </div> <div id="rightbar"></div> </div> </body> </html> |
Style.css
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
| html, body { height: 100%; background:#3b3b3b; margin:0px auto; padding:0; } #holder { height: 100%; width: 1064px; margin: 0px auto; color: #333; border: 0px solid gray; line-height: 130%; } #container { width: 1000px; margin: 0px auto; background-color: #fff; color: #333; border: 1px solid gray; } #leftbar { height: 100%; background-image: url(l-bar.png); background-position: top center; background-repeat: repeat-y; float: left; width: 34px; margin: 0px auto; padding: 0px; } #rightbar { height: 100%; background-image: url(r-bar.png); background-position: top center; background-repeat: repeat-y; float: right; width: 34px; margin: 0px auto; padding: 0px; } #top { width: 1000px; height: 68px; padding: .0em; background-color: #ddd; border-bottom: 0px solid gray; background-image: url(header.jpg); } #top h1 { padding: 0; margin: 0; } #leftnav { float: left; width: 145px; margin: 0; padding: 5px; } #rightnav { float: right; width: 250px; margin: 0; padding: 5px; } #content { margin-height:0 0 -300px; margin-left: 150px; border-left: 1px solid gray; margin-right: 250px; border-right: 1px solid gray; padding: 5px; max-width: 36em; } #leftnav p, #rightnav p { margin: 0 0 1em 0; } #content h2 { margin: 0 0 .5em 0; } |
Ik verwacht zelf dat ik gewoon een dom klein foutje heb gemaakt of iets ben vergeten.
En zal blij zijn als iemand het hier wel ziet
Bedankt
Groeten,
Wilbert van Assen.