3 Votes Vote

Most efficient way to create a grid-look for my page

Posted by topdog 156 days ago Questions| grid way page All

I would like to create a grid on my page made up of tiny, tiny boxes - (say, 2 pixels height and width, or 2x2). I had a few thoughts on how to go about this - all of which failed in one way or another:

  1. PHP using the echo statemenet
  2. Javascript - my best option so far
  3. Manually construct the grid to fit a 800 x 800 space (would take WAY too long).

Unfortunately, even my best option was quite slow. Does anyone have a better plan for how I could create a grid made up of tiny squares in an efficient manner?

Originally asked by: Evan on Stack Overflow

Discuss Bury


Who Voted for this Question