Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-28-2011, 06:07 PM   PM User | #16
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
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
teedoff is offline   Reply With Quote
Users who have thanked teedoff for this post:
rsrubinstein (11-28-2011)
Old 11-28-2011, 06:10 PM   PM User | #17
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
rsrubinstein (11-28-2011)
Old 11-28-2011, 06:30 PM   PM User | #18
rsrubinstein
New to the CF scene

 
Join Date: Nov 2011
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
rsrubinstein is an unknown quantity at this point
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?
rsrubinstein is offline   Reply With Quote
Reply

Bookmarks

Tags
color, ie8, size, text

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:19 AM.


Advertisement
Log in to turn off these ads.