use a div rather than a main for firefox