N./A.: Firefox erkennt Breite "width" nicht!

Beitrag lesen

Hallo ihr, ich habe Probleme mit diesem Code:

<html>

<head>

<title>Dokument</title>

</head>

<body>

<div class="link"><a href="#">Ich bin ein Link</a></div>

<p>

<div class="link"><a href="#">Ich bin auch ein Link</a></div>

</body>

<style type="text/css">

a {
   color: green;
   height: 15px;
   padding-bottom: 3px;
   padding-left: 5px;
   text-decoration: none;
   width: 150px;
  }
  a:hover {
           color: green;
           height: 15px;
           padding-bottom: 3px;
           padding-left: 5px;
           text-decoration: none;
           width: 150px;
          }

.link {
       border: 1px solid black;
       height: 20px;
       width: 150px;
      }

</style>

</body>

</html>

IE bringt mir die Breite des Link einwandfrei, nur Firefox macht Probleme mit der Breite, weis jemand eine andere Lösung?