WEB Primitive I am. Questions I have.

Discussion in 'OT Technology' started by chemicalviper, Feb 26, 2008.

  1. chemicalviper

    chemicalviper OT Supporter

    Joined:
    Dec 26, 2007
    Messages:
    19,353
    Likes Received:
    53
    Location:
    Gurnee, IL
    On my site. www.christopherdigiovanni.com
    I broke the the main page up with the graphic on top, and the bottom box being actually an image inserted with text on top in a table.

    My question is... on the top graphic, how do I make it so the top graphic is completely flush with the top edge of the browser? (ie. offtopics blue banner on top)


    Here is the top banner. Obviously I would take out the extra gray space I added above it (i added it because I couldn't figure out how to make it flush :ugh:)
    [​IMG]
     
  2. TurkeyChicken

    TurkeyChicken New Member

    Joined:
    Jun 26, 2003
    Messages:
    42,913
    Likes Received:
    0
    Location:
    Albuquerque, NM
    in css...

    Code:
    body{margin-top:0px; padding-top:0px;}
    
     
  3. chemicalviper

    chemicalviper OT Supporter

    Joined:
    Dec 26, 2007
    Messages:
    19,353
    Likes Received:
    53
    Location:
    Gurnee, IL
    O lord, I don't know anything about css, i am trying to learn, thats a bit ahead of me at the moment.
     
  4. Necromancer

    Necromancer Guest

    Just add what he said in-

    Code:
    <style type="text/css">
    <!--
    
    -->
    </style>
    
     
  5. chemicalviper

    chemicalviper OT Supporter

    Joined:
    Dec 26, 2007
    Messages:
    19,353
    Likes Received:
    53
    Location:
    Gurnee, IL
    Thanks guys, I will try it tonight. Hope no one minds but I am gonna use this for basic questions. I been burning the w3schools website and could never find silly answers like this.

    So by default is that margin there? I look @ the code and it was never set at all
     
  6. Necromancer

    Necromancer Guest

    Yup, just a default thing. Do this-

    Code:
    body {
    	background-color: #363636;
            margin-top:0px; padding-top:0px;
    }
     

Share This Page