Css ie vs FF
in internet explorer maaar in in firefox niet
weet iemand hoe ik in firefox de text er niet omheen gaat?
gr thymen
mijn index (css heb ik nog even niet in een css externie ;)
dus rustig maar :P)
Code (php)
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
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
<style>
#menu_left {
background-color: #d7d4c3;
border-right: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: left;
position: relative;
}
#menu_right {
background-color: #d7d4c3;
border-left: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: right;
}
#Container {
width: 100%;
height: auto;
margin: 0 auto 0 auto;
text-align: left;
}
div#content{
width: 100%;
height: auto;
background-color: #d5d2c0;
}
#menu {
height: 40px;
width: 100%;
background-color: #0f202f;
}
#menu_top {
height: 24px;
width: 100%;
background-color: #0f202f;
border-bottom: 1px solid white;
}
#header {
height: 163px;
width: 100%;
background-color: #6d6a61;
}
#content {
height: auto;
width: 100%;
background-color: #555555;
float: center;
}
#footer {
height: 24px;
width: 100%;
background-color: #0f202f;
}
</style>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>layout new klik limiet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<div id="Container">
<div id="menu_top"></div>
<div id="header"></div>
<div id="menu">bla</div>
<div id="menu_left"><?php include("menu_links.php");?></div>
<div id="menu_right"><?php include("menu_rechts.php");?></div>
<div id="content">
<?php
if (isset($_GET['a']) && preg_match('/^[a-z0-9]+$/i', $_GET['a']))
{
include($_GET['a'] . '.php');
}
else {
include("home.php");
}
?>
<div id="footer"></div>
</div>
</div>
</body>
</html>
#menu_left {
background-color: #d7d4c3;
border-right: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: left;
position: relative;
}
#menu_right {
background-color: #d7d4c3;
border-left: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: right;
}
#Container {
width: 100%;
height: auto;
margin: 0 auto 0 auto;
text-align: left;
}
div#content{
width: 100%;
height: auto;
background-color: #d5d2c0;
}
#menu {
height: 40px;
width: 100%;
background-color: #0f202f;
}
#menu_top {
height: 24px;
width: 100%;
background-color: #0f202f;
border-bottom: 1px solid white;
}
#header {
height: 163px;
width: 100%;
background-color: #6d6a61;
}
#content {
height: auto;
width: 100%;
background-color: #555555;
float: center;
}
#footer {
height: 24px;
width: 100%;
background-color: #0f202f;
}
</style>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>layout new klik limiet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<div id="Container">
<div id="menu_top"></div>
<div id="header"></div>
<div id="menu">bla</div>
<div id="menu_left"><?php include("menu_links.php");?></div>
<div id="menu_right"><?php include("menu_rechts.php");?></div>
<div id="content">
<?php
if (isset($_GET['a']) && preg_match('/^[a-z0-9]+$/i', $_GET['a']))
{
include($_GET['a'] . '.php');
}
else {
include("home.php");
}
?>
<div id="footer"></div>
</div>
</div>
</body>
</html>
voorbeeld:
Code (php)
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
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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>layout new klik limiet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style>
#menu_left {
background-color: #d7d4c3;
border-right: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: left;
position: relative;
}
#menu_right {
background-color: #d7d4c3;
border-left: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: right;
}
#Container {
width: 100%;
height: auto;
margin: 0 auto 0 auto;
text-align: left;
}
div#content{
width: 100%;
height: auto;
background-color: #d5d2c0;
}
#menu {
height: 40px;
width: 100%;
background-color: #0f202f;
}
#menu_top {
height: 24px;
width: 100%;
background-color: #0f202f;
border-bottom: 1px solid white;
}
#header {
height: 163px;
width: 100%;
background-color: #6d6a61;
}
#content {
height: auto;
width: 100%;
background-color: #555555;
float: center;
}
#footer {
height: 24px;
width: 100%;
background-color: #0f202f;
}
</style>
</head>
<div id="Container">
<div id="menu_top"></div>
<div id="header"></div>
<div id="menu">bla</div>
<div id="menu_left"><?php include("menu_links.php");?></div>
<div id="menu_right"><?php include("menu_rechts.php");?></div>
<div id="content">
<?php
if (isset($_GET['a']) && preg_match('/^[a-z0-9]+$/i', $_GET['a']))
{
include($_GET['a'] . '.php');
}
else {
include("home.php");
}
?>
<div id="footer"></div>
</div>
</div>
</body>
</html>
<head>
<title>layout new klik limiet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style>
#menu_left {
background-color: #d7d4c3;
border-right: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: left;
position: relative;
}
#menu_right {
background-color: #d7d4c3;
border-left: 1px solid white;
width: 189px;
height: 100%;
border-bottom: 1px solid white;
float: right;
}
#Container {
width: 100%;
height: auto;
margin: 0 auto 0 auto;
text-align: left;
}
div#content{
width: 100%;
height: auto;
background-color: #d5d2c0;
}
#menu {
height: 40px;
width: 100%;
background-color: #0f202f;
}
#menu_top {
height: 24px;
width: 100%;
background-color: #0f202f;
border-bottom: 1px solid white;
}
#header {
height: 163px;
width: 100%;
background-color: #6d6a61;
}
#content {
height: auto;
width: 100%;
background-color: #555555;
float: center;
}
#footer {
height: 24px;
width: 100%;
background-color: #0f202f;
}
</style>
</head>
<div id="Container">
<div id="menu_top"></div>
<div id="header"></div>
<div id="menu">bla</div>
<div id="menu_left"><?php include("menu_links.php");?></div>
<div id="menu_right"><?php include("menu_rechts.php");?></div>
<div id="content">
<?php
if (isset($_GET['a']) && preg_match('/^[a-z0-9]+$/i', $_GET['a']))
{
include($_GET['a'] . '.php');
}
else {
include("home.php");
}
?>
<div id="footer"></div>
</div>
</div>
</body>
</html>
Ten 2e kan je wat gezeur met weergave in browsers voorkomen door een DOCTYPE te gebruiken.
zie: http://w3schools.com/tags/tag_doctype.asp
Ten 3e: je <body> tag komt niet eens voor, maar je sluit em wel.
begin eens nettere pagina's te schrijven, anders wordt het nooit goed weergegeven.
Ten 4e: graag een voorbeeld pagina en een duidelijkere uitleg van het probleem.
Gewijzigd op 01/01/1970 01:00:00 door toby hinloopen
want ik was nog niet zover
komt allen maal nog ;)
mijn vb:
http://86.87.224.76/alp2/
Gewijzigd op 01/01/1970 01:00:00 door thymen akker
thymen schreef op 26.02.2009 23:56:
ik ga er niet eens verder op reageren
Ik ook niet;
HTML: 116 errors.
CSS: 3 errors.
ik ga even kijken