CSS Right Property

In this chapter you will learn:
About right property
Example of right property

CSS right property is used to set the right edge of the element. This property is only used to the absolutely positioned elements.

Example of right property

<html>
<head>
    <title>Example of quotes property</title>
    <style type="text/css">
        #a
        {
            position:absolute;
            right:500px;
        }
    </style>
    </head>
<body>
<div> This is the example of right property of css.</div>
<div id="a"> This is the example of right property of css.</div>
</body>
</html>

Output:-
example of right property
SUMMARY

In this chapter, you have learned about the right property of CSS. This property helps to position element. Some other properties are given in next chapter so click on Next button-

More Articles

 

Share your thought