Ik heb de volgende code:
En bijbehorende CSS:
Er zit nog niet gebruikte CSS in welke op deze pagina niet gebruikt wordt
Wellicht is het het handigst om zowel de HTML als de CSS even in een file te plaatsen om het probleem te zien.
Het probleem is namelijk dat de overflow in het oranje vlak prima werkt in Firefox en Opera. Echter niet in Internet Explorer 6. IE rekt het oranje vlak gewoon uit naar benenden.
Het oranje vlak moet stoppen gelijktijdig met het groene valk (maar even simpelgezegd), dit werkt wel goed in FF en Opera.
Iemand een idee hoe ik dit kan oplossen?
HTML:
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
| <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Titel</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="Author" content="none"></meta> <meta name="robots" content="index, follow"></meta> <meta name="language" content="NL" /> <link rel="stylesheet" href="test.css" type="text/css" /> </head> <body> <div id="body_container"> <div id="header_container"> <div id="login_container"></div> <div id="header_navigation_container"> [...] <div class='seperator'></div> </div> </div> <div id="content_container"> <div id="content_inlinecontainer"> <div id="content_leftsmallblock" class="green">test</div> <div id="content_rightbigblock" class="orange"> <form name="form_ip_toevoegen" id="form_ip_toevoegen" method="post" action="/index.asp?section=ip"> <label for="ip_voornaam" class="columnlayout2"><u>V</u>oornaam:</label><div class="columnlayout2"><input type="text" name="ip_voornaam" id="ip_voornaam" maxlength="20" tabindex="5" class="textfield blueborder medium" value="" /></div> <br /><br /><br />test<br /><br /><br />test<br />test<br />test<br />test<br />test<br />test<br /><br /><br /><br />test<br /><br /><br />test<br />test<br />test<br />test<br />test<br />test<br /><br /><br /><br />test<br /><br /><br />test<br />test<br />test<br />test<br />test<br />test<br /><br /> </form> </div> </div> </div> </div> </body> </html> |
En bijbehorende CSS:
Cascading Stylesheet:
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
| * {-moz-box-sizing: border-box; box-sizing: border-box;} html {height: 100%;} body {height: 100%; overflow: hidden; cursor: default; font-family: "Lucida Sans Unicode", Verdana, "Trebuchet MS", Arial; color: #FFFFFF; font-size: 13px; margin: 0; padding: 0; line-height: 16px;} form {margin: 0;} a {text-decoration: none;} a:hover {text-decoration: underline;} a.headerlink {color: #FC9C05;} input.textfield {font-family: "Lucida Sans Unicode", Verdana, "Trebuchet MS", Arial; height: 17px; line-height: 13px; font-size: 11px; color: #000000;} .medium {width: 150px;} .blueborder {border: 1px solid #030D96;} label.columnlayout2 {float: left; clear: left; width: 150px; height: 19px; padding-top: 2px;} div.columnlayout2 {height: 19px;} .inputerror {color: #B30000; font-weight: bold; cursor: help;} #body_container {width: 960px; height: 100%;} #header_container {position: absolute; width: 960px; height: 126px; background-color: #EEEBEB; background-image: url(../images/logo.gif); background-repeat: no-repeat; background-position: 20px 20px; z-index: 2;} #header_navigation_container {position: absolute; right: 15px; top: 100px; height: 25px;} #header_navigation_container div.seperator {float: left; height: 21px; width: 1px; background-color: #FC9C05; margin-left: 13px; margin-right: 13px; } #content_container {position: absolute; width: 960px; overflow: auto; background-color: #030D96; top: 125px; bottom: 0px; left: 0px;} * html #content_container {position: absolute; overflow: auto; top: 0px; left: 0px; right: 0px; bottom: 0px; height: 100%; max-height: 100%; z-index: 1; border-top: 125px solid #FFFFFF;} #content_inlinecontainer {height: 100%; padding-left: 40px; padding-top: 40px; padding-bottom: 40px;} #content_leftsmallblock {display: inline; clear: left; float: left; width: 200px; height: 100%; overflow: auto; padding: 10px 10px 10px 10px;} #content_rightbigblock {float: left; width: 680px; height: 100%; overflow: auto; padding: 10px 10px 10px 10px; border-left: 1px solid #FFFFFF;} .blue {background-color: #291D9F;} .orange {background-color: #FC9C05;} .green {background-color: #2C9C3C;} |
Er zit nog niet gebruikte CSS in welke op deze pagina niet gebruikt wordt
Wellicht is het het handigst om zowel de HTML als de CSS even in een file te plaatsen om het probleem te zien.
Het probleem is namelijk dat de overflow in het oranje vlak prima werkt in Firefox en Opera. Echter niet in Internet Explorer 6. IE rekt het oranje vlak gewoon uit naar benenden.
Het oranje vlak moet stoppen gelijktijdig met het groene valk (maar even simpelgezegd), dit werkt wel goed in FF en Opera.
Iemand een idee hoe ik dit kan oplossen?
[ Voor 29% gewijzigd door Urk op 26-03-2006 18:47 ]