Nun, entweder liegt es daran, dass du deine CSS Datei nichtmal verlinkt hast.
Wenn doch hilft eventuell die verwendung eines standardkonformen Modus durch Doctype-Angabe:
oderNebenbei: sofern das <div> nicht notwendig ist kannst du die Klasse auch auf das <p> anwenden.
Die Angabe 100% dabei außerdem nicht notwendig, da Blockelemente immer 100% breit sind.
...
Es wird schon unterstrichen, aber eben nur in der länge des textes.
Das war nur ein Beispiel im die Wiedergabe im <div> zu zeigen, in wirklichkeit ist das CSS verlinkt aber anstelle eines strict.dtd oder loose.dtd verwende ich (wegen 99% xHTML meiner Site) den transitional Modus:
Aber letztendlich ist es nicht soooo wichtig, wär aber nett wenn man das irgendwie richten könnte.
Merci,
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.