Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spacing between CSS elements

Status
Not open for further replies.

rrmcguire

Programmer
Oct 13, 2010
304
US
Could sometime let me know what I need to change at


in between the sections "Logistical Savings" and "Incremental Spend......"

so that there isn't a gap in between?


thanks
 
I think the problem is that you've embedded a <p> in the larger font inherent in the logisticsheader class.

Try

<div class="logisticsheader">Logistical Savings</div>
<div class="logisticsinfo">Incremental Spend<br />Avoidance and Reduction<br />Cost Savings<br /></div>
<div class="logisticsimage"></div logisticsimage>

perhaps you'll need a <br /> on the line between the first 2 divs.
 
If you are having layout problems, start by making sure that your page is valid HTML/XHTML. Have a look at With 34 errors showing there is a good chance that one of them will mask what the real problem is, so clear them up, see if the problem is solved and if not post back here.

If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top