Modifying Chess Publisher
I’ve had a couple questions regarding the handy PGN viewer Chess Publisher. A bit of code can be used to change the default formatting; here are the steps:
1. The move list should be prefaced by: <div style='height:270px;overflow:auto;'> and end with: </div>. This causes the moves not to wrap under the board.
2. If you want a move to start on its own line, preface it with <br>.
3. (optional) Do #3 only if you don’t want the scroll bar! You’ll need to change the height so it contains the whole move list. This also means you need to change the height in the “iframe” code Chess Publisher has you paste on your site. The iframe height should be 70 more than the div height specified in step 1.
That’s it!
It’s possible to use HTML tags in the move list as well (<b>1. e4</b> bold, etc.) However, using HTML formatting in the bracketed comments may interfere with the play button functionality. I don’t remember which tag triggered that problem.

