Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 10 of 10

Thread: coding problem

  1. #1
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default coding problem

    http://www.colin.duopower.net/index.php

    its set so both images go to 100% but neither of them are.

    index
    <html>
    <head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="http://www.colin.duopower.net/css.css" />
    </head>
    <body>
    <div id="header"></div>
    <div id="header2"></div>
    </body>


    </html>
    css file
    aink { color: #000000; text-decoration: none; }
    a:visited { color: #000000; text-decoration: none; }
    a:hover { color: green; text-decoration: none; font-weight: bold; }

    #body {
    background-color: white;
    }

    #header {
    width: 100%;
    height: 140px;
    background: url("/images/header.PNG") repeat-x;
    }

    #header2 {
    width: 100%;
    height: 140px;
    background: url("/images/header2.PNG") repeat-x;
    }
    Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 21-06-2007 at 04:45 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  2. #2
    Join Date
    May 2007
    Location
    Scotland
    Posts
    294
    Tokens
    0

    Default

    Nothing seems to look out of place in either HTML or both CSS File.
    Sam

  3. #3
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Highjacker-x View Post
    Nothing seems to look out of place in either HTML or both CSS File.
    Why post if you can't help?

    He knows that nothing 'looks' wrong otherwise he'd change it
    Looking for a good desiner to design a social networking template.

    PM me.

  4. #4
    Join Date
    Aug 2005
    Location
    Newcastle
    Posts
    1,417
    Tokens
    0

    Latest Awards:

    Default

    margin-left: 0px;
    margin-right: 0px;

    Try that.



  5. #5
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    just add margin: 0px;

  6. #6
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    HTML Code:
    a:link { color: #000000; text-decoration: none; }
    a:visited { color: #000000; text-decoration: none; }
    a:hover { color: green; text-decoration: none; font-weight: bold; }
    
    #body {
    background-color: white;
    }
    
    #header {
    background-image:url( "images/header.PNG" );
    width: 99%;
    height: 65px;
    padding-top: 10px;
    padding-left: 1%;
    }
    
    #header2 {
    background-image:url( "images/header2.PNG" );
    width: 99%;
    height: 65px;
    padding-top: 10px;
    padding-left: 1%;
    }

  7. #7
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    HTML Code:
    a:link { color: #000000; text-decoration: none; }
    a:visited { color: #000000; text-decoration: none; }
    a:hover { color: green; text-decoration: none; font-weight: bold; }
    
    #body {
    background-color: white;
    margin: 0px;
    }
    
    #header {
    width: 100%;
    height: 140px;
    background: url("/images/header.PNG") repeat-x;
    }
    
    #header2 {
    width: 100%;
    height: 140px;
    background: url("/images/header2.PNG") repeat-x;
    }

  8. #8
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    It's

    body {
    margin: 0px;
    padding: 0px;
    }


  9. #9
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    i tryed everyone one noone worked

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  10. #10
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    nvm got it to work now how do i make it so the right side is the same spacing from the top as the left side instead of the right side moving down with the content

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


Posting Permissions

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