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 3 of 3

Thread: html css

  1. #1
    Join Date
    Mar 2015
    Location
    Norway
    Posts
    375
    Tokens
    1,938
    Habbo
    OddKrAtNo

    Latest Awards:

    Default html css

    what's the code to add a css tag into html
    tried <div class"allthatstuff">
    but cant really get it to work.

    my html so far:


    my css so far:

    the layout im trying to make a website out of, yes it is precut and ready to be coded.

    did i forget anything?
    Last edited by Oddy; 06-04-2015 at 06:54 AM.
    Former: Habboxlive dj (Oddy), Content designer, Pixel artist, Forum moderator, Forum developer

  2. #2
    Join Date
    Nov 2013
    Location
    Australia
    Posts
    2,405
    Tokens
    9,762
    Habbo
    Wennn.

    Latest Awards:

    Default

    You've used top as a class attribute, so you'll need to add a dot before "top" in your CSS to make it a class selector, like this:

    HTML Code:
    .top {
    background-image: url(../Pictures/ps/nova/header.png);
    height: auto;
    width: auto;	
    }



    @habboxgraphics on Twitter

  3. #3
    Join Date
    Mar 2015
    Location
    Norway
    Posts
    375
    Tokens
    1,938
    Habbo
    OddKrAtNo

    Latest Awards:

    Default

    Quote Originally Posted by Drew View Post
    You've used top as a class attribute, so you'll need to add a dot before "top" in your CSS to make it a class selector, like this:

    HTML Code:
    .top {
    background-image: url(../Pictures/ps/nova/header.png);
    height: auto;
    width: auto;	
    }
    ohhhh it worked instantly, thank you Drew
    Former: Habboxlive dj (Oddy), Content designer, Pixel artist, Forum moderator, Forum developer

Posting Permissions

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