moved redundant absolute positioning to common styles
adjusted unittests to reflect changes