Hi,
> <br />
> als schlüsselfertiges Massivhaus ab <span class="preis">107.640 €</span>
> span.preis {
> font-size:14px;
> color:#296d7a;
> font-weight:bold;
> text-align:right;
> }
Kann mir jemand verraten, wieso das nicht klappt, dass der Preis immer rechts steht?
Weil SPAN als inline-Element genau so breit ist, wie es sein Inhalt erfordert. Darin dann den Inhalt ausrichten zu wollen, ist natürlich blödsinnig.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]