website layout - divs or tables

category:web

14.09.2009

If you build a website yourself, you won't get past the problem of laying out elements on the page. So the question is at first: what to use for layouts - div's or tables. Translated it means, to use CSS (applied to div elements or any other block-element in the page) or "table" tag properties to arrange elements on the page. Since CSS was specifically designed to allow a simpler way to arranging page elements, you should use that. Sine arguments for it are:



Some arguments against tables are:



With the advent of HTML5 and CSS3 (standards?) the options you will have will be even better, so besides the fact that CSS is really pretty far from perfect, it's the best option we need to use.

Comentarii

+ = Verificare anti-spam

arhiva


comentarii


blogrosfera(5) carte(2) film(11) guestpost(1) internet(4) linkfarm(7) music(3) on_the_road(1) politica(5) quotes(12) seo(2) society(3) spam(8) träume(1) unresolved(1) viata(5) web(8)