CSS - właściwości text-align
text-align
kod |
wynik kodu |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-Language" content="pl">
<title>webatak.pl - CSS - text</title>
<link rel="Stylesheet" type="text/css" href="style.css" />
<style type="text/css">
.left {
text-align: left;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
justify {
text-align: justify;
}
</style>
</head>
<body>
<p class="left"> Koko koko euro spoko.</p>
<p class="right"> Koko koko euro spoko.</p>
<p class="center">Koko koko euro spoko.</p>
<p class="center">Koko koko euro spoko. Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.Koko koko euro spoko.</p>
</body>
</html>
|
|