Matthias Eisenbach: css defekt?!

Beitrag lesen

hi,

warum funzt hier kein css??

<html>
<link rel='stylesheet' type='text/css' href='style.css'>

die CSS-Datei wird so eingebunden:

<link rel="stylesheet" type="text/css" href="formate.css">

[http://http://selfhtml.teamone.de/css/formate/einbinden.htm#separat]

<head>
  <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  <meta name="generator" content="">
  <title></title>
 </head>

wenn du sowieso CSS benutzt brauchst du den ganzen schmarn wie <font> auch nicht, sondern kannst das in die CSS-Datei packen!!

<body text="#000066" bgcolor="white">
   <div align="center">
    <p><font size="-1"><b>Anmeldung</b><br> </font></p>
    <table style="BORDER-COLLAPSE: collapse" bordercolor=#111111 cellspacing=10 cellpadding=0 table border="0">
     <tr>
      <td><b><font size="-2">username </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="username" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Vorname </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="vorname" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Nachname </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="nachname" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Postleitzahl </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="plz" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Ort </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="ort" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Land </font></b></td>
      <td width="201"><font size="-2"><select class="input" name="land" size="1">
         <option value="de">Deutschland</option>
         <option value="at">&Ouml;sterreich</option>
         <option value="ch">Schweiz</option>
        </select></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">e-mail </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="mail" size="25" class="input"></font></td>
     </tr>
     <tr>
      <td><b><font size="-2">Telefon </font></b></td>
      <td width="201"><font size="-2"><input type="text" name="telefon" size="25" class="input"></font></td>
     </tr>
    </table>
      <td><input class="input" type="submit" value="anmelden" name="submit"></td>
  </body>

</html>

Matthias