• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Formular/ Select IE + Firefox

Status
Für weitere Antworten geschlossen.

raphaelf

Mitglied
Hallo,

mein Formular sieht im IE gut aus. Ich habe heute mit Firefox getestet.

Doch dort ist mein select object
1) Kleiner
2) Farbe und Schrift stimmen nicht :roll:

Kann mir jemand helfen?

Danke schön im Voraus.

Code:
td, table{
 font-family:verdana;
 font-size:10px;
 vertical-align:top;
 line-height:12px;
 color:#7F7F7F;
 
}

form { margin:0px; padding:0px}
body { margin:0px; padding:0px; background-color: #FFFFFF}
a { color:#E93400; text-decoration:none}
a:hover{ text-decoration:underline}
span a { color:#1569C7; text-decoration:underline}
span a:hover{ text-decoration:none}
.list ul{margin:0px; padding:0px; list-style:none; line-height:19px;}
.list ul li{ background:url(images/list_marker.gif) no-repeat left top; padding:0 0 0 12px}
.list ul li a{ color:#E93400; text-decoration:underline}
.list ul li a:hover{text-decoration:none}
.policy{ color:#7F7F7F}
.policy a{ color:#000000; text-decoration:none}
.policy a:hover{ text-decoration:underline}
span{ color:#000000}
strong a{ font-size:11px}
strong{ font-size:11px}
b{ color:#E93400}
.form input {
 width:191px;
 height:21px;
 font-family:verdana;
 font-size:9px;
 color: #7F7F7F;
 padding:2 0 0 6px;
 border-color:#D5D5D5;
 border-style:solid;
 border-width:1px;
 background-color:#F8F8F8
}
.form select {
 width:388px;
 height:37px;
 font-family:verdana;
 font-size:9px;
 color: #7F7F7F;
 padding:2 0 0 6px;
 border-color:#D5D5D5;
 border-style:solid;
 border-width:1px;
 border: 1px solid #7F7F7F;
 background-color:#F8F8F8
}
.form textarea {
 width:191px;
 height:102px;
 font-family:verdana;
 font-size:9px;
 color:#7F7F7F;
 overflow:hidden;
 padding:2 0 0 6px;
 border-color:#D5D5D5;
 border-style:solid;
 border-width:1px;
 background-color:#F8F8F8
}

Code:
[SIZE=2]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
<script type="text/javascript">
function chkFormular () {
if (Formular.kurs.selectedIndex == 0) {
alert(unescape("Bitte Kurs w%E4hlen."));
document.Formular.kurs.focus();
return false;}
if (document.Formular.email.value.indexOf("@") == -1) {
alert("E-Mail-Adresse nicht korrekt");
document.Formular.email.focus();
return false;}
if (document.Formular.name.value == "") {
alert("Bitte Ihren Namen eingeben");
document.Formular.name.focus();
return false;}
if (document.Formular.adresse.value == "") {
alert("Bitte Ihren Wohnort eingeben");
document.Formular.adresse.focus();
return false;}

}
</script>
</HEAD>
<BODY>
<table cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="width:766px; height:780px">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:42px; height:780px"></td>
<td style="width:676px; height:780px">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:676px; height:119px; background-image: url(images/blueweb_logo.jpg); background-repeat:no-repeat">
</td>
</tr>
<tr>
<td style="width:676px; height:563px">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:226px; height:563px">
<a href="index-1.html"><img src="images/back.gif" alt="" border="0"></a><img src="images/pic5_1.gif" alt=""><br>
<img src="images/pic5_2.gif" alt=""><br>
<a href="index-2.html"><img src="images/comp.gif" alt="" border="0"></a><a href="index-3.html"><img src="images/srv.gif" alt="" border="0"></a><br>
<a href="index-4.html"><img src="images/sol.gif" alt="" border="0"></a><a href="index-5.html"><img src="images/cont.gif" alt="" border="0"></a><br> </td>
<td style="width:450px; height:563px; background-color:#F8F8F8; background-image:url(images/top.gif); background-repeat:no-repeat">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:450px; height:563px; background-image:url(images/bottom.gif); background-repeat:no-repeat; background-position: left bottom" class="list">
<br style="line-height:30px">
<img src="images/title5_1.gif" alt="" style="margin-left:29px"><br>
<br style="line-height:9px">
<img src="images/pic5_3.gif" alt="" align="left" style="margin-left:30px; margin-top:2px; margin-right:14px">
<strong>Blue-web.ch</strong><br>
Allschwilerstrasse 4, 4104 Oberwil<br>
<br style="line-height:12px">
Telefon:&nbsp;&nbsp;+41 (0)78 905 12 65<br>
E-Mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><a href="mailto:[email protected]">[email protected]</a></span><br>
<br style="line-height:26px"> 
<img src="images/px2_1.gif" alt="" style="margin-left:29px"><br>
<br style="line-height:25px">
<img src="images/title5_2.gif" alt="" style="margin-left:28px"><br>
<div style="margin-left:30px">
<br style="line-height:0px">
<strong>Melden Sie sich jetzt an:</strong><br>
<br style="line-height:9px">

<form name="Formular" action="anmeldung.php" method="POST" onSubmit="return chkFormular()">
<table cellspacing="0" cellpadding="0" class="form">
<tr>Kurs:
<select name="kurs" size="1" style="color:#7F7F7F" font-size="12pt" style="border-style:solid" style="border-width:1px;" size="1" onchange="doSubmit()">
<option>Bitte wählen</option>
<option>Eintieg in die Informatik</option>
<option>Internet Grundlagen</option>
<option>IT-Sicherheit (Sicher im Internet)</option>
<option>Effizient mit digitalen Fotos umgehen</option>
<option>Windows XP / Vista Grundlagen</option>
<option>Microsoft Office Grundlagen</option>
<option>Microsoft Powerpoint</option>
<option>Microsoft Excel</option>
<option>Microsoft Outlook</option>
<option>Microsoft Word</option>
<option>PhotoPaint</option>
<option>Corel Draw Einsteiger</option>
<option>Windows Fortgeschrittene</option>
<option>Homepage/Webdesign</option>
<option>Datenbank-Programmierung (SQL)</option>
<option>Programmieren (C++)</option>
</select>
<td style="width:198px; height:128px">
<table cellspacing="0" cellpadding="0">


<tr>

<tr><br>
<td style="width:198px; height:27px">Firma:<input name="firma" type="text" ></td>
</tr>
<tr>
<td style="width:198px; height:27px">Name:<input name="name" type="text" ></td>
</tr>
<tr>
<td style="width:198px; height:27px">Telefonnummer:<input name="telefonnummer" type="text" ></td>
</tr>
<tr>
<td style="width:198px; height:27px">Email:<input name="email" type="text"></td>
</tr>
</table>
</td>
<td style="width:202px; height:128px">
<table cellspacing="0" cellpadding="0">
<tr>
<br>
<td style="width:198px; height:27px">Adresse:<input name="adresse" type="text"></td>
</tr>
<tr>
<td style="width:202px; height:139px">Bemerkung:<textarea name="bemerkung" cols="0" rows="0"></textarea></td>
</tr>
<tr>
<td style="width:202px; height:0px">

<input type="submit" value="Anmelden">

</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<br style="line-height:14px"> 
<img src="images/px2_1.gif" alt="" style="margin-left:29px"><br>

<img src="images/title5_3.gif" alt="" style="margin-left:28px"><br>
<div style="margin-left:30px">

<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:214px; height:96px">
<strong>Kundendienst:</strong><br>
E-mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><a href="mailto:[email protected]">[email protected]</a></span><br>
<br style="line-height:12px">
<strong>Technischer Support:</strong><br>
Telefon:&nbsp;+41 (0) 78 905 12 65<br>
E-mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><a href="mailto:[email protected]">[email protected]</a></span><br> 
</td>
<td style="width:190px; height:96px">
<strong>Schulung:</strong><br>
E-mail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><a href="mailto:[email protected]">[email protected]</a></span><br>
<br style="line-height:12px">
</td>
</tr>
</table>
</div>

</td>
</tr>
</table>
</td>
</tr>
</table>
</td> 
</tr>
<tr>
<td style="width:676px; height:98px" class="policy">
<br style="line-height:45px">
Blue-web.ch IT-Support Beratung & Schulung <img src="images/img.gif" alt="">
</td>
</tr>
</table>
</td>
<td style="width:48px; height:780px"></td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>




[/SIZE]
 
Werbung:
Du hast zuviele Fehler im HTML-Code, u.a. auch

Code:
[SIZE=2]<select name="kurs" size="1" style="color:#7F7F7F" font-size="12pt" style="border-style:solid" style="border-width:1px;" size="1" onchange="doSubmit()">

Schau dir bitte nochmal die CSS-Grundlagen an.
[/SIZE]
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben