Hi!
p, td {
font-family: verdana;
font-size:12px;
color: #063271;
}
Pixel-Angaben sind suboptimal. Versuch doch mal em.
b, strong {
font-family: verdana;
font-weight: bold;
color: #063271;
}
die font-family und die Farbe wird das Element doch eh erben, und Fettdruck ist Browserdefault, was soll also diese Angabe?
Jetzt kann ich über ein CMS die Schrift des Textes selber formatieren. Es legt ein User die Schriftgröße 14px fest und dann strong, also <font ....><strong>Text</strong></font>
<font> ist böse [tm]"
Bei dieser Formatierung wird dann automatisch die Schriftart in 12px angezeigt. Andersrum als erst <strong> dann <font .....> geht einwandfrei!
Natürlich.
Jetzt habe ich eine Tabellenspalte mit einer Klasse z.B. .format festgelegt und will das dort nicht die Hauptformatierungen für b und strong gelten!
.format b, strong {
font-family: verdana;
color: #063271;
}
.format b, .format strong{
font-weight:normal;
}
Vielen Dank für die Hilfe!
Stelle das nächste Mal bitte auch eine Frage ;-)
Gruß aus Iserlohn
Martin
Selfcode: ie:{ fl:( br:^ va:) ls:# fo:| rl:( n4:( ss:| de:> js:) ch:? sh:( mo:| zu:)
Geht zum Weltspartag!