text-align error

+3 Spy Code · December 15, 2014
hi  friends,
 i have problem in  HTML while align the text in right side.
please tell me  the solution of this problem.

Post a Reply

Replies

Oldest  Newest  Rating
0 Spy Code · December 17, 2014
thanks.
0 Spy Code · December 15, 2014
yes, I show you this  is my code:-

 <!doc type>
   <html>
   
   <head>
        <style type="text/css">
                p {background-color:pink;
                    text-align:right-side;
                    color:white;
                    width:360px;
                    height:20px;
                    border: 1px solid black;}
        
        </style>
   </head>
   
   <body>
    <p>I Love bling's Blog</p>
    <p>what is the luck means?</p>
    
   </body>
   
   </html> 
0 Spy Code · December 15, 2014
thanks wheately core for replying my post.(y)
0 Spy Code · December 16, 2014
thanks wheately,

But when for left side, I wrote "left-side" and it display the output.
You can check it.
  • 1

HTML / CSS / Web Design

107,334 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators