Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: Text Indent

  1. #1
    Junior Member
    Join Date
    Mar 2009
    Posts
    21
    Member #
    18550
    Hello, I want to indent the lines/paragraphs that also contain <span> class. Plz see the following example:

    2009
    This is year 2009.hello hello hello hello hello hello hello hello
    hello hello hello hello hello hello hello hello hello hello
    But it appears like this:

    2009
    This is year 2009.hello hello hello hello hello hello hello hello
    hello hello hello hello hello hello hello hello hello hello
    The css and html I am using for this is as follows:

    p.indent {
    text-indent:-30px;
    margin-left:35px;
    }

    span.text {
    font-style: italic;
    font-weight: bold;
    }


    <p>2009</p>
    <p class="indent"><span class="text">This is year 2009.hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello </span>.
    </p>

    How can I make all the lines indent? Thanks!

  2.  

  3. #2
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    Use an unordered list and get rid of the bullets through css.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:07 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com