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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stupid <div> padding problem

Status
Not open for further replies.

redletterrocko

Programmer
Joined
Aug 8, 2005
Messages
53
Location
US
For some reason, my three div classes (header, content, and footer) seem to have gaps of probably 30 px in between them, and I designed the page to not look like that. Blast! The site is at Can someone take a look at it and see what's going?
 
You would need to zero out the margins on h1 and p element in your content div. This is happening because of the collapsing margins.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top