3 Replies Latest reply on Mar 15, 2010 10:53 AM by rchsmike1

    Custom Indents


      Im trying to apply an indent to my text which is located inside a div id.  I want to indent the entire paragraph of text - how can I accomplish this?


      I have tried adjusting the "text indent" category inside the CSS Rules dialog box, but that only adjusts the first line.  I can also use the indent buttons located inside the Properties Inspector, but it indents the paragraph too far.  Is there a way to customize this?


      Any help would be appreciated,


        • 1. Re: Custom Indents
          martcol Level 4

          If I understand you correctly you could use CSS to apply padding to the <div> that the <p> is inside or you could add margin or padding to the paragraph.


          Give the paragraph you are trying to indent an id or if you want the same on several paragraphs give them a class.


          <p class="indent-text">


          .indent-text {

          padding-left: 10px;



          Somthing like that



          1 person found this helpful
          • 2. Re: Custom Indents
            rchsmike1 Level 1

            The problem I'm having with applying the margin or padding is that I have an image in the background and it become offset when I make the adjustments.  Should I just create two seperate divs: one for text and another for the image?  Or is there a way to accomplish this in one div?

            • 3. Re: Custom Indents
              rchsmike1 Level 1

              Creating a class inside the div worked, thanks!