Jump to content
Killersites Forums

Gaps between divs

Recommended Posts

I have a layout, I can't remember what to do to fix it and google hasn't been any help. Here is an image of what its doing.



Here is my code



<div class="header">
<div class="container">
	<p style="float: left;" class="whitet">Logo here</p>
	<p class="whitet" style = "float: right;">CONTENT HERE</p>
<div class="process">
<div class="container">
	<p class="whitet" style="font-size: 12px;padding-top: 200px;">Here is some content right here<br>Here is some more content in this very spot</p>
<div class="content">
<div class="container">
<p class="whitet">content here</p>



 body {
margin: 0 auto;
font-family: Tahoma, sans-serif;

.container {
width: 960px;
margin: 0 auto;
padding-bottom: 0px;	
margin-bottom: 0px;

.header {
background: black;
height: 100px;

.process {
height: 300px; 
background: green;

.content {
height: 500px;
background: red;

.whitet {
color: white;



ALSO it isn't there when I remove the p tags but I kindof need them for content.

Edited by benjaminmorgan
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...