Jump to content

small break between divs


CincoPistolero

Recommended Posts

I have what should be simple, but alas, isn't. I have a test page that all the pieces fit togehter. the test page is just html header stuff. then a css header section, body section and footer section. the body has some plain text. When I copy and paste the css from the test page to my normal pages that contain html and php code. I get a slight break between my css header div and the main body div. Below is my php page info plus my css. Can anyone see an issue.

 

CSS Header

<center>
<div id="container">
   <div id="pwbanner">
   	<img src="../images/topbanner.jpg" width="834" height="115" border="0" />
   </div>

 

CSS Body

<div id="login">

 

CSS Footer

<div id="pwfooter">
   	<img src="../images/btm.jpg" width="834" height="102" border="0" />
   </div>
</div>

 

the CSS

#container{
margin-left: auto;
margin-right: auto;
margin-top: 10px;
padding: 0px;
width: 834px;
}
#pwbanner{
width: 834px;
}
#pwfooter{
width: 834px;
}
#login{
margin-top: 0px;
margin-left: auto;
margin-right: auto;
padding: 0px;
width: 834px;
background-image:  url(../images/bkg.jpg);
}

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.