To export PDF, choose Save as PDF as the printer. Set margins to None and tick Background graphics if your browser asks.