Process backgrounds in HTML