Hallo,
Servus,
Ich hab unteres Stück HTML in einem Dokument. Mein Problem ist nun, die Schrift wird übernommen aber die Schriftgrösse ignoriert.
Was mache ich da nur falsch???<style type="text/css">
<!--
body { text-decoration:none; color:#12295A; }
.tabtext { font-family: Verdana; font-size:2pt; }
Wie wäre es mit der Angabe einer generischen Schriftfamilie? pt ist keine brauchbare Größenangabe für die Bildschirmausgabe.
http://selfhtml.teamone.de/css/formate/wertzuweisung.htm#numerische
.general { font-family: Verdana; font-size:2pt; }
dito.
table { border: 2px; border-color:#E5EAF6; border-collapse: collapse}
a:link { text-decoration:underlined; font-weight:bold; color:#12295A; }
a:visited { text-decoration:underlined; font-weight:bold; color:#12295A; }
a:hover { text-decoration:underlined; font-weight:bold; background-color:#E5EAF6; }
a:active { text-decoration:underlined; font-weight:bold; background-color:#7992C9; }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body background="images/bg_main.jpg" text="#101C3E"><span class="tabtext">
<table border=2 cellspacing=0 cellpadding=2 width=550 bgcolor="#E5EAF6" bordercolorlight="#19366E" bordercolordark="#19366E" bordercolor="#19366E">
<tr>
<td width="200">Ein Text</td>
<td align=right>Anderer Text</td>
<td align=right>Noch was</td>
</tr></table>
</span>
Ich nehme mal an, daß es da bei der Vererbung hakt. Gib deine Klassen explizit mal in den betreffenden Zellen an.
Gruß
Kurt
"Mut ist eine Tugend, doch Angst beweist Vernunft, Bewusstsein und Phantasie. Die Kunst ist es abzuwägen."
http://faq.united-web.at
http://elektro-dunzinger.at
http://shop.elektro-dunzinger.at