Results 1 to 3 of 3

Thread: Justifying Text

  1. #1
    Join Date
    May 2005
    Location
    Gold River, British Columbia Canada
    Posts
    29
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Justifying Text

    Does anyone know the proper way to justify text (but not the h3 or img) within a style?
    Code:
    .feature{
    padding: 0px 0px 10px 15px;
    font-size: 85%;
    }
    
    .feature h3{
    	padding: 15px 0px 5px 0px;
    	text-align: center;
    }
    
    .feature img{
    	float: left;
    	padding: 10px 10px 0px 0px;
    }
    Nootkan

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It depends on the markup. Easiest way, going with what you already have, is to add a:

    Code:
    .feature div {
    text-align:justify;
    }
    Then just enclose all the text you want justified within a div or divs within the feature element.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2005
    Location
    Gold River, British Columbia Canada
    Posts
    29
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks for that. I was close with my trys.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •