[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

HTML for side-by-side board diagrams

Posted By: Taper_Mike
Date: Wednesday, 15 August 2012, at 4:16 a.m.

In Response To: HTML for side-by-side board diagrams (Michael Petch)

Michael: Seems we were pretty much typing it up at the same time ;-)

And pretty much the same thing!

For much of his work Nack prefers to use the board diagrams from GnuBg. This is because they are not cluttered with information typed at the side. When comparing positions side-by-side, this can be a big advantage. Another nice thing is that the GnuBg diagrams line up at the left margin (instead of being centered). Here is an example from one of Nack’s recent posts.

43Z-65R-65P-65R-44


 ' '2X ' '5X '2X ' ' '7O

1X ' '1X '5O '3O ' ' '4X


43Z-65R-65P-65R-44, White played A


 '2X2X2X '3X ' ' ' ' '7O

1X ' '1X '5O '3O ' ' '4X


The HTML that Nack uses for GnuBg diagrams includes a width specification (width:360) so that there is a bit of whitespace between columns. This is better than using cellspacing because it does not impact the left alignment. Below is an example where Nack omits the width specification. The result is a little bit crowded.


1O ' '1O2X4X '2X ' ' '4O

2X ' ' ' '5O '3O1O ' '5X

43Z-31P-51



1O ' '1O2X4X '2X ' ' '4O

2X ' ' ' '5O '3O ' '1O5X

32S-31P-51


Mike

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.