Hey, I learned something new! May be old news to others or all. CSS allows styling based on any attribute. (http://www.w3schools.com/css/css_attribute_selectors.asp <http://www.w3schools.com/css/css_attribute_selectors.asp>) So .transChange[type=“added"] {…} will style added stuff
In Him, DM > On Feb 6, 2016, at 11:39 AM, Peter von Kaehne <ref...@gmx.net> wrote: > > On Sat, 2016-02-06 at 11:11 -0500, DM Smith wrote: >> The osis2mod program has changed the <div>…</div> to the milestoned >> version. It shouldn’t do that for type=“colophon”. > > Ok, I have committed support for non-milestoned colophon divs to appear > as "class=colophon". Also committed changes to rdg, catchWord and > transChange. > > the transchange type is availble as a type attribute in the XHTML > <span> tag, but I have not done any styling with it. It is simply > silently there. > > I have also added a linefeed for milestoned colophone divs. > > regarding David's request for a different font size, something goes > wrong when I try this. The subsequent text is all suddenly small. So I > left that. I hope I have not broken anything. > > Peter > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page