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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default hmm. why doesn't it work?

    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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Zokoli ~ Ah yes!</title>
    <style type="text/css">
    <!--
    body,td,th {
        font-family: Verdana;
        font-size: 11px;
        font-weight:bold;
        color: #000;
    }
    body {
        background-image: url();
        background-repeat: no-repeat;
        background-color: #FFF;
    }
    #header-wrap {
        width: 100%;
        height: 100px;
        background-color: #3F4C6B;
    }
    #header-wrapper {
        width: 50%;
        display: block;
        margin: 0 auto;
    }
    #header {
        
        background-image:url(../zokoli.png);
        background-repeat: no-repeat;
        width:220;
        height:60;
    }
    
    -->
    </style></head>
    
    <body>
    <div id="header-wrap">
      <div id="header-wrapper">
      <div id="header">
      
    </body>
    </html>
    It's probably a easy fix, and I'm just not seeing it right.
    Obviously I want to display the logo [zokoli.png], but for some reason it isn't showing.
    The reason I have coded it into a Style Sheet is because it will be much more cleaner after I have converted it into a proper .css file and link it with the site.



  2. #2
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    you have to include a valid path...
    background-image:url(../zokoli.png);
    that's not a valid path, i'm sure you don't have a folder called ".."

  3. #3
    Join Date
    Jul 2009
    Posts
    121
    Tokens
    0

    Default

    save your work into the same folder as your logo and then simply put logo.png (or other filename) this was a genuine post, what's the point in -repping me? ****** dont know how to upload a logo.
    Last edited by bruno; 21-07-2009 at 05:10 PM.
    Runescape Trader
    * Habbo UK > Runescape - PM ME!
    * Selling ONE Membership Pin > Runescape Money - PM ME!

    CAN PROVIDE VOUCHES!

  4. #4
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Quote Originally Posted by wsg14 View Post
    you have to include a valid path...
    background-image:url(../zokoli.png);
    that's not a valid path, i'm sure you don't have a folder called ".."
    .. usually [I think] means you go back a directory..
    e.g. if you had an index page in a folder called pages, and your images was in the public_html then you'd put ../ (Might be 3 dots) to go back a directory

    It could be that you just need to remove the ../

  5. #5
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default

    I have tried that.

    I have tried (zokoli.png); but it doesn't work...



  6. #6
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    .PNG < Caps.

    Or you have made a mistake as that is looking for zokoli.png in the upper directory, not the same one as index.php. Also, that code looks similar
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  7. #7
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default

    Shh Tom!

    also, i'm giving you credits
    and thanks&+rep if it works.



  8. #8
    Join Date
    Apr 2009
    Location
    Illinois, USA
    Posts
    130
    Tokens
    359

    Default

    You have to close the the div tags, you silly goose.
    Last edited by RastaLulz; 21-07-2009 at 07:03 PM. Reason: to close*


    My last reputation was from ThisNameWillDo!.

  9. #9
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default

    Quote Originally Posted by Foskett View Post
    You have to close the the div tags, you silly goose.
    Still doesn't work, you silly goose.



  10. #10
    Join Date
    Apr 2009
    Location
    Illinois, USA
    Posts
    130
    Tokens
    359

    Default

    Zip/Rar it, and upload it here, and post it. I'll take a look at it, if you have not yet got it already.


    My last reputation was from ThisNameWillDo!.

Page 1 of 2 12 LastLast

Posting Permissions

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