refining html placement