support divs to export web-only and pdf-only

Brad, this follows up on more of Hugh's suggestion here
https://groups.google.com/d/msg/pressbooks/1xL7qk8pQtU/xo2AOY7nvqwJ

and it's also been a useful way for me to export black and white images for a pdf-only export, as my publisher requested