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 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: Quick Help

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

    Latest Awards:

    Default

    no put
    Code:
    body {
    margin-top: 0px;
    }

  2. #12
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Hey,

    Yeah do as Charlie said. I forgot that tag... *looks at usertitle*...

    - Dan

  3. #13
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    and then oput that other code you gave me in my index ...?

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

    Latest Awards:

    Default

    yes the <link> one

  5. #15
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    Ok, its not working, jsut go to my site and check out the coding....

    oh and rate the site so far people lol

    http://www.nick.habbo-gossip.com/

  6. #16
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    You have not added the external stylesheet link. You need this to connect main.css to your webpage. Here is the full source code with the external stylesheet in.

    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>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="main.css" type="text/css" />
    <title>Habbonicle! For your Habbo Needs!</title>
    </head>
    
    <div align="center">
    
    <body background="http://www.nick.habbo-gossip.com/background_blue.PNG">
    
    <br />
    <br />
    <table width="940" height="670" border="0" cellspacing="0" background="http://www.nick.habbo-gossip.com/template.gif" cellpadding="0">
      <!-- TemplateBeginRepeat name="RepeatRegion1" -->
      <tr>
        <td width="2%" height="97">&nbsp;</td>
        <td width="23%">&nbsp;</td>
        <td width="1%">&nbsp;</td>
        <td width="46%">&nbsp;</td>
        <td width="28%">&nbsp;</td>
      </tr>
      <!-- TemplateEndRepeat -->
      <tr>
        <td height="429">&nbsp;</td>
        <td align="center" valign="middle"><iframe name=nav src=nav.htm width=175 height=370 frameborder=0 scrolling=auto allowtransparency="true" background-color="transparent" > </iframe>
          </td>
        <td>&nbsp;</td>
        <td align="center" valign="top"><iframe name=main src=main.htm width=420 height=430 frameborder=0 scrolling=auto allowtransparency="true" background-color="transparent" > </iframe>
         </td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="19">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="120">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>
    Last edited by Raremandan; 23-02-2006 at 09:22 PM.

  7. #17
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    guru and what do i put in main.css ...?

  8. #18
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    You put only the CSS with no HTML so your main.css would look like this exactly:

    HTML Code:
    body {
    margin-top: 0px;
    }
    You do not need to add anything else into the CSS file unless it's more CSS for styling and other purposes. I would reccommend looking into learning CSS as you can do many things with it. Try CSS Zen it's really good once you get into it.

  9. #19
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    see look at my site now..... i did that ... it still doesnt work

  10. #20
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    You still haven't linked the external stylesheet and are trying to use CSS before even your Doctype which will not work. Copy and paste the code I gave you or just inside your <head> section put this code:

    HTML Code:
    <link rel="stylesheet" href="main.css" type="text/css" />

Page 2 of 3 FirstFirst 123 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
  •