text-indent : text indent : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » text indent »

 

text-indent


 


<html>
<head>
<title>Percentages Demo</title>
<style type="text/css">
{text-indent: -5%;
           margin-left: 25%;
           margin-right: 15%;
           font-size: 150%;

</style>
</head>
<body>
<p>This paragraph's font and margins have been set with percentages.
The indent was set with a negative percentage.</p>
</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» text indent