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 2 of 2
  1. #1
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default HTML Help Needed! +REP

    Hey HXF,

    I'm in the process of making a website, but just need help with some code for a coming soon page, i'm very rusty with HTML cause it's been a while.
    I'm trying the achieve; A Image centred in the background, with the a specific colour for the background for the image to merge in. If you could help it would greatly appreciated and +Rep will be given.

    Regards, Huggies.

  2. #2
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    If that's all you want on the page, you don't really need any HTML - you could just put this CSS inline the HTML document and replace the image.jpg with the location of your image, and #fff with a HEX colour code:

    HTML Code:
    <style type="text/css">
    html { 
       width:100%; 
       height:100%; 
       background: url(image.jpg) center center no-repeat #fff;
    }
    </style>
    Last edited by hamheyelliot; 28-07-2012 at 08:32 PM.

Posting Permissions

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