[Tool/Web/Other] Website
#36

Quote:
Originally Posted by kikito
Посмотреть сообщение
This is just my side of "looking".
If you do a design for a company, using tables, they will laught at you.
With css / divs / javascript, they will accept it.

Just because the code with css, is more clean and easy, and with tables it isn't.
Just to add to this:
  • Tables are typically slower than divs (take longer to render and typically require more code too).
    Example, which would render first:
    Код:
    <table>
        <tr>
            <td>Text</td>
            <td>Text</td>
        </tr>
        <tr>
            <td>Text</td>
            <td>Text</td>
        </tr>
    </table>
    or

    Код:
    <div style="float:left; width:50%;">Text</div>
    <div style="float:right; width:50%;">Text</div>
    <div style="float:left; width:50%;">Text</div>
    <div style="float:right; width:50%;">Text</div>
    As you can see, there is also more code with tables, thus it will take slightly longer to transfer!
  • For SEO (Search Engine Optimisation) purposes, divs are better as they expose more content quicker.
    Look at the above example, we go through three tags before we even get to any content, making SEO processing longer (not significantly, this tends to depend on the search engine).
  • A layout overhaul is easier with divs than tables.
    With divs you can change a single css file for "look" modifications!
I hope this clears a few things up for you.
Reply


Messages In This Thread
Website - by Rg-Gaming.Info - 16.06.2012, 12:59
Re: Website - by Cassandra - 16.06.2012, 13:04
Re: Website - by Rg-Gaming.Info - 16.06.2012, 13:09
Re: Website - by [GF]Logic - 16.06.2012, 13:11
Re: Website - by Rg-Gaming.Info - 16.06.2012, 13:39
Re: Website - by kikito - 16.06.2012, 13:41
Re: Website - by Rg-Gaming.Info - 16.06.2012, 13:46
Re: Website - by kikito - 16.06.2012, 13:55
Re: Website - by Rg-Gaming.Info - 16.06.2012, 14:10
Re: Re : Website - by Rg-Gaming.Info - 16.06.2012, 14:40
Re : Website - by mehdi-jumper - 16.06.2012, 18:59
Re: Website - by Michael@Belgium - 17.06.2012, 15:51
Re : Website - by mehdi-jumper - 17.06.2012, 17:10
Re: Website - by Rg-Gaming.Info - 17.06.2012, 22:35
Re: Website - by Stefand - 18.06.2012, 05:40
Re: Website - by Rg-Gaming.Info - 18.06.2012, 21:22
Re: Website - by kikito - 18.06.2012, 21:24
Re: Website - by Rg-Gaming.Info - 18.06.2012, 21:32
Re: Website - by kikito - 18.06.2012, 21:37
Re: Website - by Niko_boy - 19.06.2012, 06:55
Re: Website - by StreetGT - 19.06.2012, 16:11
Re: Website - by Rg-Gaming.Info - 19.06.2012, 17:23
Re : Website - by mehdi-jumper - 19.06.2012, 17:32
Re: Re : Website - by Rg-Gaming.Info - 20.06.2012, 12:31
Re: Website - by Farrell - 29.06.2012, 17:56
Re: Website - by $mooth - 01.07.2012, 11:13
Re: Website - by next-studio|TheKiller - 01.07.2012, 11:17
Re: Website - by $mooth - 01.07.2012, 11:22
Re: Website - by next-studio|TheKiller - 01.07.2012, 11:26
Re: Website - by sakang - 01.07.2012, 12:28
Re: Website - by Mr_DjolE - 01.07.2012, 12:34
Re: Website - by Rg-Gaming.Info - 07.07.2012, 20:27
Re: Website - by Windows32 - 07.07.2012, 21:03
Re: Website - by royal_king - 08.07.2012, 05:18
Re: Website - by next-studio|TheKiller - 08.07.2012, 06:32
Re: Website - by Ash. - 20.07.2012, 07:47
Re: Website - by Swyft™ - 03.08.2012, 01:34
Re: Website - by Rg-Gaming.Info - 03.08.2012, 09:14
Re: Website - by Stefand - 01.06.2013, 10:22
Re: Website - by Spooky - 04.06.2013, 09:44
Re: Website - by GTAIVCode3 - 19.06.2013, 01:58
Re: Website - by thien123 - 21.06.2013, 13:22
Re: Website - by kasparow - 09.02.2014, 09:53
Re: Website - by acchack1vn - 25.02.2014, 15:43

Forum Jump:


Users browsing this thread: 4 Guest(s)