CSS Hexagonal map offsetting

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

CSS Hexagonal map offsetting

Post by Maugrim_The_Reaper »

I always figured there should be a better of doing this, but usually the ones I try end up falling afoul of some browser specific issue, e.g. IE6's lack of negative margin for negative offsetting.

Anyway here's what I currently have. Besides resorting to PHP to implant x number of offset styles while recursively generating the HTML, was wondering if anyone could think of a better solution than using absolute positioning for every individual cell.

http://www.astrumfutura.org/hexmaps/m.html
Post Reply