WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Internet (http://www.wcm.at/forum/forumdisplay.php?f=8)
-   -   css unter ie und mozilla (http://www.wcm.at/forum/showthread.php?t=146912)

walhalla 08.10.2004 13:36

css unter ie und mozilla
 
hallo,

habe folgendes problem:
ich verwende für eine seite (viele tabellen mit php generiert) ein css stylesheet in der form:

Zitat:

<html><head><title>Titel</title><style type="text/css">

tr { background-color:#ffffcc }
td { font-family:'Arial'; font-size:10pt; color:#000000;}
th { font-family:'Arial'; font-size:10pt; color:#000000; background-color:#ffcc99;}

</style>
gut - ich möchte aber eine einzige tabelle ein anders style verwenden, also hab ich das so gemacht:

Zitat:

.Stil1 { font-family... usw. }
und dann eine tabell in der form (natürlcih steht da dann mehr drin):

PHP-Code:

<td width="50"><div align="center"><span class="Stil1">text</span></div></td

unter mozilla und opera wird der richtige style angezeit - unter ie nicht (die schriftart schon, nur die schriftgrösse stimmt in ie nicht.
Wo liegt der Fehler, warum stimmt im ie die schriftgrösse hier nicht? der ie scheint weiterhin die schriftgrösse aus den anderen css werten zu nehmen.
btw. ich nehm ie sonst nicht, aber es sollte trotzdem auch im ie richitg angezeigt werden.


bitte um hilfe

walhalla

pong 08.10.2004 14:08

Zitat:

.Stil1 { font-family... usw. }
da tu ich mir schon schwer zu erraten, wie du was wie wo angegeben hast

pong


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag