Fixes to the media helper

Make the media helpers siblings act as inline blocks because block elements may have been used.