now days we calculate every byte
i disagree with you about your attitude. that you don't have to calculate
and think about site weight
look at yahoo homepage code, for example: they don't write ', all css
classes are one to two letters
there is a war for clients(costumers), and u have have to make the site fast
as possible



On 12/14/05, Christian Heilmann <[EMAIL PROTECTED]> wrote:
>
> > but cant i use the <body> tag as my container?
>
> I doubt that every user agent out there allows you to set a width to
> body. I could be wrong though. However, you lose another element you
> can use for borders and background that way. Faux columns[1] is a
> great trick to use with a centered container element.
>
> > another question: doesnt the divs render them self much more faster?
> dont
> > they render to the stage/page quicker?
> > a table tag need to be close before he shows him sels. same as div.
> > doesnt it?
>
> Could be. Generally tables are not good to use for layout[2] and are
> more complex constructs than DIVs, therefore DIVS might be faster (a
> user agent has to recalculate the width of each cell, check if there
> is a colspan or a rowspan, check if the element is a TD or a TH to
> apply the different browser specific styles, add the borders and and
> and).
>
> The whole idea about CSS layout is that the grid is not fixed and you
> don't build a visual construct but style a sematically logical HTML
> structure. This means that an element designated "nav" could be left,
> right, top or bottom, depending on the need of the user and the
> ability of the user agent.
>
> Rendering speed is quite a moot point these days, if you keep your
> structure logical and don't add dozens of elements for visual trickery
> then the page will render quickly.
>
> I can make a table that renders really fast or create a DIV with a
> 12mb background image that will take ages to render, there is really
> no competition.
>
> [1] Faux Columns: http://www.alistapart.com/articles/fauxcolumns/
> [2] Why tables for layout is stupid http://www.hotdesign.com/seybold/
>
>
> --
> Chris Heilmann
> Blog: http://www.wait-till-i.com
> Writing: http://icant.co.uk/
> Binaries: http://www.onlinetools.org/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to