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



PLEASE DISABLE ADBLOCKER AND SUPPORT US!

Please support us by enabling ads on this page. Refresh

YOU DON'T LIKE ADS, WE ALSO DON'T LIKE ADS!
 
But we have to show ads on our site to keep it free and updated. We have to pay huge server costs, domain costs, CDN Costs, Developer Costs, Electricity and Internet Bill. Your little contribution will encourage us to regularly update this site.