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 10 of 10
  1. #1
    Join Date
    Mar 2007
    Location
    Ipswich
    Posts
    115
    Tokens
    0

    Default Whats the best way to code a layout?

    I've seen people talking about not using much CSS around this forum, and CSS is the main way that I code layouts! I use divs and put the size and position etc of these divs in CSS in a style sheet for my layouts.

    I used to slice my layouts in fireworks and use the automatically generated html file, but the loading time on that was slow which is why I switched to style sheets.

    So what's the best way to code a layout?

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

    Latest Awards:

    Default

    The best way is using Valid XHTML with DIV's. Obviously using CSS to style and position the DIV's.

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

    Latest Awards:

    Default

    Yuh most people use XHTML with divs - of course using CSS. I havent seen a coder not use CSS in a long time on this forum when coding their layouts
    Last edited by Luckyrare; 01-04-2007 at 10:18 PM.

  4. #4
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default

    i used your previous technique by slicing in fireworks then exporting it to dreamwever in HTML.

    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

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

    Latest Awards:

    Default

    Css/Divs is by far the best imo

  6. #6
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    For browser compatibility (due to Internet Explorer 6 handling a lot of CSS incorrectly, or not as expected) tables, unfortunately.

    To show skill, css + divs.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

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

    Default

    The reason your not seeing many people code in CSS,XHTML etc. Is because about 75% of this webdesign forum is people who come to learn how to do stuff and expect they can do it with a few clicks.

    On the other hand you got the 25% who have been there done it bought the t shirt and know basically everything they would probaly need to know in their career.

  8. #8
    Join Date
    Mar 2007
    Location
    Ipswich
    Posts
    115
    Tokens
    0

    Default

    So is the method I use at the moment an efficient way? I put all the smaller div sections into one big div so that it doesn't look too different in different browsers if you know what I mean, and I use floats to position them. I don't actually know what XHTML is :eusa_eh:, anyone care to explain more?

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

    Latest Awards:

    Default

    Quote Originally Posted by :M2K View Post
    So is the method I use at the moment an efficient way? I put all the smaller div sections into one big div so that it doesn't look too different in different browsers if you know what I mean, and I use floats to position them. I don't actually know what XHTML is :eusa_eh:, anyone care to explain more?
    XHTML is pretty much exsactly the same as HTML, its just stricter, aka all tags have to be lower case, and all have to be closed, for exsample <br> isnt closed so youd use <br /> .
    It doesnt really make a whole lot of difference in the long run. Html 5/xhtml 2 will be where some real differences start appearing.

    Plus, although it occaonly takes a few browser hacks for IE, createing a css/div layout thats cross compatble is still possible to do.

  10. #10
    Join Date
    Mar 2007
    Location
    Ipswich
    Posts
    115
    Tokens
    0

    Default

    Thanks, +rep need to spread. Coded my layout now http://matban.fredvaux.com/site

Posting Permissions

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