Tuesday, 15 June 2010

html - Fastest way to draw a grid -



html - Fastest way to draw a grid -

i need draw (possibly large) grid of squares. wonder sort of layout fastest render.

each square positioned absolutely div each row, filled floating squares an actual table some other?

not sure there much difference in rendering time - utilize similar amount of code.

the absolute positioning create css, i'd avoid one.

is showing tabular info or decoration? if former, utilize table. if latter, accomplish tiled graphic background of single cell instead?

also: javascript loop create them maintain code tidier writing each square manually.

html

No comments:

Post a Comment