carp: Firefox ignoriert "style" Attribut

Beitrag lesen

Moinmoin,

ich bin am Ende; Mein Firefox (und div. andere) weigern sich, ein style=".." Attribut in HTML Element auszuwerten. Das (x)HTML Dokument ist sowas von konform, daran kann es nicht liegen. Weiterhin kurios ist, dass das über <link rel=...> eingebundene CSS sauber eingebunden wird. Der IE erkennt alles sauber gemäß der Style-Angaben.

Woran kann es liegen? Für jedwede Idee bin ich sehr dankbar.

-Carsten

Beispiel HTML:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/html"/>
<link rel="stylesheet" type="text/css" href="styles.css"/>
<title>Titel</title>
</head>
<body style="background-color:magenta">
 <h1>Heading</h1>

<form method="post" action="form.php">
 <p>
 <input type="hidden" name="subaction" value="edit_az"/>
 <textarea cols="100" rows="10"
 style="background-color:red;font-family:sans-serif;border-style:1px solid blue;color:yellow:visibility:hidden">
 </textarea>
 </p>
 <div style="visibility:hidden;display:none">
<p>Foo</p>
</div>
 </form>
</body>
</html>