HTML Flexible Game Bracket Encoding

I am trying to create a bracket using HTML. I found other solutions, however most of them require a lot of absolute / relative positioning or tables.

I'm looking for a way to make it flexible, so I can just change the HTML to change it from a bracket for 16 people to a bracket with 64 people.

[404 - link deleted]

Now, I don’t see much with my current example, but I’m just wondering if anyone has any suggestions for improving or completely changing the way I do it.

I would rather stay away from tables and definitely stay away from any positioning (this should be flexible).

If you have any ideas, that would be great. :)

Thanks,

Andrew

+6
html css
source share
1 answer

It looks good. What would I do to improve this, encapsulate the logic in a bit of Javascript, put a bracket in some text format, and ask Javascript to parse the text format to create the bracket as deep as you need it.

+2
source share

All Articles