fixed text positioning and sizing problems by using relative values