What method do you use to export it? [File > Export as PDF] is okay for a quick text-based page, but usually what I do is ⌘P, then select "Save as PDF" from the print option dropdown menu; this option typically gives you a better representation of the actual webpage on the exported PDF.