Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Getting a space between Container and header? Help!

    Never mind! I got it fixed. Can be closed!
    Last edited by Ginger_; 05-25-2009 at 02:24 AM.

  • #2
    New Coder
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Try give the code so we can see exactly what is wrong. What I think it is, is misplaced code.

    From the source code. I notice that you put a link to the image in HTML and again in CSS. You don't need both...
    Code:
    background-image: url(http://i708.photobucket.com/albums/ww85/Ginger_Skies/DeadSummer-Contaner.png);
    Code:
    <img src="http://i708.photobucket.com/albums/ww85/Ginger_Skies/DeadSummer-Header.png">
    Also your center tag has no end tag. Just two start tags. Close one of them.
    Code:
    <center>
    <br>
    <div id="container">
    <img src="http://i708.photobucket.com/albums/ww85/Ginger_Skies/DeadSummer-Header.png">
    <div id="content"> 
    <center>
    Any way this is your main problem.
    Code:
    <BODY TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0">
    See that? It makes EVERYTHING in your body align to the top because of that. Both the image and the content. What I would do is take that out and then using CSS align only the image to the top. It would work much better and then the content would be below the image.

    I hope I helped!
    Last edited by CodeSpawn; 05-25-2009 at 01:59 AM.

  • Users who have thanked CodeSpawn for this post:

    Ginger_ (05-25-2009)

  • #3
    New to the CF scene
    Join Date
    May 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Never Mind! Thank you so much for your help. I never noticed I had the centers like that. ^^
    Last edited by Ginger_; 05-25-2009 at 02:24 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •