23 mar 2009

Style, przesuwanie do prawej, relative, ablosute

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> Cena do prawej </TITLE>
 </HEAD>

<BODY>
  <style>
.cn4 {
    width: 300px;
    position: relative;
    margin: 0;
    padding: 0;
}

.cn4 span {
    right: 0;
    position: absolute;
}

</style>
<p class="cn4">cena: <span>100000 zł</span></p>
<p class="cn4"><span>100000 zł</span></p>
 </BODY>
</HTML>