Page 1 of 1

CSS Hexagonal map offsetting

Posted: Fri Feb 16, 2007 11:21 am
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