Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    ok try this:

    first apply the global style rule mentioned before:

    * {margin:0; padding:0; border:0;}

    at the top of your stylesheet.

    Then for .project_header .sent1 and sent2

    Code:
    .project_header .sent1 {
        color: #52C5D7;
        font-size: 24px;
        line-height: 50%;
        margin-top: 5px;
    }
    
    .project_header .sent2 {
        color: #999999;
        font-size: 20px;
        margin-bottom: -15px;
    }
    Finally remove those <br> tags between your <p> tags. See how that works.
    Teed

  2. Users who have thanked teedoff for this post:

    rsrubinstein (11-28-2011)

  3. #17
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    When you place each sentence in a paragraph tag, it gets the default spacing that goes between paragraphs. To add to that space, you put a break in there. Then you move them close the space with negative margins.

    What a mess.

    Text Styling with CSS

    .sent1 and .sent2 look like headings and, semantically, you should be using heading tags.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  4. Users who have thanked Excavator for this post:

    rsrubinstein (11-28-2011)

  5. #18
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Everything works now!!! You are all AMAZING and I can't thank you enough for your help. I apologize for my giant mess and appreciate your patience for working through it. I have just one last question- sometimes the larger text seems to stretch a tiny bit between browsers and screen sizes...am I to assume that this is pretty normal?


 
Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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