Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

2.13. How do I indent text?

To indent text, we apply a rule to its container that sets a padding-left value, for example:

listing 2-22. chapter_02/indent.html (excerpt)

<p class="indent">Garlic may be known for being a little bit
  <span class="hilite">stinky</span>, but baked it is absolutely
  delicious and as long as you feed it to all of your guests no-one
  will complain about the smell! Once baked the garlic becomes
  creamy and sweet making an ideal spread to accompany cheese.</p>


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint