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 12

Thread: CSS and divs!

  1. #1
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default CSS and divs!

    Hi

    I use tables for my layouts, but I want to learn to code with CSS & divs! If anybody could provide a tutorial or a link to a tutorial I would be grateful!

    font
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:


  3. #3
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default

    Thanks, I can't find anything on divs

    Keep posting!
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  4. #4
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by font View Post
    Thanks, I can't find anything on divs

    Keep posting!
    w3schools is all you'll ever need.
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  5. #5
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default

    Quote Originally Posted by Aflux View Post
    w3schools is all you'll ever need.
    You sure? Hopefully... I can't seem to find the section on divs.
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  6. #6
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by font View Post
    You sure? Hopefully... I can't seem to find the section on divs.
    Read through (x)HTML and then read through CSS on how to style a div.

    There's no specific section for divs...
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  7. #7
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default

    OK, thanks very much Aflux and Tomm!
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  8. #8
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

    Basics:

    Div tag - <div></div>

    To give a propertie(SP) to a div - <div id='hi'></div> or <div class='hi'></div>

    Difference between id and class is that class can be reffered to more than once where id cannot.

    So to give the div style, in your style sheet.

    For the ID

    #hi { background: white; }

    or for class

    .hi { background: white; }

  9. #9
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default

    Thanks sygon..! If you have time, could you write a tutorial on using divs instead of tables? You seem like a good coder!
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  10. #10
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Sygon.. View Post
    Basics:

    Div tag - <div></div>

    To give a propertie(SP) to a div - <div id='hi'></div> or <div class='hi'></div>

    Difference between id and class is that class can be reffered to more than once where id cannot.

    So to give the div style, in your style sheet.

    For the ID

    #hi { background: white; }

    or for class

    .hi { background: white; }
    Property

    Anyway your best to look at examples and then copy sniplets from there to try and learn from

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
  •