Bud: IE 7 = FF 2 = O 9

Beitrag lesen

Hi.

Wieso ich das will? Ich will ein Menü basteln.
Dann klatsche doch bitte keinen Linkhaufen einfach so ins Dokument, sondern verwende eine Liste von Links.

Das sagst du einfach. :-) Etwas anderes:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
  <title>css</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <style type="text/css"><!--
body {
 color: black;
 background-color: #7c92ab }
a:link {
 color: white;
 font: bold 16px Times;
 text-decoration: none;
 padding: 4px }
a:visited {
 color: blue;
 font-weight: bold;
 text-decoration: none }
a:hover {
 text-decoration: underline;
 background: #850606 }
p {
 word-spacing: 4em }
li {
 display: inline;
 margin-right: 50px }
ul {
 text-align: center }
--></style>
 </head>

<body>
  <ul>
   <li><a href="#">testlink</a></li>
   <li><a href="#">testlink</a></li>
   <li><a href="#">testlink</a></li>
   <li><a href="#">testlink</a></li>
  </ul>
 </body>

</html>

Das zeigt der IE7 (IE6 nicht) doch tatsächlich identisch an mir FF 2.0 und Opera 9.02. Ich bin überrascht.

vg Bud