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 2 FirstFirst 12
Results 11 to 13 of 13

Thread: CSS/Div Help

  1. #11
    Join Date
    Oct 2007
    Location
    UK
    Posts
    471
    Tokens
    0

    Default Hmmm

    Quote Originally Posted by RYANNNNN View Post
    Just a tip to the OP, main is only usually used once, so use an id, #main { } and <div id="main"> etc.
    But it would work if he just used class wouldn't it?
    So why use id's?
    (it may sound like a stupid question, but I tend to use classes, I never knew there was anything wrong with it)

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

    Latest Awards:

    Default

    But it would work if he just used class wouldn't it?
    So why use id's?
    (it may sound like a stupid question, but I tend to use classes, I never knew there was anything wrong with it)
    As it's just better practise to use an ID if the class is only going to be used once.

  3. #13
    Join Date
    Oct 2007
    Location
    UK
    Posts
    471
    Tokens
    0

    Default Ahh

    Quote Originally Posted by Invent View Post
    As it's just better practise to use an ID if the class is only going to be used once.
    Ahh thank you +rep And now I'm going to stop hijacking this thread.

Page 2 of 2 FirstFirst 12

Posting Permissions

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