Results 1 to 7 of 7

Thread: Why

  1. #1
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default Why

    Well basically, say i'm coding a layout, and i make the margin of the banner 0px, and lets say next i code the top of the content, for some reason, when i make it 0px from the top, it goes right under the banner. not from the top of the page. SO say i made it 12px form the top, it will be 12px from the bottom of the banner. Why? I don't want it like this
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  2. #2
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Link to it? :S Tell me which bits you want where.

  3. #3
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    What browser are you using?
    Lets set the stage on fire, and hollywood will be jealous.

  4. #4
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Quote Originally Posted by Bojangles View Post
    Link to it? :S Tell me which bits you want where.
    i wnt it for all of them, here's the code
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <title>HabboFury ;; We can light up your day!</title>
    <style type="text/css">
    #topbar {
    background:url(images1/TopBar.PNG);
    width:1025px;
    height:51px;
    padding-top:10px;
    margin-top:0px;
    margin-left:-8px;
    font-family: Verdana;
    font-size: 11px;
    color: #FFFFFF;
    }
    
    #banner {
    background:url(images1/Banner.PNG);
    margin-top:0px;
    }
    
    
    </style>
    
    </head>
    
    
    <body>
    
    <div id="topbar"><div align="center">Hey!<div></div>
    <div id="banner">sdsfsd</div>
    </body>
    
    
    </html>
    Quote Originally Posted by Tom743 View Post
    What browser are you using?
    It's the same for all browsers.
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  5. #5
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Can you give me a screenie of what its doing? So you want the banner UNDER the header?

  6. #6
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Quote Originally Posted by Bojangles View Post
    Can you give me a screenie of what its doing? So you want the banner UNDER the header?
    Nope, i wan to know why when i make the banner 0px; from the top, it goes 0px from the bottom of the div placed before.
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  7. #7
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Because you ended the header div

Posting Permissions

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