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 16
  1. #1
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default My first VALID XHTML/DIV/CSS Layout ^_^

    Heh My first valid XHTML/DIV/CSS layout:

    http://www.habbofanclub.co.uk/layout/

    This works 100% in Firefox/Bon Echo Alpha

    Not sure about IE, Opera, etc.

    I know the layout is not centered, I dont know how to do this with divs (If anyone knows please say).

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    text-align

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

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor
    text-align
    Thanks ;D

  4. #4
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    HTML Code:
    margin-left: auto;
    margin-right: auto;
    Put that in your container.
    Last edited by Encryptions!; 27-04-2006 at 07:55 PM. Reason: Mistake

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

    Latest Awards:

    Default

    Ok both of them dident work Its still not centered

  6. #6

    Default

    Nice temp! 7/10.

    read the post above! Should be useful
    Mates/Cool Members:8 :
    sygon.net

  7. #7
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    <div align="center"></div>
    Wrap them around the first and last div

    Then add align="left" to the other divs

  8. #8
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Luckyrare
    HTML Code:
    <div align="center"></div>
    Wrap them around the first and last div

    Then add align="left" to the other divs
    Why dont u just use the good old

    <center></center> tags =] it validates i think.

  9. #9
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    Quote Originally Posted by Sygon.
    Why dont u just use the good old

    <center></center> tags =] it validates i think.
    Seeing as <div align="center"></div> isn't valid on strict I highly doubt <center> will validate. Although he is using transitional therfore it might validate.

  10. #10
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Encryptions!
    Seeing as <div align="center"></div> isn't valid on strict I highly doubt <center> will validate. Although he is using transitional therfore it might validate.
    well i have used center on many times, it validated try it yourself... then critiscise how ever u spell it.

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
  •