Flexible Struture for formatting tabs