[sword-devel] transChange within a rdg element

DM Smith dmsmith at crosswire.org
Sat Feb 6 10:01:22 MST 2016


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 <refdoc at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20160206/4afbb962/attachment.html>


More information about the sword-devel mailing list