JSword has a different mechanism than SWORD to produce HTML. JSword has a bug 
that prevents it from reading a CSS file, but JSword supplies the mechanism to 
read the CSS.

For SWORD, the different renderers produce different output. Unless all the 
frontends have settled on the same renderer, don’t expect them to be able to 
use the same CSS file. Also, I’m not sure if it is the engine or the frontend 
that supplies the mechanism to read the CSS.

And CSS that might be appropriate for a desktop application might not be 
appropriate for a mobile application. It’s likely that color might be something 
that works across platforms.

In Him,
        DM

> On Mar 17, 2019, at 7:18 AM, Cyrille <lafricai...@gmail.com> wrote:
> 
> I found the solution!!!!
> We need to use "subsectionNUMBER" and after modify the css like that:
> .subSection1 { -webkit-column-count: 1 ; background-color:Yellow ; 
> color:violet ; text-align: center; }
> .subSection2 { -webkit-column-count: 1 ; background-color:Yellow ; 
> color:white ; text-align: center; }
> 
> But it is very important to place well the tags </div>, the problem with the 
> bible module, is that the tag are not in the good place for instance the tags 
> doesn't close a title but all a section (with the part of the text). Then the 
> css have difficulties to read well the file.
> 
> Il 17/03/2019 10:10, David Haslam ha scritto:
>> Suggest you approach Karl directly for further help. 
>> 
>> I’m not an expert on CSS. 
>> 
>> David
>> 
>> Sent from ProtonMail Mobile
>> 
>> 
>> On Sun, Mar 17, 2019 at 09:06, Cyrille <lafricai...@gmail.com 
>> <mailto:lafricai...@gmail.com>> wrote:
>>> 
>>> 
>>> 
>>> Il 17/03/2019 09:58, David Haslam ha scritto:
>>>> The usual way to implement different colours and other styles of text 
>>>> would be to provide an ancillary CSS file for use by the rendering engine. 
>>>> 
>>>> In the past, Karl has provided a few examples for how this can be done 
>>>> with Xiphos. 
>>> He I remember, but it doesn't work very well its operation seems random 
>>> especially with the levels of titles. It is possible that I did not manage 
>>> correctly to use it. A little help wouldn't be refused.
>>>> 
>>>> 
>>>> Red letters for words of Jesus are part of how the SWORD engine renders 
>>>> that particular OSIS construction. 
>>>> 
>>>> Best regards,
>>>> 
>>>> David
>>>> 
>>>> Sent from ProtonMail Mobile
>>>> 
>>>> 
>>>> On Sun, Mar 17, 2019 at 08:43, Cyrille <lafricai...@gmail.com 
>>>> <mailto:lafricai...@gmail.com>> wrote:
>>>>> 
>>>>> Hello,
>>>>> I'm working on a devotional catholic calendar. I would like to use
>>>>> colour for some words or for titles.  Is it possible? The only way I
>>>>> found is to use <q who="Jesus" marker=""> for the read ;)
>>>>> I would like also to know if it is possible to use different style of
>>>>> titles like title 1 or title 2...
>>>>> Thank you for help.
>>>>> 
>>>>> _______________________________________________
>>>>> sword-devel mailing list: sword-devel@crosswire.org 
>>>>> <mailto:sword-devel@crosswire.org>
>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>>>>> <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 
>>>> <mailto:sword-devel@crosswire.org>
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>>>> <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 
>> <mailto:sword-devel@crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> <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

_______________________________________________
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

Reply via email to