Guest_imported
New member
- Jan 1, 1970
- 0
If u execute following CSS code:
<html>
<head>
<title> Invulformulier </title>
<LINK rel="stylesheet" href="practicum2.css" type="text/css">
</head>
<body>
<DIV STYLE="background-color: red; margin-left: 30%; margin-right: 30%;">
<p class="titel"> INVULFORMULIER </p>
</DIV>
<DIV class="formulier">
<form method="POST" action="opgave-2-11.asp">
<SPAN class="label" STYLE="height: 50;"> E-mail adres afzender: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="afzender" size="25"> </SPAN>
<SPAN class="label" STYLE="height: 50;"> Bestemmeling: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="bestemmeling" size="25"> </SPAN>
<SPAN class="label" STYLE="height: 80;"> Bericht: </SPAN> <SPAN class="invul" STYLE="height: 80;"> <textarea rows="2" name="bericht" cols="18"> </textarea> </SPAN>
<SPAN class="label" STYLE="height: 50;"> Bestandsnaam: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="bestand" size="25"> </SPAN>
<SPAN class="label" STYLE="width: 100%;"> <input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"> </SPAN>
</form>
</DIV>
</body>
</html>
with practicum2.css the following file:
BODY { background-image: url(../figuren/background.gif);
color: white; }
.titel {font-size: 20; margin-top: 10 px; margin-bottom; 10 px; font-family: cursive; color: white; text-align: center;}
.formulier {background-color: red; margin-left: 15%; margin-right: 15%; border-style: double; border-color: white; border-top-width: thin;
border-bottom-width: thin; border-right-width: thin; border-left-width: thin;}
.label {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 50%; font-family: cursive; font-style: bold;
height: 40; margin-bottom: 0px; margin-top: 0px; padding: 3%;}
.invul {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 49.99%; font-family: cursive; font-style: bold;
margin-bottom: 0px; margin-top: 0px; padding: 3%; height: 40;}
.binnenblok {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 99,99%; font-family: cursive; font-style: bold;
height: 40; margin-bottom: 0px; margin-top: 0px; padding: 3%;}
.buitenblok {background-color: red; margin-left: 30%; margin-right: 30%; border-style: double; border-color: white; border-top-width: thin;
border-bottom-width: thin; border-right-width: thin; border-left-width: thin;}
with INTERNET EXPLORER 5.x, u see that in the HTML-code above, the right span is not exactly at the same line as the left span-block....
Does somebody know what I have done wrong? What's the reason for this?
THX in advance.
davyduck@zeus.rug.ac.be
<html>
<head>
<title> Invulformulier </title>
<LINK rel="stylesheet" href="practicum2.css" type="text/css">
</head>
<body>
<DIV STYLE="background-color: red; margin-left: 30%; margin-right: 30%;">
<p class="titel"> INVULFORMULIER </p>
</DIV>
<DIV class="formulier">
<form method="POST" action="opgave-2-11.asp">
<SPAN class="label" STYLE="height: 50;"> E-mail adres afzender: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="afzender" size="25"> </SPAN>
<SPAN class="label" STYLE="height: 50;"> Bestemmeling: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="bestemmeling" size="25"> </SPAN>
<SPAN class="label" STYLE="height: 80;"> Bericht: </SPAN> <SPAN class="invul" STYLE="height: 80;"> <textarea rows="2" name="bericht" cols="18"> </textarea> </SPAN>
<SPAN class="label" STYLE="height: 50;"> Bestandsnaam: </SPAN> <SPAN class="invul" STYLE="height: 50;"> <input type="text" name="bestand" size="25"> </SPAN>
<SPAN class="label" STYLE="width: 100%;"> <input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"> </SPAN>
</form>
</DIV>
</body>
</html>
with practicum2.css the following file:
BODY { background-image: url(../figuren/background.gif);
color: white; }
.titel {font-size: 20; margin-top: 10 px; margin-bottom; 10 px; font-family: cursive; color: white; text-align: center;}
.formulier {background-color: red; margin-left: 15%; margin-right: 15%; border-style: double; border-color: white; border-top-width: thin;
border-bottom-width: thin; border-right-width: thin; border-left-width: thin;}
.label {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 50%; font-family: cursive; font-style: bold;
height: 40; margin-bottom: 0px; margin-top: 0px; padding: 3%;}
.invul {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 49.99%; font-family: cursive; font-style: bold;
margin-bottom: 0px; margin-top: 0px; padding: 3%; height: 40;}
.binnenblok {font-size: 12; color: white; border-style: double; border-color: white; border-top-width: thin; border-bottom-width: thin;
border-right-width: thin; border-left-width: thin; width: 99,99%; font-family: cursive; font-style: bold;
height: 40; margin-bottom: 0px; margin-top: 0px; padding: 3%;}
.buitenblok {background-color: red; margin-left: 30%; margin-right: 30%; border-style: double; border-color: white; border-top-width: thin;
border-bottom-width: thin; border-right-width: thin; border-left-width: thin;}
with INTERNET EXPLORER 5.x, u see that in the HTML-code above, the right span is not exactly at the same line as the left span-block....
Does somebody know what I have done wrong? What's the reason for this?
THX in advance.
davyduck@zeus.rug.ac.be