Morgen,
so ich habe jetzt mal versucht alles so zumachen wie ihr mir gesagt habt.
<head> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>Test</title>
<script type="text/javascript">
function schreibe() {var ausgabe1 = document.formular.ein.value;
document.getElementById('ausgabe').innerHTML = ausgabe1;
}
<style type="text/css">
s1 {
font-family: Comic;
}
s2 {
font-family: Arial;
}
s3 {
font-family: Monotype Corsiva;
}
F1 {
color: #FF0000;
}
F2 {
color: #000000;
}
F3 {
color: #840000;
}
<body>
<form action="formular">
<input type="text" name="ein" />
<input onclick="schreibe();" type="button" value="Eintragen" />
<div id="ausgabe"style="position:absolute;top:120px;left:10px;" >
<html>
<head>
<title>Schriftart</title>
</head>
<body>
<form action="select.htm">
<p>Schriftart:</p>
<p>
<select name="Schrift" size="1"
onchange="alert(this.form.Schrift.options[this.form.Schrift.selectedIndex].value)">
<option value="?">Comic</option>
<option value="?">Normal</option>
<option value="?">Kursiv</option>
</select>
</p>
</form>
</body>
</html> <html>
<head>
<title>Farbe</title>
</head>
<body>
<form action="select.htm">
<p>Farbe:</p>
<p>
<select name="Farbe" size="1"
onchange="alert(this.form.Farbe.options[this.form.Farbe.selectedIndex].value)">
<option value="?">Schwarz</option>
<option value="?">Braun</option>
<option value="?">Rot</option>
</select>
</p>
</form>
</body>
</html>
</div>
</body>
Und? Hab ich es einigermaßen hinbekommen?
Danke nochmal für eure Hilfe.