WordPress.org

Ready to get started?Download WordPress

Forums

Bridge diagram notation in css (3 posts)

  1. Jannes
    Member
    Posted 7 years ago #

    Hi

    I recently started using WP for publishing bridge-stories.

    With the style sheet I got from: http://bridge.thomasoandrews.com/xml/no-table-before.html I am able to create a perfect looking diagram.

    I would like to know where to put this code instead of inserting it everytime in the HTML-popup of TinyMCE.

    I am not really familiar with style sheets, but is it possible to "apply" them to a block of text? Or maybe I have to make a custom button in TinyMCE?

    I hope you have some suggestions to put me on the right track.

    Thanks

  2. jwurster
    Member
    Posted 7 years ago #

    You would want to call the javascript in your header or index script depending upon your them. Look at each one of these and see if there is already a js call in it.

  3. Jannes
    Member
    Posted 7 years ago #

    I don't get your suggestion. Here: http://en.wikipedia.org/wiki/Contract_bridge_diagram_convention that's how a bridge diagram looks like. With DIV's and css I can create such a diagram (no tables involved).

    Now what can I do? I can create a template, and each time I need a diagram, copy/paste the template and then edit it to my liking.

    I'd rather just enter bridgedata and then "apply the style" to it. But I don't know if that's the way things work. I have been looking into custom tags, but that may be way off.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic