przewiń do treści

HTML, XHTML i CSS. Praktyczne projekty. Wydanie II

Włodzimierz Gajda

p {
    position: relative;
    width: 600px;
    margin: 0 auto 40px auto;
    text-align: justify;
    text-indent: 2em;
    letter-spacing: 0.15em;
    line-height: 180%;
}
span {
    display: block;
    width: 140px;
    position: absolute;
    top: 0;
    left: -300px;
    border: 1px solid black;
    padding: 20px;
    background: rgb(240, 240, 240);
    font-size: 80%;
    letter-spacing: 0;
    line-height: 180%;
    text-indent: 0;
    text-align: center;
}

Listing 23.10. Style noweli pt. Katarynka

Rozdział 23. Projekty

listing-23-10.txt