Baseliner is a configurable JavaScript tool that overlays a dynamically created baseline grid on a web page.
Check out the project page for configuration options, and examples.