tab-based coords and some cleaned css styles