text-align
CSS text-align Property
The CSS text-align property is used to align inline elements or text inside of an element.
CSS CODE EXAMPLE
<style type="text/css">
#p1{
text-align: center;
}
#p2{
text-align: right;
}
</style>
<p>paragraph content ...</p>
<p id="p1">paragraph content ...</p>
<p id="p2">paragraph content ...</p>
#p1{
text-align: center;
}
#p2{
text-align: right;
}
</style>
<p>paragraph content ...</p>
<p id="p1">paragraph content ...</p>
<p id="p2">paragraph content ...</p>
paragraph content ...
paragraph content ...
paragraph content ...
0 Response to "text-align"
Post a Comment