Brettski
Brettski

Reputation: 1051

how to create a crossword style grid / large number of divs or other?

so I need to have a grid on screen in a web browser / mobile devices that each grid item holds 1 letter.

A bit like a crossword puzzle, but using most of the screen Doing it using div's seems to be to hard as the performance isn't great to support creating a screen full of 1000's of divs as you can fit a lot of text on screen so a lot of divs.

Any suggestions as a way to achieve this text / grid layout?

Upvotes: 3

Views: 1806

Answers (3)

mikevoermans
mikevoermans

Reputation: 4007

I like this as a grid creator. You would still have to create the vertical height. Probably with some class.

Upvotes: 0

Marc
Marc

Reputation: 6771

If you can use HTML 5 Canvas this will maybe help you:

http://www.html5rocks.com/en/tutorials/casestudies/wordico/

Upvotes: 5

hkf
hkf

Reputation: 4520

<table>

Seems obvious but yeah.

Upvotes: 1

Related Questions