avoid double spacing when there are both audio and photo elements in local div.