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 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default I thought divs were faster than tables?

    Note: This is only in internet explorer, in firefox the way firefox appears faster is it downloads the whole page before making it appear so everything appears at the same time in firefox, rather than as it's downloaded (in internet explorer).

    Well, when I had to code part of a layout in divs rather than tables (expandable properly coded of course - not generated) to make it expand accross the width of the screen properly, it ended up being half coded in divs and half coded in tables (reminder: the proper ones, not generated). Whats strange is, although the divs may load a fraction of a second quicker, the images in the tables (whether background of td's/tables or actual images in the tables) loaded faster than the images in the divs.

    I'm not saying tables are better than divs and I don't want to start an argument about which is better but I think the argument about how divs load faster shouldn't be such a key point, after all, the divs may load faster but the images in/as a background them don't (the main part of the layout).

    What ya gotta say about that divy fans
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  2. #2
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    It could be because you're loading tables with divs so it's lagging the page.

  3. #3
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    The divs are higher up the page than the tables so technically should load first. I don't think tables on the same page are lagging it... Lots of layouts coded in divs have one or maybe two tables somewhere in the content or something, that doesn't slow down all the divs/the whole layout.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  4. #4
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by iUnknown View Post
    The divs are higher up the page than the tables so technically should load first. I don't think tables on the same page are lagging it... Lots of layouts coded in divs have one or maybe two tables somewhere in the content or something, that doesn't slow down all the divs/the whole layout.
    Hmm, you'd think the divs would load on page load then .. any scripts you're running?

  5. #5
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    Hmm, you'd think the divs would load on page load then .. any scripts you're running?
    A javascript to expand an iframe. The inline frame isn't in the divs, it's in the tables.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  6. #6
    Join Date
    Dec 2006
    Posts
    1,259
    Tokens
    0

    Latest Awards:

    Default

    Who said they were faster?

  7. #7
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Just about everyone who codes in divs and thinks they're better than tables
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


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

    Latest Awards:

    Default

    Divs always load faster for me (especially with background images).

  9. #9
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    1,544

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    Divs always load faster for me (especially with background images).
    Yeah its exactly the same for me, normaly.

  10. #10
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    The chances are when you're using div instead of table you use less code. The smaller the file the faster the page is going to be. You're still going to be using the same images so most of the time divs load faster.
    Last edited by RYANNNNN; 10-09-2008 at 05:44 PM.

Page 1 of 3 123 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
  •